STM32F0 Standard Peripheral bibliotheek
1.0
ST Microelectronics standard peripheral bibliotheek documentatie voor de STM32F0 familie
|
I2C Init structure definition. More...
#include <stm32f0xx_i2c.h>
Data Fields | |
uint32_t | I2C_Timing |
uint32_t | I2C_AnalogFilter |
uint32_t | I2C_DigitalFilter |
uint32_t | I2C_Mode |
uint32_t | I2C_OwnAddress1 |
uint32_t | I2C_Ack |
uint32_t | I2C_AcknowledgedAddress |
I2C Init structure definition.
uint32_t I2C_Ack |
Enables or disables the acknowledgement.
This parameter can be a value of I2C_acknowledgement
uint32_t I2C_AcknowledgedAddress |
Specifies if 7-bit or 10-bit address is acknowledged.
This parameter can be a value of I2C_acknowledged_address
uint32_t I2C_AnalogFilter |
Enables or disables analog noise filter.
This parameter can be a value of I2C_Analog_Filter
uint32_t I2C_DigitalFilter |
Configures the digital noise filter.
This parameter can be a number between 0x00 and 0x0F
uint32_t I2C_Mode |
Specifies the I2C mode.
This parameter can be a value of I2C_mode
uint32_t I2C_OwnAddress1 |
Specifies the device own address 1.
This parameter can be a 7-bit or 10-bit address
uint32_t I2C_Timing |
Specifies the I2C_TIMINGR_register value.
This parameter must be set by referring to I2C_Timing_Config_Tool