Jake Greaves / Mbed OS AdiSense1000_V21
Embed: (wiki syntax)

« Back to documentation index

ADI_SENSE_1000_DIGITAL_SENSOR_DATA_FORMAT Struct Reference

ADI_SENSE_1000_DIGITAL_SENSOR_DATA_FORMAT Struct Reference
[ADSNS1000 Host Library API]

#include <adi_sense_1000_config.h>

Data Fields

ADI_SENSE_1000_DIGITAL_SENSOR_DATA_CODING coding
 Data Encoding of Sensor Result.
bool_t littleEndian
 Set as true if data format is little-endian, false otherwise.
bool_t 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.

Detailed Description

ADSNS1000 digital sensor data format configuration

Note:
applicable only to SPI and I2C digital sensor channels

Definition at line 625 of file adi_sense_1000_config.h.


Field Documentation

uint8_t bitOffset

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

Definition at line 637 of file adi_sense_1000_config.h.

Data Encoding of Sensor Result.

Definition at line 627 of file adi_sense_1000_config.h.

uint8_t frameLength

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

Definition at line 633 of file adi_sense_1000_config.h.

bool_t leftJustified

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

Definition at line 631 of file adi_sense_1000_config.h.

bool_t littleEndian

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

Definition at line 629 of file adi_sense_1000_config.h.

uint8_t numDataBits

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

Definition at line 635 of file adi_sense_1000_config.h.