smartdof4  2.1.0.0
Data Fields
smartdof4_s Struct Reference

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
 

Detailed Description

Smart DOF 4 Click context object.

Context object definition of Smart DOF 4 Click driver.

Field Documentation

◆ ch_seq_num

uint8_t ch_seq_num[6]

Write channel sequence number.

◆ chip_select

pin_name_t chip_select

Chip select pin descriptor (used for SPI driver).

◆ cmd_seq_num

uint8_t cmd_seq_num

Command sequence number.

◆ drv_sel

smartdof4_drv_t drv_sel

Master driver interface selector.

◆ i2c

i2c_master_t i2c

I2C driver object.

◆ int_pin

digital_in_t int_pin

Interrupt pin.

◆ rst

digital_out_t rst

Reset pin (active low).

◆ shtp

SHTP read packet object.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ spi

spi_master_t spi

SPI driver object.

◆ wup

digital_out_t wup

Protocol select pin 0 or wake up pin.


The documentation for this struct was generated from the following file: