co23 2.1.0.0
co23_s Struct Reference

CO2 3 Click context object. More...

#include <co23.h>

Data Fields

digital_out_t pws
 
digital_in_t pwo
 
digital_in_t int_pin
 
i2c_master_t i2c
 
uart_t uart
 
uint8_t slave_address
 
char uart_rx_buffer [CO23_RX_DRV_BUFFER_SIZE]
 
char uart_tx_buffer [CO23_TX_DRV_BUFFER_SIZE]
 
co23_drv_t drv_sel
 
co23_master_io_t write_f
 
co23_master_io_t read_f
 

Detailed Description

CO2 3 Click context object.

Context object definition of CO2 3 Click driver.

Field Documentation

◆ drv_sel

co23_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.

◆ pwo

digital_in_t pwo

PWM output pin.

◆ pws

digital_out_t pws

PWM disable pin.

◆ read_f

Master read function.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).

◆ uart

uart_t uart

UART driver object.

◆ uart_rx_buffer

char uart_rx_buffer[CO23_RX_DRV_BUFFER_SIZE]

Buffer size.

◆ uart_tx_buffer

char uart_tx_buffer[CO23_TX_DRV_BUFFER_SIZE]

Buffer size.

◆ write_f

Master write function.


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