XCORE SDK
XCORE Software Development Kit
Public Attributes | List of all members
rtos_i2c_slave_struct Struct Reference

#include <rtos_i2c_slave.h>

Public Attributes

port_t p_scl
 
port_t p_sda
 
uint8_t device_addr
 
void * app_data
 
uint8_t data_buf [RTOS_I2C_SLAVE_BUF_LEN]
 
size_t rx_data_i
 
uint8_t * tx_data
 
size_t tx_data_len
 
size_t tx_data_i
 
size_t tx_data_sent
 
int waiting_for_complete_cb
 
RTOS_I2C_SLAVE_CALLBACK_ATTR rtos_i2c_slave_start_cb_t start
 
RTOS_I2C_SLAVE_CALLBACK_ATTR rtos_i2c_slave_rx_cb_t rx
 
RTOS_I2C_SLAVE_CALLBACK_ATTR rtos_i2c_slave_tx_start_cb_t tx_start
 
RTOS_I2C_SLAVE_CALLBACK_ATTR rtos_i2c_slave_tx_done_cb_t tx_done
 
streaming_channel_t c
 
rtos_osal_event_group_t events
 
rtos_osal_thread_t hil_thread
 
rtos_osal_thread_t app_thread
 

Detailed Description

Struct representing an RTOS I2C slave driver instance.

The members in this struct should not be accessed directly.


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