I2C Clock Divider

group I2C_Clock_Divider

Defines

IS_I2C_CLK_DIV(DIV)                              (((DIV) == I2C_CLOCK_DIVIDER_1

) || \

((DIV) ==

I2C_CLOCK_DIVIDER_2

) || \

((DIV) ==

I2C_CLOCK_DIVIDER_4

) || \

((DIV) ==

I2C_CLOCK_DIVIDER_8

) || \

((DIV) ==

I2C_CLOCK_DIVIDER_16

) || \

((DIV) ==

I2C_CLOCK_DIVIDER_32

) || \

((DIV) ==

I2C_CLOCK_DIVIDER_40

) || \

((DIV) ==

I2C_CLOCK_DIVIDER_64))

Check if the input parameter is valid.

Enums

enum I2CClockDiv_TypeDef

Values:

enumerator I2C_CLOCK_DIVIDER_1

The clock divider is 1.

enumerator I2C_CLOCK_DIVIDER_2

The clock divider is 2.

enumerator I2C_CLOCK_DIVIDER_4

The clock divider is 4.

enumerator I2C_CLOCK_DIVIDER_8

The clock divider is 8.

enumerator I2C_CLOCK_DIVIDER_16

The clock divider is 16.

enumerator I2C_CLOCK_DIVIDER_32

The clock divider is 32.

enumerator I2C_CLOCK_DIVIDER_40

The clock divider is 40.

enumerator I2C_CLOCK_DIVIDER_64

The clock divider is 64.