Synergy Software Package User's Manual
riic_slave_instance_ctrl_t Struct Reference

#include <r_riic_slave.h>

Data Fields

i2c_cfg_t info
 Information describing I2C device.
 
uint32_t open
 Flag to determine if the device is open.
 
void * p_reg
 Base register for this channel.
 
IRQn_Type rxi_irq
 Receive IRQ number.
 
IRQn_Type txi_irq
 Transmit IRQ number.
 
IRQn_Type eri_irq
 Error IRQ number.
 
IRQn_Type tei_irq
 Transmit end IRQ number.
 
uint8_t * p_buff
 
uint32_t total
 
uint32_t remain
 
uint32_t loaded
 
uint32_t transaction_count
 
volatile bool notify_request
 
volatile bool read
 
volatile bool err
 
volatile bool slave_busy
 
volatile bool start_interrupt_enabled
 

Detailed Description

I2C control structure. DO NOT INITIALIZE.

Field Documentation

◆ err

volatile bool riic_slave_instance_ctrl_t::err

Tracks whether or not an error occurred during processing

◆ loaded

uint32_t riic_slave_instance_ctrl_t::loaded

Tracks the number of data bytes written to the register

◆ notify_request

volatile bool riic_slave_instance_ctrl_t::notify_request

Track whether the master request is notified to the application

◆ p_buff

uint8_t* riic_slave_instance_ctrl_t::p_buff

Holds the data associated with the transfer

◆ read

volatile bool riic_slave_instance_ctrl_t::read

Holds the direction of the data byte transfer

◆ remain

uint32_t riic_slave_instance_ctrl_t::remain

Tracks the remaining data bytes to transfer

◆ slave_busy

volatile bool riic_slave_instance_ctrl_t::slave_busy

Tracks if the slave is busy performing a transaction

◆ start_interrupt_enabled

volatile bool riic_slave_instance_ctrl_t::start_interrupt_enabled

<< Tracks whether a dummy read is issued on the first RX < Tracks whether the start interrupt is enabled

◆ total

uint32_t riic_slave_instance_ctrl_t::total

Holds the total number of data bytes to transfer

◆ transaction_count

uint32_t riic_slave_instance_ctrl_t::transaction_count

Tracks the actual number of transactions


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