CARME-M4 BSP  V1.5
I2C_duty_cycle_in_fast_mode
+ Collaboration diagram for I2C_duty_cycle_in_fast_mode:

Macros

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

Detailed Description

Macro Definition Documentation

#define I2C_DutyCycle_16_9   ((uint16_t)0x4000)

I2C fast mode Tlow/Thigh = 16/9

Definition at line 114 of file stm32f4xx_i2c.h.

#define I2C_DutyCycle_2   ((uint16_t)0xBFFF)

I2C fast mode Tlow/Thigh = 2

Definition at line 115 of file stm32f4xx_i2c.h.

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

Definition at line 116 of file stm32f4xx_i2c.h.