/* the RTC registers is Locked and writes are ignored. 
The  */
void RTCRegisterWriteLock(unsigned long ulRegType)
/* the RTC registers is Locked and writes are ignored. 
The  */
void RTCRegisterWriteLock(unsigned long ulRegType)
{
    xASSERT(((ulRegType & RTC_LOCK_LR) == RTC_LOCK_LR) ||
            ((ulRegType & RTC_LOCK_SR) == RTC_LOCK_SR) ||
            ((ulRegType & RTC_LOCK_CR) == RTC_LOCK_CR) ||
            ((ulRegType & RTC_LOCK_TR) == RTC_LOCK_TR));
    xHWREG(RTC_LR) &= ~ulRegType;
}