SENSOR module definition. More...
Go to the source code of this file.
Data Structures | |
| struct | artik_sensor_config |
| SENSOR configuration structure. More... | |
| struct | artik_sensor_accelerometer |
| SENSOR ACCELEROMETER devices data structure. More... | |
| struct | artik_sensor_gyro |
| SENSOR GYROMETER devices data structure. More... | |
| struct | artik_sensor_humidity |
| SENSOR HUMIDITY devices data structure. More... | |
| struct | artik_sensor_light |
| SENSOR LIGHT devices data structure. More... | |
| struct | artik_sensor_temperature |
| SENSOR TEMPERATURE devices data structure. More... | |
| struct | artik_sensor_proximity |
| SENSOR PROXIMITY devices data structure. More... | |
| struct | artik_sensor_flame |
| SENSOR FLAME devices data structure. More... | |
| struct | artik_sensor_pressure |
| SENSOR PRESSURE devices data structure. More... | |
| struct | artik_sensor_hall |
| SENSOR HALL devices data structure. More... | |
| struct | artik_sensor_module |
| SENSOR module operations. More... | |
Macros | |
| #define | MAX_NAME_LEN 64 |
| Maximum length for SENSOR names. More... | |
Typedefs | |
| typedef void * | artik_sensor_ops |
| SENSOR device type. More... | |
| typedef void * | artik_sensor_handle |
| SENSOR handle type. More... | |
Enumerations | |
| enum | artik_sensor_device_t { ARTIK_SENSOR_ACCELEROMETER = 0x1L, ARTIK_SENSOR_HUMIDITY = 0x4L, ARTIK_SENSOR_LIGHT = 0x8L, ARTIK_SENSOR_TEMPERATURE = 0x10L, ARTIK_SENSOR_PROXIMITY = 0x20L, ARTIK_SENSOR_FLAME = 0x40L, ARTIK_SENSOR_HALL = 0x80L, ARTIK_SENSOR_BAROMETER = 0x100L, ARTIK_SENSOR_GYRO = 0x101L, ARTIK_SENSOR_NONE = 0 } |
| SENSOR device type. More... | |
Variables | |
| artik_sensor_module | sensor_module |
Detailed Description
Definitions and functions for accessing to the SENSOR module and performing operations on hardware IOs
Definition in file artik_sensor.h.
Macro Definition Documentation
| #define MAX_NAME_LEN 64 |
Maximum length allowed for user-friendly names assigned when requesting a SENSOR.
Definition at line 46 of file artik_sensor.h.
Typedef Documentation
| typedef void* artik_sensor_handle |
Handle type used to carry instance specific information for a SENSOR object.
Definition at line 62 of file artik_sensor.h.
| typedef void* artik_sensor_ops |
Device sensor used to operate on specific type of sensor store in the SENSOR module.
Definition at line 54 of file artik_sensor.h.
Enumeration Type Documentation
Type for specifying the type of device sensor use by the SENSOR module.
Definition at line 70 of file artik_sensor.h.