OPTIGA™ Trust M
Host Library Documentation
ifx_i2c_physical_layer.h
Go to the documentation of this file.
1 
38 #ifndef _IFX_I2C_PHYSICAL_LAYER_H_
39 #define _IFX_I2C_PHYSICAL_LAYER_H_
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
45 #include "ifx_i2c_config.h"
46 
67  ifx_i2c_event_handler_t handler);
68 
91  uint8_t * p_frame,
92  uint16_t frame_len);
93 
114 
115 
137  uint8_t slave_address,
138  uint8_t storage_type);
143 #ifdef __cplusplus
144 }
145 #endif
146 #endif /* _IFX_I2C_PHYSICAL_LAYER_H_ */
ifx_i2c_pl_receive_frame
optiga_lib_status_t ifx_i2c_pl_receive_frame(ifx_i2c_context_t *p_ctx)
Function for receiving a frame.
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_pl_send_frame
optiga_lib_status_t ifx_i2c_pl_send_frame(ifx_i2c_context_t *p_ctx, uint8_t *p_frame, uint16_t frame_len)
Function for sending a frame.
ifx_i2c_pl_init
optiga_lib_status_t ifx_i2c_pl_init(ifx_i2c_context_t *p_ctx, ifx_i2c_event_handler_t handler)
Function for initializing the module.
ifx_i2c_pl_write_slave_address
optiga_lib_status_t ifx_i2c_pl_write_slave_address(ifx_i2c_context_t *p_ctx, uint8_t slave_address, uint8_t storage_type)
Function for setting slave address.
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