![]() |
ISSDK
1.7
IoT Sensing Software Development Kit
|
The sensor_drv.h file contains sensor state and error definitions. More...
#include <stddef.h>#include <stdint.h>#include <stdbool.h>

Go to the source code of this file.
Data Structures | |
| struct | registerwritelist_t |
| This structure defines the Write command List. More... | |
| struct | registerreadlist_t |
| This structure defines the Read command List. More... | |
| struct | registercommandlist_t |
| This structure defines the Block command List. More... | |
| struct | registerDeviceInfo_t |
| This structure defines the device specific info required by register I/O. More... | |
Macros | |
| #define | SENSOR_MAX_REGISTER_COUNT 128 /* As per 7-Bit address. */ |
| #define | __END_WRITE_DATA__ |
| #define | __END_READ_DATA__ |
| #define | __END_WRITE_CMD__ |
Typedefs | |
| typedef enum EWriteFlags | EWriteFlags_t |
| typedef void(* | registeridlefunction_t) (void *userParam) |
| This is the register idle function type. More... | |
Enumerations | |
| enum | EWriteFlags { WRITE_OVERWRITE = 0, WRITE_MASK = 1 } |
| enum | ESensorErrors { SENSOR_ERROR_NONE = 0, SENSOR_ERROR_INVALID_PARAM, SENSOR_ERROR_BAD_ADDRESS, SENSOR_ERROR_INIT, SENSOR_ERROR_WRITE, SENSOR_ERROR_READ } |
The sensor_drv.h file contains sensor state and error definitions.
Definition in file sensor_drv.h.
| #define __END_READ_DATA__ |
Definition at line 77 of file sensor_drv.h.
| #define __END_WRITE_CMD__ |
Definition at line 83 of file sensor_drv.h.
Referenced by FXLC95000_I2C_FlashPayload().
| #define __END_WRITE_DATA__ |
Definition at line 71 of file sensor_drv.h.
| #define SENSOR_MAX_REGISTER_COUNT 128 /* As per 7-Bit address. */ |
Definition at line 68 of file sensor_drv.h.
Referenced by Register_I2C_BlockWrite().
| typedef enum EWriteFlags EWriteFlags_t |
| typedef void(* registeridlefunction_t) (void *userParam) |
This is the register idle function type.
Definition at line 123 of file sensor_drv.h.
| enum ESensorErrors |
| Enumerator | |
|---|---|
| SENSOR_ERROR_NONE | |
| SENSOR_ERROR_INVALID_PARAM | |
| SENSOR_ERROR_BAD_ADDRESS | |
| SENSOR_ERROR_INIT | |
| SENSOR_ERROR_WRITE | |
| SENSOR_ERROR_READ | |
Definition at line 57 of file sensor_drv.h.
| enum EWriteFlags |
| Enumerator | |
|---|---|
| WRITE_OVERWRITE | |
| WRITE_MASK | |
Definition at line 50 of file sensor_drv.h.