/* Sets the threshold value of the constrast PWM.  */
void LCD_SetContrastValue(unsigned int value)
/* Sets the threshold value of the constrast PWM.  */
void LCD_SetContrastValue(unsigned int value)
{
    ASSERT((value & ~AT91C_LCDC_CVAL) == 0,
           "LCD_SetContrastValue: Wrong value.\n\r");
    AT91C_BASE_LCDC->LCDC_CTRSTVAL = value;
}