OPTIGA™ Trust M
Host Library Documentation
ifx_i2c_tl Struct Reference

Transport layer structure. More...

#include <ifx_i2c_config.h>

Collaboration diagram for ifx_i2c_tl:

Data Fields

uint8_t state
 Transport layer state. More...
 
uint8_t * p_actual_packet
 Pointer to packet provided by user. More...
 
uint16_t total_recv_length
 Total received data. More...
 
uint16_t actual_packet_length
 Actual length of user provided packet. More...
 
uint16_t packet_offset
 Offset till which data is sent from p_actual_packet. More...
 
uint16_t max_packet_length
 Maximum length of packet at transport layer. More...
 
uint8_t * p_recv_packet_buffer
 Pointer to user provided receive buffer. More...
 
uint16_t * p_recv_packet_buffer_length
 Length of receive buffer. More...
 
uint32_t api_start_time
 Start time of the transport layer API. More...
 
uint8_t chaining_error_count
 Chaining error count from slave. More...
 
uint8_t master_chaining_error_count
 Chaining error count for master. More...
 
uint8_t previous_chaining
 State to check last chaining state. More...
 
uint8_t transmission_completed
 transmission done More...
 
optiga_lib_status_t error_event
 Error event state. More...
 
uint8_t payload_offset
 Tl rx payload copy offset. More...
 
uint8_t tx_payload_offset
 Tl tx payload copy offset. More...
 
uint8_t initialization_state
 Initial state check. More...
 
ifx_i2c_event_handler_t upper_layer_event_handler
 Upper layer event handler. More...
 

Detailed Description

Transport layer structure.

Definition at line 266 of file ifx_i2c_config.h.

Field Documentation

◆ actual_packet_length

uint16_t ifx_i2c_tl::actual_packet_length

Actual length of user provided packet.

Definition at line 277 of file ifx_i2c_config.h.

◆ api_start_time

uint32_t ifx_i2c_tl::api_start_time

Start time of the transport layer API.

Definition at line 287 of file ifx_i2c_config.h.

◆ chaining_error_count

uint8_t ifx_i2c_tl::chaining_error_count

Chaining error count from slave.

Definition at line 289 of file ifx_i2c_config.h.

◆ error_event

optiga_lib_status_t ifx_i2c_tl::error_event

Error event state.

Definition at line 297 of file ifx_i2c_config.h.

◆ initialization_state

uint8_t ifx_i2c_tl::initialization_state

Initial state check.

Definition at line 303 of file ifx_i2c_config.h.

◆ master_chaining_error_count

uint8_t ifx_i2c_tl::master_chaining_error_count

Chaining error count for master.

Definition at line 291 of file ifx_i2c_config.h.

◆ max_packet_length

uint16_t ifx_i2c_tl::max_packet_length

Maximum length of packet at transport layer.

Definition at line 281 of file ifx_i2c_config.h.

◆ p_actual_packet

uint8_t* ifx_i2c_tl::p_actual_packet

Pointer to packet provided by user.

Definition at line 273 of file ifx_i2c_config.h.

◆ p_recv_packet_buffer

uint8_t* ifx_i2c_tl::p_recv_packet_buffer

Pointer to user provided receive buffer.

Definition at line 283 of file ifx_i2c_config.h.

◆ p_recv_packet_buffer_length

uint16_t* ifx_i2c_tl::p_recv_packet_buffer_length

Length of receive buffer.

Definition at line 285 of file ifx_i2c_config.h.

◆ packet_offset

uint16_t ifx_i2c_tl::packet_offset

Offset till which data is sent from p_actual_packet.

Definition at line 279 of file ifx_i2c_config.h.

◆ payload_offset

uint8_t ifx_i2c_tl::payload_offset

Tl rx payload copy offset.

Definition at line 299 of file ifx_i2c_config.h.

◆ previous_chaining

uint8_t ifx_i2c_tl::previous_chaining

State to check last chaining state.

Definition at line 293 of file ifx_i2c_config.h.

◆ state

uint8_t ifx_i2c_tl::state

Transport layer state.

Definition at line 271 of file ifx_i2c_config.h.

◆ total_recv_length

uint16_t ifx_i2c_tl::total_recv_length

Total received data.

Definition at line 275 of file ifx_i2c_config.h.

◆ transmission_completed

uint8_t ifx_i2c_tl::transmission_completed

transmission done

Definition at line 295 of file ifx_i2c_config.h.

◆ tx_payload_offset

uint8_t ifx_i2c_tl::tx_payload_offset

Tl tx payload copy offset.

Definition at line 301 of file ifx_i2c_config.h.

◆ upper_layer_event_handler

ifx_i2c_event_handler_t ifx_i2c_tl::upper_layer_event_handler

Upper layer event handler.

Definition at line 306 of file ifx_i2c_config.h.