/* Sets the output voltage of the SLCD charge pump.  */
void SUPC_SetSlcdVoltage(unsigned int voltage)
/* Sets the output voltage of the SLCD charge pump.  */
void SUPC_SetSlcdVoltage(unsigned int voltage)
{
    SANITY_CHECK((voltage & ~AT91C_SUPC_LCDOUT) == 0);
    AT91C_BASE_SUPC->SUPC_MR = SUPC_KEY | (AT91C_BASE_SUPC->SUPC_MR & ~AT91C_SUPC_LCDOUT) | voltage;
}