Host API Example for the ADMW1001
ADMW1001_DIGITAL_SENSOR_DATA_FORMAT Struct Reference
[ADMW1001 Host Library API]
#include <admw1001_config.h>
Data Fields | |
ADMW1001_DIGITAL_SENSOR_DATA_CODING | coding |
Data Encoding of Sensor Result. | |
bool | littleEndian |
Set as true if data format is little-endian, false otherwise. | |
bool | leftJustified |
Set as true if data is left-justified in the data frame, false otherwise. | |
uint8_t | frameLength |
Data frame length (number of bytes to read from the sensor) | |
uint8_t | numDataBits |
Number of relevant data bits to extract from the data frame. | |
uint8_t | bitOffset |
Data bit offset, relative to data alignment within the data frame. | |
uint8_t | reserved [2] |
Detailed Description
ADMW1001 digital sensor data format configuration
- Note:
- applicable only to SPI and I2C digital sensor channels
Definition at line 605 of file admw1001_config.h.
Field Documentation
uint8_t bitOffset |
Data bit offset, relative to data alignment within the data frame.
Definition at line 618 of file admw1001_config.h.
Data Encoding of Sensor Result.
Definition at line 608 of file admw1001_config.h.
uint8_t frameLength |
Data frame length (number of bytes to read from the sensor)
Definition at line 614 of file admw1001_config.h.
bool leftJustified |
Set as true if data is left-justified in the data frame, false otherwise.
Definition at line 612 of file admw1001_config.h.
bool littleEndian |
Set as true if data format is little-endian, false otherwise.
Definition at line 610 of file admw1001_config.h.
uint8_t numDataBits |
Number of relevant data bits to extract from the data frame.
Definition at line 616 of file admw1001_config.h.
uint8_t reserved[2] |
Reserved for future use and ensure word alignment.
Definition at line 620 of file admw1001_config.h.
Generated on Wed Jul 13 2022 03:04:55 by 1.7.2