apc1sensor 2.1.0.0
|
APC1 Sensor Demo context object. More...
#include <apc1sensor.h>
Data Fields | |
digital_out_t | set |
digital_out_t | rst |
i2c_master_t | i2c |
uart_t | uart |
uint8_t | slave_address |
uint8_t | uart_rx_buffer [APC1SENSOR_RX_DRV_BUFFER_SIZE] |
uint8_t | uart_tx_buffer [APC1SENSOR_TX_DRV_BUFFER_SIZE] |
apc1sensor_drv_t | drv_sel |
uint8_t | meas_mode |
APC1 Sensor Demo context object.
Context object definition of APC1 Sensor Demo driver.
apc1sensor_drv_t drv_sel |
Master driver interface selector.
i2c_master_t i2c |
I2C driver object.
uint8_t meas_mode |
Measurement mode selection (UART only).
digital_out_t rst |
Reset pin.
digital_out_t set |
Operating mode set pin.
uint8_t slave_address |
Device slave address (used for I2C driver).
uart_t uart |
UART driver object.
uint8_t uart_rx_buffer[APC1SENSOR_RX_DRV_BUFFER_SIZE] |
Buffer size.
uint8_t uart_tx_buffer[APC1SENSOR_TX_DRV_BUFFER_SIZE] |
Buffer size.