|
OPTIGA™ Trust M
Host Library Documentation
|
Go to the documentation of this file.
200 const uint8_t * p_tx_data,
201 uint16_t tx_data_length,
202 uint8_t * p_rx_buffer,
203 uint16_t* p_rx_buffer_len);
264 uint8_t slave_address,
optiga_lib_status_t ifx_i2c_open(ifx_i2c_context_t *p_ctx)
Initializes the IFX I2C protocol stack for a given context.
ifx_i2c_reset_type
IFX I2C Reset types.
This file defines the structures and macros for the Infineon I2C Protocol.
optiga_lib_status_t ifx_i2c_transceive(ifx_i2c_context_t *p_ctx, const uint8_t *p_tx_data, uint16_t tx_data_length, uint8_t *p_rx_buffer, uint16_t *p_rx_buffer_len)
Sends a command and receives a response for the command.
@ IFX_I2C_COLD_RESET
Cold reset. Both reset pin and VDD pin are toggled low and then high.
enum ifx_i2c_reset_type ifx_i2c_reset_type_t
IFX I2C Reset types.
This file contains the type definitions for the fundamental data types.
@ IFX_I2C_SOFT_RESET
Soft reset. 0x0000 is written to IFX-I2C Soft reset register.
optiga_lib_status_t ifx_i2c_set_slave_address(ifx_i2c_context_t *p_ctx, uint8_t slave_address, uint8_t persistent)
Sets the slave address of the target device.
@ IFX_I2C_WARM_RESET
Warm reset. Only reset pin is toggled low and then high.
optiga_lib_status_t ifx_i2c_reset(ifx_i2c_context_t *p_ctx, ifx_i2c_reset_type_t reset_type)
Resets the I2C slave.
IFX I2C context structure.
optiga_lib_status_t ifx_i2c_close(ifx_i2c_context_t *p_ctx)
Closes the IFX I2C protocol stack for a given context.
uint16_t optiga_lib_status_t
typedef for OPTIGA host library status