FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
i2c_cs_data_s Struct Reference

Data Fields

uint8_t device_id
 
uint8_t cs
 
uint16_t clk_div
 
uint32_t max_baudrate
 
struct i2c_cs_data_snext
 

Field Documentation

uint16_t i2c_cs_data_s::clk_div
uint8_t i2c_cs_data_s::cs

Chip select i2c device.

Referenced by __pi_i2c_copy_exec_read(), __pi_i2c_copy_exec_write(), and __pi_i2c_open().

uint32_t i2c_cs_data_s::max_baudrate

Max baudrate for the selected i2c chip.

Referenced by __pi_i2c_baudrate_set(), __pi_i2c_freq_cb(), and __pi_i2c_open().

struct i2c_cs_data_s* i2c_cs_data_s::next

Pointer to next i2c cs data struct.

Referenced by __pi_i2c_copy(), __pi_i2c_cs_data_add(), __pi_i2c_cs_data_remove(), __pi_i2c_freq_cb(), and __pi_i2c_open().