OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
ifx_i2c_data_link_layer.h
Go to the documentation of this file.
1 
38 #ifndef _IFX_I2C_DATA_LINK_LAYER_H_
39 #define _IFX_I2C_DATA_LINK_LAYER_H_
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
45 #include "ifx_i2c_config.h"
46 
48 #define IFX_I2C_DL_EVENT_ERROR (0x01)
49 
50 #define IFX_I2C_DL_EVENT_TX_SUCCESS (0x02)
51 
52 #define IFX_I2C_DL_EVENT_RX_SUCCESS (0x04)
53 
73  ifx_i2c_event_handler_t handler);
74 
96  uint16_t frame_len);
97 
118 
119 #ifdef __cplusplus
120 }
121 #endif
122 
123 #endif /* _IFX_I2C_DATA_LINK_LAYER_H_ */
124 
125 
This file defines the structures and macros for the Infineon I2C Protocol.
IFX I2C context structure.
Definition: ifx_i2c_config.h:416
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:195
uint16_t optiga_lib_status_t
typedef for OPTIGA host library status
Definition: optiga_lib_types.h:97