OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
ifx_i2c_context Struct Reference

IFX I2C context structure. More...

#include <ifx_i2c_config.h>

Collaboration diagram for ifx_i2c_context:

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_tp_slave_vdd_pin
 Pointer to pal gpio context for vdd. More...
 
pal_gpio_tp_slave_reset_pin
 Pointer to pal gpio context for reset. More...
 
pal_i2c_tp_pal_i2c_ctx
 Pointer to pal i2c context. More...
 
ifx_i2c_datastore_config_tifx_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
 

Detailed Description

IFX I2C context structure.

Member Data Documentation

◆ close_state

optiga_lib_status_t ifx_i2c_context::close_state

Close states.

◆ dl

ifx_i2c_dl_t ifx_i2c_context::dl

Datalink layer context.

◆ do_pal_init

uint8_t ifx_i2c_context::do_pal_init

init pal

◆ frame_size

uint16_t ifx_i2c_context::frame_size

Data link layer frame size.

◆ frequency

uint16_t ifx_i2c_context::frequency

Frequency of i2c master.

◆ ifx_i2c_datastore_config

ifx_i2c_datastore_config_t* ifx_i2c_context::ifx_i2c_datastore_config

Datastore configuration instance for prl.

◆ manage_context_operation

uint8_t ifx_i2c_context::manage_context_operation

Variable to indicate manage context operation.

◆ p_pal_i2c_ctx

pal_i2c_t* ifx_i2c_context::p_pal_i2c_ctx

Pointer to pal i2c context.

◆ p_slave_reset_pin

pal_gpio_t* ifx_i2c_context::p_slave_reset_pin

Pointer to pal gpio context for reset.

◆ p_slave_vdd_pin

pal_gpio_t* ifx_i2c_context::p_slave_vdd_pin

Pointer to pal gpio context for vdd.

◆ p_upper_layer_ctx

void* ifx_i2c_context::p_upper_layer_ctx

Upper layer context.

◆ p_upper_layer_rx_buffer

uint8_t* ifx_i2c_context::p_upper_layer_rx_buffer

Pointer to upper layer rx buffer.

◆ p_upper_layer_rx_buffer_len

uint16_t* ifx_i2c_context::p_upper_layer_rx_buffer_len

Pointer to length of upper layer rx buffer.

◆ pal_os_event_ctx

void* ifx_i2c_context::pal_os_event_ctx

◆ pl

ifx_i2c_pl_t ifx_i2c_context::pl

Physical layer context.

◆ prl

ifx_i2c_prl_t ifx_i2c_context::prl

Presentation layer context.

◆ protection_level

uint8_t ifx_i2c_context::protection_level

◆ protocol_version

uint8_t ifx_i2c_context::protocol_version

Supported presentation layer protocol version.

◆ reset_state

uint8_t ifx_i2c_context::reset_state

reset states

◆ reset_type

uint8_t ifx_i2c_context::reset_type

type of reset

◆ rx_frame_buffer

uint8_t ifx_i2c_context::rx_frame_buffer[IFX_I2C_FRAME_SIZE+1]

IFX I2C rx frame of max length.

◆ slave_address

uint8_t ifx_i2c_context::slave_address

I2C Slave address.

◆ state

uint8_t ifx_i2c_context::state

Protocol variables ifx i2c wrapper apis state

◆ status

uint8_t ifx_i2c_context::status

ifx i2c wrapper api status

◆ tl

ifx_i2c_tl_t ifx_i2c_context::tl

Transport layer context.

◆ tx_frame_buffer

uint8_t ifx_i2c_context::tx_frame_buffer[IFX_I2C_FRAME_SIZE+1]

IFX I2C tx frame of max length.

◆ upper_layer_event_handler

upper_layer_callback_t ifx_i2c_context::upper_layer_event_handler

Upper layer event handler.


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