Searched refs:RTC (Results 1 – 8 of 8) sorted by relevance
57 #define RTC ((struct StmRtc*)RTC_BASE) macro116 RTC->WPR = 0xCA; in rtcSetDefaultDateTimeAndPrescalar()117 RTC->WPR = 0x53; in rtcSetDefaultDateTimeAndPrescalar()120 RTC->ISR |= RTC_ISR_INIT; in rtcSetDefaultDateTimeAndPrescalar()124 while ((RTC->ISR & RTC_ISR_INITF) == 0); in rtcSetDefaultDateTimeAndPrescalar()127 RTC->PRER = RTC_PREDIV_S; in rtcSetDefaultDateTimeAndPrescalar()128 RTC->PRER |= (RTC_PREDIV_A << 16); in rtcSetDefaultDateTimeAndPrescalar()129 RTC->CALR = (RTC_CALP << 15) | (RTC_CALM & 0x1FF); in rtcSetDefaultDateTimeAndPrescalar()132 RTC->CR &= ~RTC_CR_FMT; in rtcSetDefaultDateTimeAndPrescalar()135 RTC->CR |= RTC_CR_BYPSHAD; in rtcSetDefaultDateTimeAndPrescalar()[all …]
137 # Enables RTC time aiding from Host141 # Min number of prior fixes needed for RTC time aiding
151 # Enables RTC time aiding from Host