STM32F4 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F4 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
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

#define I2C_DutyCycle_2   ((uint16_t)0xBFFF)

I2C fast mode Tlow/Thigh = 2

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