Display Clock Source

group x3ep_Display_Clock_Source

Defines

DISPLAY_CLOCK_SOURCE_PLL1 ((uint16_t) 0x0)

Select PLL1 as the clock source for display.

DISPLAY_CLOCK_SOURCE_PLL2 ((uint16_t) 0x1)

Select PLL2 as the clock source for display.

DISPLAY_CLOCK_SOURCE_40MHZ ((uint16_t) 0x2)

Select 40MHz as the clock source for display.

IS_DISPLAY_CLOCK_SOURCE(CLOCK)                                                                  (((CLOCK) == DISPLAY_CLOCK_SOURCE_PLL1

) || \

((CLOCK) ==

DISPLAY_CLOCK_SOURCE_PLL2

) || \

((CLOCK) ==

DISPLAY_CLOCK_SOURCE_40MHZ))

Check if the input parameter is valid.