I2C Clock Divider
- group x3d_I2C_Clock_Divider
Defines
-
I2C_CLOCK_DIV_1 ((uint16_t)0x0)
I2C clock divider is set to 1.
-
I2C_CLOCK_DIV_2 ((uint16_t)0x1)
I2C clock divider is set to 2.
-
I2C_CLOCK_DIV_4 ((uint16_t)0x2)
I2C clock divider is set to 4.
-
I2C_CLOCK_DIV_8 ((uint16_t)0x3)
I2C clock divider is set to 8.
-
IS_I2C_DIV(DIV) (((DIV) == I2C_CLOCK_DIV_1
) || \
((DIV) ==
I2C_CLOCK_DIV_2) || \
((DIV) ==
I2C_CLOCK_DIV_4) || \
((DIV) ==
I2C_CLOCK_DIV_8)) Check if the input parameter is valid.
-
I2C_CLOCK_DIV_1 ((uint16_t)0x0)