STM32F10x Standard Peripherals Library  3.5.0
I2C_duty_cycle_in_fast_mode

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 100 of file stm32f10x_i2c.h.

#define I2C_DutyCycle_2   ((uint16_t)0xBFFF)

I2C fast mode Tlow/Thigh = 2

Definition at line 101 of file stm32f10x_i2c.h.

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

Definition at line 102 of file stm32f10x_i2c.h.