/* Return 1 if a software reset command is being performed by the reset controller. The reset controller is busy.  */
unsigned char RSTC_IsBusy(AT91PS_RSTC rstc)
/* Return 1 if a software reset command is being performed by the reset controller. The reset controller is busy.  */
unsigned char RSTC_IsBusy(AT91PS_RSTC rstc)
{
    if (READ_RSTC(rstc, RSTC_RSR) & AT91C_RSTC_SRCMP) {
        return 1;
    }
    return 0;
}