smartdof4 2.1.0.0
|
Smart DOF 4 Click context object. More...
#include <smartdof4.h>
Data Fields | |
digital_out_t | rst |
digital_out_t | wup |
digital_in_t | int_pin |
i2c_master_t | i2c |
spi_master_t | spi |
uint8_t | slave_address |
pin_name_t | chip_select |
smartdof4_drv_t | drv_sel |
uint8_t | cmd_seq_num |
uint8_t | ch_seq_num [6] |
smartdof4_shtp_t | shtp |
Smart DOF 4 Click context object.
Context object definition of Smart DOF 4 Click driver.
uint8_t ch_seq_num[6] |
Write channel sequence number.
pin_name_t chip_select |
Chip select pin descriptor (used for SPI driver).
uint8_t cmd_seq_num |
Command sequence number.
smartdof4_drv_t drv_sel |
Master driver interface selector.
i2c_master_t i2c |
I2C driver object.
digital_in_t int_pin |
Interrupt pin.
digital_out_t rst |
Reset pin (active low).
smartdof4_shtp_t shtp |
SHTP read packet object.
uint8_t slave_address |
Device slave address (used for I2C driver).
spi_master_t spi |
SPI driver object.
digital_out_t wup |
Protocol select pin 0 or wake up pin.