I2C_InitTypeDef Struct Reference
[I2C_Exported_Types]

I2C Init structure definition. More...

#include <stm32f10x_i2c.h>

Data Fields

uint16_t I2C_Ack
uint16_t I2C_AcknowledgedAddress
uint32_t I2C_ClockSpeed
uint16_t I2C_DutyCycle
uint16_t I2C_Mode
uint16_t I2C_OwnAddress1

Detailed Description

I2C Init structure definition.

Definition at line 49 of file stm32f10x_i2c.h.


Field Documentation

Enables or disables the acknowledgement. This parameter can be a value of I2C_acknowledgement

Definition at line 63 of file stm32f10x_i2c.h.

Referenced by HDMI_CEC_Init(), I2C_Init(), I2C_StructInit(), IOE_I2C_Config(), LM75_Init(), main(), and sEE_Init().

Specifies if 7-bit or 10-bit address is acknowledged. This parameter can be a value of I2C_acknowledged_address

Definition at line 66 of file stm32f10x_i2c.h.

Referenced by HDMI_CEC_Init(), I2C_Init(), I2C_StructInit(), IOE_I2C_Config(), LM75_Init(), main(), and sEE_Init().

Specifies the clock frequency. This parameter must be set to a value lower than 400kHz

Definition at line 51 of file stm32f10x_i2c.h.

Referenced by HDMI_CEC_Init(), I2C_Init(), I2C_StructInit(), IOE_I2C_Config(), LM75_Init(), main(), and sEE_Init().

Specifies the I2C fast mode duty cycle. This parameter can be a value of I2C_duty_cycle_in_fast_mode

Definition at line 57 of file stm32f10x_i2c.h.

Referenced by HDMI_CEC_Init(), I2C_Init(), I2C_StructInit(), IOE_I2C_Config(), LM75_Init(), main(), and sEE_Init().

Specifies the I2C mode. This parameter can be a value of I2C_mode

Definition at line 54 of file stm32f10x_i2c.h.

Referenced by HDMI_CEC_Init(), I2C_Init(), I2C_StructInit(), IOE_I2C_Config(), LM75_Init(), main(), and sEE_Init().

Specifies the first device own address. This parameter can be a 7-bit or 10-bit address.

Definition at line 60 of file stm32f10x_i2c.h.

Referenced by HDMI_CEC_Init(), I2C_Init(), I2C_StructInit(), IOE_I2C_Config(), LM75_Init(), main(), and sEE_Init().


The documentation for this struct was generated from the following file:
STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32