unsigned char RSTC_GetNrstLevel(void) { if (AT91C_BASE_RSTC->RSTC_RSR & AT91C_RSTC_NRSTL) { return 1; } return 0; }