Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 596 of file admw1001_config.h.
Field Documentation
| uint8_t bitOffset | 
Data bit offset, relative to data alignment within the data frame.
Definition at line 609 of file admw1001_config.h.
Data Encoding of Sensor Result.
Definition at line 599 of file admw1001_config.h.
| uint8_t frameLength | 
Data frame length (number of bytes to read from the sensor)
Definition at line 605 of file admw1001_config.h.
| bool leftJustified | 
Set as true if data is left-justified in the data frame, false otherwise.
Definition at line 603 of file admw1001_config.h.
| bool littleEndian | 
Set as true if data format is little-endian, false otherwise.
Definition at line 601 of file admw1001_config.h.
| uint8_t numDataBits | 
Number of relevant data bits to extract from the data frame.
Definition at line 607 of file admw1001_config.h.
| uint8_t reserved[2] | 
Reserved for future use and ensure word alignment.
Definition at line 611 of file admw1001_config.h.
Generated on Thu Jul 14 2022 16:18:24 by
 1.7.2
 1.7.2