OPTIGA™ Trust M
Host Library Documentation
ifx_i2c_presentation_layer.h
Go to the documentation of this file.
1 
39 #ifndef _IFX_I2C_PRESENTATION_LAYER_H_
40 #define _IFX_I2C_PRESENTATION_LAYER_H_
41 
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 
46 #include "ifx_i2c_config.h"
47 
69  ifx_i2c_event_handler_t handler);
70 
97  uint8_t * p_tx_data,
98  uint16_t tx_data_len,
99  uint8_t * p_rx_data,
100  uint16_t * p_rx_data_len);
101 
102 
103 
123  ifx_i2c_event_handler_t handler);
124 
125 #ifdef __cplusplus
126 }
127 #endif
128 #endif /* _IFX_I2C_TRANSPORT_LAYER_H_ */
129 
ifx_i2c_prl_transceive
optiga_lib_status_t ifx_i2c_prl_transceive(ifx_i2c_context_t *p_ctx, uint8_t *p_tx_data, uint16_t tx_data_len, uint8_t *p_rx_data, uint16_t *p_rx_data_len)
Function to transmit and receive a packet.
ifx_i2c_prl_close
optiga_lib_status_t ifx_i2c_prl_close(ifx_i2c_context_t *p_ctx, ifx_i2c_event_handler_t handler)
Function for closing the module.
ifx_i2c_event_handler_t
void(* ifx_i2c_event_handler_t)(struct ifx_i2c_context *p_ctx, optiga_lib_status_t event, const uint8_t *data, uint16_t data_len)
Event handler function prototype.
Definition: ifx_i2c_config.h:186
ifx_i2c_config.h
This file defines the structures and macros for the Infineon I2C Protocol.
ifx_i2c_prl_init
optiga_lib_status_t ifx_i2c_prl_init(ifx_i2c_context_t *p_ctx, ifx_i2c_event_handler_t handler)
Function for initializing the module.
ifx_i2c_context
IFX I2C context structure.
Definition: ifx_i2c_config.h:408
optiga_lib_status_t
uint16_t optiga_lib_status_t
typedef for OPTIGA host library status
Definition: optiga_lib_types.h:90