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 503 of file admw1001_config.h.
Field Documentation
| uint8_t bitOffset |
Data bit offset, relative to data alignment within the data frame.
Definition at line 516 of file admw1001_config.h.
Data Encoding of Sensor Result.
Definition at line 506 of file admw1001_config.h.
| uint8_t frameLength |
Data frame length (number of bytes to read from the sensor)
Definition at line 512 of file admw1001_config.h.
| bool leftJustified |
Set as true if data is left-justified in the data frame, false otherwise.
Definition at line 510 of file admw1001_config.h.
| bool littleEndian |
Set as true if data format is little-endian, false otherwise.
Definition at line 508 of file admw1001_config.h.
| uint8_t numDataBits |
Number of relevant data bits to extract from the data frame.
Definition at line 514 of file admw1001_config.h.
| uint8_t reserved[2] |
Reserved for future use and ensure word alignment.
Definition at line 518 of file admw1001_config.h.
Generated on Tue Jul 12 2022 15:36:16 by
1.7.2