/* Enable all the periph clock via PMC (Becareful of the last 2 bits, it is not periph clock)  */
void PMC_EnableAllPeripherals(void)
/* Enable all the periph clock via PMC (Becareful of the last 2 bits, it is not periph clock)  */
void PMC_EnableAllPeripherals(void)
{
    AT91C_BASE_PMC->PMC_PCER = MASK_STATUS;
    while( (AT91C_BASE_PMC->PMC_PCSR & MASK_STATUS) != MASK_STATUS);
    TRACE_INFO("Enable all periph clocks\n\r"); 
}