Home
last modified time | relevance | path

Searched refs:RTCx (Results 1 – 8 of 8) sorted by relevance

/bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/Inc/
A Dfm33lc0xx_fl_rtc.h243 RTCx->WER = 0xACACACAC; in FL_RTC_WriteEnable()
254 RTCx->WER = 0x5A5A5A5A; in FL_RTC_WriteDisable()
265 SET_BIT(RTCx->IER, RTC_IER_ADJ_IE_Msk); in FL_RTC_EnableIT_Adjust()
331 SET_BIT(RTCx->IER, RTC_IER_1KHZ_IE_Msk); in FL_RTC_EnableIT_1KHz()
397 SET_BIT(RTCx->IER, RTC_IER_64HZ_IE_Msk); in FL_RTC_EnableIT_64Hz()
463 SET_BIT(RTCx->IER, RTC_IER_8HZ_IE_Msk); in FL_RTC_EnableIT_8Hz()
496 SET_BIT(RTCx->IER, RTC_IER_4HZ_IE_Msk); in FL_RTC_EnableIT_4Hz()
529 SET_BIT(RTCx->IER, RTC_IER_2HZ_IE_Msk); in FL_RTC_EnableIT_2Hz()
562 SET_BIT(RTCx->IER, RTC_IER_SEC_IE_Msk); in FL_RTC_EnableIT_Second()
595 SET_BIT(RTCx->IER, RTC_IER_MIN_IE_Msk); in FL_RTC_EnableIT_Minute()
[all …]
/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/
A Dstm32l1xx_ll_rtc.h1276 SET_BIT(RTCx->CR, RTC_CR_BKP); in LL_RTC_TIME_EnableDayLightStore()
1288 CLEAR_BIT(RTCx->CR, RTC_CR_BKP); in LL_RTC_TIME_DisableDayLightStore()
1917 …)((LL_RTC_ALMA_GetHour(RTCx) << RTC_OFFSET_HOUR) | (LL_RTC_ALMA_GetMinute(RTCx) << RTC_OFFSET_MINU… in LL_RTC_ALMA_GetTime()
2285 …)((LL_RTC_ALMB_GetHour(RTCx) << RTC_OFFSET_HOUR) | (LL_RTC_ALMB_GetMinute(RTCx) << RTC_OFFSET_MINU… in LL_RTC_ALMB_GetTime()
2355 SET_BIT(RTCx->CR, RTC_CR_TSE); in LL_RTC_TS_Enable()
2605 SET_BIT(RTCx->TAFCR, Tamper); in LL_RTC_TAMPER_Enable()
2624 CLEAR_BIT(RTCx->TAFCR, Tamper); in LL_RTC_TAMPER_Disable()
2774 SET_BIT(RTCx->TAFCR, Tamper); in LL_RTC_TAMPER_EnableActiveLevel()
2793 CLEAR_BIT(RTCx->TAFCR, Tamper); in LL_RTC_TAMPER_DisableActiveLevel()
2814 SET_BIT(RTCx->CR, RTC_CR_WUTE); in LL_RTC_WAKEUP_Enable()
[all …]
/bsp/fm33lc026/libraries/FM33LC0xx_FL_Driver/Src/
A Dfm33lc0xx_fl_rtc.c41 #define IS_RTC_INSTANCE(RTCx) ((RTCx) == RTC) argument
63 RTCx->IER = 0x00000000U; in FL_RTC_DeInit()
64 RTCx->WER = 0x00000000U; in FL_RTC_DeInit()
65 RTCx->ADJUST = 0x00000000U; in FL_RTC_DeInit()
66 RTCx->ADSIGN = 0x00000000U; in FL_RTC_DeInit()
67 RTCx->ALARM = 0x00000000U; in FL_RTC_DeInit()
68 RTCx->BCDDAY = 0x00000000U; in FL_RTC_DeInit()
69 RTCx->BCDHOUR = 0x00000000U; in FL_RTC_DeInit()
70 RTCx->BCDMIN = 0x00000000U; in FL_RTC_DeInit()
111 FL_RTC_WriteEnable(RTCx); in FL_RTC_ConfigTime()
[all …]
/bsp/synwit/libraries/SWM320_CSL/SWM320_StdPeriph_Driver/
A DSWM320_rtc.c43 RTC_Stop(RTCx); in RTC_Init()
45 while(RTCx->CFGABLE == 0); in RTC_Init()
60 RTCx->IF = 0x1F; in RTC_Init()
83 RTCx->EN = 1; in RTC_Start()
93 void RTC_Stop(RTC_TypeDef * RTCx) in RTC_Stop() argument
95 RTCx->EN = 0; in RTC_Stop()
108 dateTime->Year = RTCx->YEAR; in RTC_GetDateTime()
127 while(RTCx->CFGABLE == 0); in RTC_AlarmSetup()
185 RTCx->IE |= it; in RTC_INTEn()
198 RTCx->IE &= ~it; in RTC_INTDis()
[all …]
A DSWM320_rtc.h52 void RTC_Init(RTC_TypeDef * RTCx, RTC_InitStructure * initStruct);
53 void RTC_Start(RTC_TypeDef * RTCx);
54 void RTC_Stop(RTC_TypeDef * RTCx);
56 void RTC_GetDateTime(RTC_TypeDef * RTCx, RTC_DateTime * dateTime);
58 void RTC_AlarmSetup(RTC_TypeDef * RTCx, RTC_AlarmStructure * alarmStruct);
61 void RTC_INTEn(RTC_TypeDef * RTCx, uint32_t it);
62 void RTC_INTDis(RTC_TypeDef * RTCx, uint32_t it);
63 void RTC_INTClr(RTC_TypeDef * RTCx, uint32_t it);
64 uint32_t RTC_INTStat(RTC_TypeDef * RTCx, uint32_t it);
/bsp/synwit/libraries/SWM341_CSL/SWM341_StdPeriph_Driver/
A DSWM341_rtc.c49 RTC_Stop(RTCx); in RTC_Init()
51 while(RTCx->CFGABLE == 0); in RTC_Init()
66 RTCx->IF = 0x1F; in RTC_Init()
89 RTCx->EN = 1; in RTC_Start()
99 void RTC_Stop(RTC_TypeDef * RTCx) in RTC_Stop() argument
101 RTCx->EN = 0; in RTC_Stop()
114 dateTime->Year = RTCx->YEAR; in RTC_GetDateTime()
133 while(RTCx->CFGABLE == 0); in RTC_AlarmSetup()
198 RTCx->IE |= it; in RTC_INTEn()
212 RTCx->IE &= ~it; in RTC_INTDis()
[all …]
A DSWM341_rtc.h59 void RTC_Init(RTC_TypeDef * RTCx, RTC_InitStructure * initStruct);
60 void RTC_Start(RTC_TypeDef * RTCx);
61 void RTC_Stop(RTC_TypeDef * RTCx);
63 void RTC_GetDateTime(RTC_TypeDef * RTCx, RTC_DateTime * dateTime);
65 void RTC_AlarmSetup(RTC_TypeDef * RTCx, RTC_AlarmStructure * alarmStruct);
68 void RTC_INTEn(RTC_TypeDef * RTCx, uint32_t it);
69 void RTC_INTDis(RTC_TypeDef * RTCx, uint32_t it);
70 void RTC_INTClr(RTC_TypeDef * RTCx, uint32_t it);
71 uint32_t RTC_INTStat(RTC_TypeDef * RTCx, uint32_t it);
/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/
A Dstm32l1xx_ll_rtc.c146 LL_RTC_DisableWriteProtection(RTCx); in LL_RTC_DeInit()
159 LL_RTC_WriteReg(RTCx, CR, (LL_RTC_ReadReg(RTCx, CR) & RTC_CR_WUCKSEL)); in LL_RTC_DeInit()
188 LL_RTC_EnableWriteProtection(RTCx); in LL_RTC_DeInit()
229 LL_RTC_DisableInitMode(RTCx); in LL_RTC_Init()
234 LL_RTC_EnableWriteProtection(RTCx); in LL_RTC_Init()
323 LL_RTC_DisableInitMode(RTCx); in LL_RTC_TIME_Init()
415 LL_RTC_DisableInitMode(RTCx); in LL_RTC_DATE_Init()
543 LL_RTC_ALMA_EnableWeekday(RTCx); in LL_RTC_ALMA_Init()
753 LL_RTC_EnableInitMode(RTCx); in LL_RTC_EnterInitMode()
790 LL_RTC_DisableInitMode(RTCx); in LL_RTC_ExitInitMode()
[all …]

Completed in 40 milliseconds