zephyr/include
Laurentiu Palcu d43e152845 sensor.h: Add helper functions for unit conversions
Since sensors' API uses SI units, all attributes and channel reading use
SI units. Hence, conversions from other units to SI are necessary.

This patch adds helper for converting:
 * m/s^2 to Gs (and vice versa);
 * degrees to radians (and vice versa);

Change-Id: I49f8763bed253ff6bde4c97618766b05f97da699
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
2016-04-02 23:08:48 +00:00
..
arch arm: linker: fix indentation 2016-04-01 13:12:58 +00:00
bluetooth Bluetooth: Shorten set_adv_parameters to set_adv_param 2016-04-02 20:59:09 +03:00
display drivers: Replace DEV_OK by 0 2016-03-16 19:30:04 -04:00
drivers clock_control/stm32f10x: introduce driver for STM32F10x RCC 2016-03-16 18:11:18 +00:00
microkernel microkernel: Add support for *_sleep() during initialization 2016-03-26 10:17:15 +00:00
misc console: shell: expect const commands array 2016-04-01 13:12:56 +00:00
net net: contiki: move neighbor_list to struct l2_buf 2016-03-16 14:20:56 +00:00
toolchain include: Remove UNALIGNED_READ & UNALIGNED_WRITE 2016-03-04 20:11:57 +00:00
adc.h drivers: Replace DEV_OK by 0 2016-03-16 19:30:04 -04:00
aio_comparator.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
atomic.h Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
cache.h cache: add implementation for cache-less systems 2016-02-05 20:25:24 -05:00
clock_control.h clock_control: extend API with clock rate query operation 2016-03-16 18:09:32 +00:00
counter.h counter: Fix returning code 2016-03-23 15:55:11 +00:00
device.h power_mgmt: Add device power management support 2016-03-26 14:35:11 -04:00
flash.h drivers: Fix documentation from remaining APIs 2016-03-16 19:30:04 -04:00
gpio.h power_mgmt: Add device power management support 2016-03-26 14:35:11 -04:00
i2c.h drivers: Fix documentation from remaining APIs 2016-03-16 19:30:04 -04:00
init.h power_mgmt: Add device power management support 2016-03-26 14:35:11 -04:00
ipm.h ipm: correct prototype for ipm_send 2016-03-09 06:31:02 +00:00
irq_offload.h doc: Fix misuse of @file doxygen tag 2016-02-11 20:11:03 +00:00
irq.h irq: formalize external zephyr interrupt API 2016-02-26 15:53:22 +00:00
kernel_version.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
linker-defs.h init: Add protection against incorrect levels or priorities 2016-02-05 20:24:54 -05:00
linker-tool-gcc.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
linker-tool.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
microkernel.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
nanokernel.h kernel: Combine nano_timers and nano_timeouts 2016-03-26 09:20:10 +00:00
pinmux.h pinmux: Change returning type from pinmux.h APIs 2016-03-16 19:46:05 +00:00
power.h power_mgmt: Make names consistent with new RFC 2016-03-26 14:35:11 -04:00
pwm.h drivers: Replace DEV_INVALID_OP by -ENOTSUP 2016-03-16 19:30:04 -04:00
rtc.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
section_tags.h ARM: ARC: put sw_isr_table in ROM by default 2016-02-05 20:25:21 -05:00
sections.h ARM: ARC: put sw_isr_table in ROM by default 2016-02-05 20:25:21 -05:00
sensor.h sensor.h: Add helper functions for unit conversions 2016-04-02 23:08:48 +00:00
shared_irq.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
spi.h drivers: Fix documentation from remaining APIs 2016-03-16 19:30:04 -04:00
sw_isr_table.h irq: fix declared _sw_isr_table size on ARC 2016-02-05 20:25:25 -05:00
sys_clock.h kernel: Combine nano_timers and nano_timeouts 2016-03-26 09:20:10 +00:00
sys_io.h sys_io: don't allow negative bit offsets 2016-03-04 16:26:21 +00:00
toolchain.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
uart.h drivers: Replace DEV_INVALID_OP by -ENOTSUP 2016-03-16 19:30:04 -04:00
watchdog.h c++: Add extern "C" { } block to header files 2016-02-05 20:25:22 -05:00
zephyr.h sysgen: generate sysgen.h instead of zephyr.h 2016-02-05 20:24:35 -05:00