I2C_duty_cycle_in_fast_mode
[I2C_Exported_Constants]

Defines

#define I2C_DutyCycle_16_9   ((uint16_t)0x4000)
#define I2C_DutyCycle_2   ((uint16_t)0xBFFF)
#define IS_I2C_DUTY_CYCLE(CYCLE)

Define Documentation

#define I2C_DutyCycle_16_9   ((uint16_t)0x4000)

I2C fast mode Tlow/Thigh = 16/9

Definition at line 99 of file stm32f10x_i2c.h.

Referenced by I2C_FastModeDutyCycleConfig(), and I2C_Init().

#define I2C_DutyCycle_2   ((uint16_t)0xBFFF)

I2C fast mode Tlow/Thigh = 2

Definition at line 100 of file stm32f10x_i2c.h.

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

#define IS_I2C_DUTY_CYCLE ( CYCLE   ) 
Value:
(((CYCLE) == I2C_DutyCycle_16_9) || \
                                  ((CYCLE) == I2C_DutyCycle_2))

Definition at line 101 of file stm32f10x_i2c.h.

Referenced by I2C_FastModeDutyCycleConfig(), and I2C_Init().

STM32F10x Standard Peripherals Library: Footer

 

 

 

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