44 #define RTC_LSB_MASK ((uint32_t)0x0000FFFF)
45 #define PRLH_MSB_MASK ((uint32_t)0x000F0000)
90 void RTC_ITConfig(uint16_t RTC_IT, FunctionalState NewState)
102 RTC->CRH &= (uint16_t)~RTC_IT;
137 return (((uint32_t)
RTC->CNTH << 16 ) | tmp) ;
149 RTC->CNTH = CounterValue >> 16;
182 RTC->ALRH = AlarmValue >> 16;
196 tmp = ((uint32_t)
RTC->DIVH & (uint32_t)0x000F) << 16;
251 if ((
RTC->CRL & RTC_FLAG) != (uint16_t)
RESET)
279 RTC->CRL &= (uint16_t)~RTC_FLAG;
298 if (((
RTC->CRH & RTC_IT) != (uint16_t)
RESET) && (bitstatus != (uint16_t)RESET))
324 RTC->CRL &= (uint16_t)~RTC_IT;