I2C Exported Constants

Modules

 I2C Error Code definition
 
 I2C Transfer Speed
 
 I2C Addressing Mode
 
 I2C General Call Addressing Mode
 
 I2C Memory Address Size
 
 I2C Sequential Transfer Options
 

Macros

#define I2C_DEFAULT_CONFIG
 I2C InitStruct default configuartion. More...
 

Detailed Description

Macro Definition Documentation

◆ I2C_DEFAULT_CONFIG

#define I2C_DEFAULT_CONFIG
Value:
{ \
.speed = I2C_SPEED_400K, \
.own_address = 0x55U, \
.addressing_mode = I2C_ADDRESSINGMODE_7BIT, \
.general_call_mode = I2C_GENERALCALL_DISABLE, \
}

I2C InitStruct default configuartion.

I2C_SPEED_400K
#define I2C_SPEED_400K
Definition: gr55xx_hal_i2c.h:285
I2C_ADDRESSINGMODE_7BIT
#define I2C_ADDRESSINGMODE_7BIT
Definition: gr55xx_hal_i2c.h:293
I2C_GENERALCALL_DISABLE
#define I2C_GENERALCALL_DISABLE
Definition: gr55xx_hal_i2c.h:300