IF8080 Clock Divider

group x3e_IF8080_ClockDiv

Defines

IF8080_CLOCK_DIV_2 (((uint32_t)0x1 << IF8080_SPEED_SEL_POS))

The clock divider is 2.

IF8080_CLOCK_DIV_3 (((uint32_t)0x2 << IF8080_SPEED_SEL_POS))

The clock divider is 3.

IF8080_CLOCK_DIV_4 (((uint32_t)0x3 << IF8080_SPEED_SEL_POS))

The clock divider is 4.

IF8080_CLOCK_DIV_5 (((uint32_t)0x4 << IF8080_SPEED_SEL_POS))

The clock divider is 5.

IF8080_CLOCK_DIV_6 (((uint32_t)0x5 << IF8080_SPEED_SEL_POS))

The clock divider is 6.

IF8080_CLOCK_DIV_7 (((uint32_t)0x6 << IF8080_SPEED_SEL_POS))

The clock divider is 7.

IF8080_CLOCK_DIV_8 (((uint32_t)0x7 << IF8080_SPEED_SEL_POS))

The clock divider is 8.

IS_IF8080_CLOCK_DIV(DIV)                                   (((DIV) == IF8080_CLOCK_DIV_2) || ((DIV) == IF8080_CLOCK_DIV_3

) || \

((DIV) ==

IF8080_CLOCK_DIV_4) || ((DIV) == IF8080_CLOCK_DIV_5

) || \

((DIV) ==

IF8080_CLOCK_DIV_6) || ((DIV) == IF8080_CLOCK_DIV_7

) || \

((DIV) ==

IF8080_CLOCK_DIV_8))

Check whether is the IF8080 clock divider.