void RTT_SetPrescaler(AT91S_RTTC *rtt, unsigned short prescaler) { rtt->RTTC_RTMR = (prescaler | AT91C_RTTC_RTTRST); }