14#ifndef _DRIVER_SENSORS_TYPES_H
15#define _DRIVER_SENSORS_TYPES_H
27typedef enum EWriteFlags
36 SENSOR_ERROR_NONE = 0,
37 SENSOR_ERROR_INVALID_PARAM,
38 SENSOR_ERROR_BAD_ADDRESS,
45#define SENSOR_MAX_REGISTER_COUNT 128
48#define __END_WRITE_DATA__ \
50 .writeTo = 0xFFFF, .value = 0 \
54#define __END_READ_DATA__ \
56 .readFrom = 0xFFFF, .numBytes = 0 \
60#define __END_WRITE_CMD__ \
62 .writeTo = 0xFFFF, .numBytes = 0 \
99 uint8_t deviceInstance;
void(* registeridlefunction_t)(void *userParam)
This is the register idle function type.
This structure defines the device specific info required by register I/O.
This structure defines the Read command List.
This structure defines the Write command List.