hsw-nbt 1.2.0
OPTIGA Authenticate NBT Host Library for C
Macros
ifx-i2c.h File Reference

Generic API for I2C drivers. More...

#include <stdint.h>
#include "infineon/ifx-protocol.h"

Go to the source code of this file.

Macros

#define LIB_I2C   UINT8_C(0x23)
 IFX error code library identifier.
 
#define IFX_I2C_LOG_TAG   "IFX_I2C"
 String used as source information for logging.
 
#define IFX_I2C_GET_CLOCK_FREQUENCY   0x01
 IFX error encoding function identifier for ifx_i2c_get_clock_frequency().
 
#define IFX_I2C_SET_CLOCK_FREQUENCY   0x02
 IFX error encoding function identifier for ifx_ifx_i2c_set_clock_frequency().
 
#define IFX_I2C_GET_SLAVE_ADDR   0x03
 IFX error encoding function identifier for ifx_i2c_get_slave_address().
 
#define IFX_I2C_SET_SLAVE_ADDR   0x04
 IFX error encoding function identifier for ifx_i2c_set_slave_address().
 
#define IFX_I2C_GET_GUARD_TIME   0x05
 IFX error encoding function identifier for ifx_i2c_get_guard_time().
 
#define IFX_I2C_SET_GUARD_TIME   0x06
 IFX error encoding function identifier for ifx_ifx_i2c_set_guard_time().
 

Detailed Description

Generic API for I2C drivers.

Definition in file ifx-i2c.h.

Macro Definition Documentation

◆ IFX_I2C_GET_CLOCK_FREQUENCY

#define IFX_I2C_GET_CLOCK_FREQUENCY   0x01

IFX error encoding function identifier for ifx_i2c_get_clock_frequency().

Definition at line 33 of file ifx-i2c.h.

◆ IFX_I2C_GET_GUARD_TIME

#define IFX_I2C_GET_GUARD_TIME   0x05

IFX error encoding function identifier for ifx_i2c_get_guard_time().

Definition at line 56 of file ifx-i2c.h.

◆ IFX_I2C_GET_SLAVE_ADDR

#define IFX_I2C_GET_SLAVE_ADDR   0x03

IFX error encoding function identifier for ifx_i2c_get_slave_address().

Definition at line 45 of file ifx-i2c.h.

◆ IFX_I2C_LOG_TAG

#define IFX_I2C_LOG_TAG   "IFX_I2C"

String used as source information for logging.

Definition at line 27 of file ifx-i2c.h.

◆ IFX_I2C_SET_CLOCK_FREQUENCY

#define IFX_I2C_SET_CLOCK_FREQUENCY   0x02

IFX error encoding function identifier for ifx_ifx_i2c_set_clock_frequency().

Definition at line 39 of file ifx-i2c.h.

◆ IFX_I2C_SET_GUARD_TIME

#define IFX_I2C_SET_GUARD_TIME   0x06

IFX error encoding function identifier for ifx_ifx_i2c_set_guard_time().

Definition at line 62 of file ifx-i2c.h.

◆ IFX_I2C_SET_SLAVE_ADDR

#define IFX_I2C_SET_SLAVE_ADDR   0x04

IFX error encoding function identifier for ifx_i2c_set_slave_address().

Definition at line 51 of file ifx-i2c.h.

◆ LIB_I2C

#define LIB_I2C   UINT8_C(0x23)

IFX error code library identifier.

Definition at line 22 of file ifx-i2c.h.