Bumped Mbed FW version to 01.20.0080

Embed: (wiki syntax)

« Back to documentation index

ADMW1001_DIGITAL_SENSOR_DATA_FORMAT Struct Reference

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 517 of file admw1001_config.h.


Field Documentation

uint8_t bitOffset

Data bit offset, relative to data alignment within the data frame.

Definition at line 530 of file admw1001_config.h.

Data Encoding of Sensor Result.

Definition at line 520 of file admw1001_config.h.

uint8_t frameLength

Data frame length (number of bytes to read from the sensor)

Definition at line 526 of file admw1001_config.h.

Set as true if data is left-justified in the data frame, false otherwise.

Definition at line 524 of file admw1001_config.h.

Set as true if data format is little-endian, false otherwise.

Definition at line 522 of file admw1001_config.h.

uint8_t numDataBits

Number of relevant data bits to extract from the data frame.

Definition at line 528 of file admw1001_config.h.

uint8_t reserved[2]

Reserved for future use and ensure word alignment.

Definition at line 532 of file admw1001_config.h.