IFX I2C context structure. More...
#include <ifx_i2c_config.h>
Public Attributes | |
uint8_t | slave_address |
I2C Slave address. More... | |
uint16_t | frequency |
Frequency of i2c master. More... | |
uint16_t | frame_size |
Data link layer frame size. More... | |
pal_gpio_t * | p_slave_vdd_pin |
Pointer to pal gpio context for vdd. More... | |
pal_gpio_t * | p_slave_reset_pin |
Pointer to pal gpio context for reset. More... | |
pal_i2c_t * | p_pal_i2c_ctx |
Pointer to pal i2c context. More... | |
ifx_i2c_datastore_config_t * | ifx_i2c_datastore_config |
Datastore configuration instance for prl. More... | |
upper_layer_callback_t | upper_layer_event_handler |
Upper layer event handler. More... | |
void * | p_upper_layer_ctx |
Upper layer context. More... | |
uint8_t * | p_upper_layer_rx_buffer |
Pointer to upper layer rx buffer. More... | |
uint16_t * | p_upper_layer_rx_buffer_len |
Pointer to length of upper layer rx buffer. More... | |
uint8_t | state |
uint8_t | status |
ifx i2c wrapper api status More... | |
uint8_t | reset_state |
reset states More... | |
optiga_lib_status_t | close_state |
Close states. More... | |
uint8_t | reset_type |
type of reset More... | |
uint8_t | do_pal_init |
init pal More... | |
uint8_t | protection_level |
uint8_t | protocol_version |
Supported presentation layer protocol version. More... | |
uint8_t | manage_context_operation |
Variable to indicate manage context operation. More... | |
ifx_i2c_tl_t | tl |
Transport layer context. More... | |
ifx_i2c_dl_t | dl |
Datalink layer context. More... | |
ifx_i2c_pl_t | pl |
Physical layer context. More... | |
ifx_i2c_prl_t | prl |
Presentation layer context. More... | |
uint8_t | tx_frame_buffer [IFX_I2C_FRAME_SIZE+1] |
IFX I2C tx frame of max length. More... | |
uint8_t | rx_frame_buffer [IFX_I2C_FRAME_SIZE+1] |
IFX I2C rx frame of max length. More... | |
void * | pal_os_event_ctx |
IFX I2C context structure.
optiga_lib_status_t ifx_i2c_context::close_state |
Close states.
ifx_i2c_dl_t ifx_i2c_context::dl |
Datalink layer context.
uint8_t ifx_i2c_context::do_pal_init |
init pal
uint16_t ifx_i2c_context::frame_size |
Data link layer frame size.
uint16_t ifx_i2c_context::frequency |
Frequency of i2c master.
ifx_i2c_datastore_config_t* ifx_i2c_context::ifx_i2c_datastore_config |
Datastore configuration instance for prl.
uint8_t ifx_i2c_context::manage_context_operation |
Variable to indicate manage context operation.
pal_i2c_t* ifx_i2c_context::p_pal_i2c_ctx |
Pointer to pal i2c context.
pal_gpio_t* ifx_i2c_context::p_slave_reset_pin |
Pointer to pal gpio context for reset.
pal_gpio_t* ifx_i2c_context::p_slave_vdd_pin |
Pointer to pal gpio context for vdd.
void* ifx_i2c_context::p_upper_layer_ctx |
Upper layer context.
uint8_t* ifx_i2c_context::p_upper_layer_rx_buffer |
Pointer to upper layer rx buffer.
uint16_t* ifx_i2c_context::p_upper_layer_rx_buffer_len |
Pointer to length of upper layer rx buffer.
void* ifx_i2c_context::pal_os_event_ctx |
ifx_i2c_pl_t ifx_i2c_context::pl |
Physical layer context.
ifx_i2c_prl_t ifx_i2c_context::prl |
Presentation layer context.
uint8_t ifx_i2c_context::protection_level |
uint8_t ifx_i2c_context::protocol_version |
Supported presentation layer protocol version.
uint8_t ifx_i2c_context::reset_state |
reset states
uint8_t ifx_i2c_context::reset_type |
type of reset
uint8_t ifx_i2c_context::rx_frame_buffer[IFX_I2C_FRAME_SIZE+1] |
IFX I2C rx frame of max length.
uint8_t ifx_i2c_context::slave_address |
I2C Slave address.
uint8_t ifx_i2c_context::state |
Protocol variables ifx i2c wrapper apis state
uint8_t ifx_i2c_context::status |
ifx i2c wrapper api status
ifx_i2c_tl_t ifx_i2c_context::tl |
Transport layer context.
uint8_t ifx_i2c_context::tx_frame_buffer[IFX_I2C_FRAME_SIZE+1] |
IFX I2C tx frame of max length.
upper_layer_callback_t ifx_i2c_context::upper_layer_event_handler |
Upper layer event handler.