Host API Example for the ADMW1001

Embed: (wiki syntax)

« Back to documentation index

ADMW1001_SPI_CHANNEL_CONFIG Struct Reference

ADMW1001_SPI_CHANNEL_CONFIG Struct Reference
[ADMW1001 Host Library API]

#include <admw1001_config.h>

Data Fields

ADMW1001_SPI_SENSOR_TYPE sensor
uint8_t reserved [2]
ADMW1001_DIGITAL_SENSOR_COMMAND configurationCommand
ADMW1001_DIGITAL_SENSOR_COMMAND dataRequestCommand
ADMW1001_DIGITAL_SENSOR_DATA_FORMAT dataFormat
ADMW1001_DIGITAL_CALIBRATION_COMMAND digitalCalibrationParam
ADMW1001_DIGITAL_SENSOR_COMMS configureComms

Detailed Description

ADMW1001 SPI digital channel configuration details

Note:
applicable only to SPI digital sensor channels

Definition at line 718 of file admw1001_config.h.


Field Documentation

Optional configuration command to send to the device at start-up. A default configuration command will be used if this is not specified. Applicable only to specific SPI sensor types.

Definition at line 725 of file admw1001_config.h.

Optional configuration to setup a user communication config. A default configuration will be used if this is not specified. Applicable only to specific SPI sensor types.

Definition at line 747 of file admw1001_config.h.

Optional data format configuration to parse/extract data from the device. A default data format will be used if this is not specified. Applicable only to specific SPI sensor types

Definition at line 735 of file admw1001_config.h.

Optional data request command to send to the device for each sample. A default data request command will be used if this is not specified. Applicable only to specific SPI sensor types.

Definition at line 730 of file admw1001_config.h.

This is used to supply an independently established environmental variable that must be used during calibration of a [digital] sensor which a) supports calibration and b) expects an environmental parameter. An example is a CO2 sensor, which may require the CO2 concentration level when performing a calibration

Definition at line 740 of file admw1001_config.h.

uint8_t reserved[2]

Reserved for future use and ensure word alignment.

Definition at line 723 of file admw1001_config.h.

Sensor type selection

Definition at line 721 of file admw1001_config.h.