Lines Matching refs:RTC
83 if (RTC->FREEZE & RTC_FREEZE_REGFREEZE) { in regSync()
89 while (RTC->SYNCBUSY & mask) in regSync()
118 ret = RTC->COMP[comp].COMP; in RTC_CompareGet()
123 ret = RTC->COMP0; in RTC_CompareGet()
127 ret = RTC->COMP1; in RTC_CompareGet()
173 compReg = &(RTC->COMP[comp].COMP); in RTC_CompareSet()
178 compReg = &(RTC->COMP0); in RTC_CompareSet()
185 compReg = &(RTC->COMP1); in RTC_CompareSet()
227 BUS_RegBitWrite(&(RTC->CTRL), _RTC_CTRL_EN_SHIFT, enable); in RTC_Enable()
275 while (RTC->SYNCBUSY) in RTC_FreezeEnable()
278 RTC->FREEZE = RTC_FREEZE_REGFREEZE; in RTC_FreezeEnable()
280 RTC->FREEZE = 0; in RTC_FreezeEnable()
332 RTC->CTRL = tmp; in RTC_Init()
343 RTC->FREEZE = _RTC_FREEZE_RESETVALUE; in RTC_Reset()
345 RTC->CTRL = _RTC_CTRL_RESETVALUE; in RTC_Reset()
348 RTC->COMP[ch].COMP = _RTC_COMP_COMP_RESETVALUE; in RTC_Reset()
351 RTC->COMP0 = _RTC_COMP0_RESETVALUE; in RTC_Reset()
352 RTC->COMP1 = _RTC_COMP1_RESETVALUE; in RTC_Reset()
354 RTC->IEN = _RTC_IEN_RESETVALUE; in RTC_Reset()
355 RTC->IFC = _RTC_IFC_RESETVALUE; in RTC_Reset()