/* Return NRST pin level ( 1 or 0 ).  */
unsigned char RSTC_GetNrstLevel(void)
/* Return NRST pin level ( 1 or 0 ).  */
unsigned char RSTC_GetNrstLevel(void)
{
    if (AT91C_BASE_RSTC->RSTC_RSR & AT91C_RSTC_NRSTL) {
        return 1;
    }
    return 0;
}