|
STM32L4xx_HAL_Driver
1.14.0
|
I2C Configuration Structure definition. More...
Data Structures | |
| struct | I2C_InitTypeDef |
I2C Configuration Structure definition.
| struct I2C_InitTypeDef |
Definition at line 48 of file stm32l4xx_hal_i2c.h.
| Data Fields | ||
|---|---|---|
| uint32_t | AddressingMode |
Specifies if 7-bit or 10-bit addressing mode is selected. This parameter can be a value of I2C Addressing Mode |
| uint32_t | DualAddressMode |
Specifies if dual addressing mode is selected. This parameter can be a value of I2C Dual Addressing Mode |
| uint32_t | GeneralCallMode |
Specifies if general call mode is selected. This parameter can be a value of I2C General Call Addressing Mode |
| uint32_t | NoStretchMode |
Specifies if nostretch mode is selected. This parameter can be a value of I2C No-Stretch Mode |
| uint32_t | OwnAddress1 |
Specifies the first device own address. This parameter can be a 7-bit or 10-bit address. |
| uint32_t | OwnAddress2 |
Specifies the second device own address if dual addressing mode is selected This parameter can be a 7-bit address. |
| uint32_t | OwnAddress2Masks |
Specifies the acknowledge mask address second device own address if dual addressing mode is selected This parameter can be a value of I2C Own Address2 Masks |
| uint32_t | Timing |
Specifies the I2C_TIMINGR_register value. This parameter calculated by referring to I2C initialization section in Reference manual |