/* Sets the LCD clock mode, i.e. always active or active only during display period.  */
void LCD_SetClockMode(unsigned int clockMode)
/* Sets the LCD clock mode, i.e. always active or active only during display period.  */
void LCD_SetClockMode(unsigned int clockMode)
{
    unsigned int value;
    ASSERT((clockMode & ~AT91C_LCDC_CLKMOD) == 0,
           "LCD_SetScanMode: Wrong scan mode value.\n\r");
    value = AT91C_BASE_LCDC->LCDC_LCDCON2;
    value &= ~AT91C_LCDC_CLKMOD;
    value |= clockMode;
    AT91C_BASE_LCDC->LCDC_LCDCON2 = value;
}