/* Sets the wake-up sources when in backup mode.  */
void SUPC_SetWakeUpSources(unsigned int sources)
/* Sets the wake-up sources when in backup mode.  */
void SUPC_SetWakeUpSources(unsigned int sources)
{
    SANITY_CHECK((sources & ~0x0000000B) == 0);
    AT91C_BASE_SUPC->SUPC_WUMR &= ~0x0000000B;
    AT91C_BASE_SUPC->SUPC_WUMR |= sources;
}