| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/ |
| A D | stm32l1xx_ll_rtc.c | 205 ErrorStatus LL_RTC_Init(RTC_TypeDef *RTCx, LL_RTC_InitTypeDef *RTC_InitStruct) in LL_RTC_Init() argument 211 assert_param(IS_LL_RTC_HOURFORMAT(RTC_InitStruct->HourFormat)); in LL_RTC_Init() 212 assert_param(IS_LL_RTC_ASYNCH_PREDIV(RTC_InitStruct->AsynchPrescaler)); in LL_RTC_Init() 213 assert_param(IS_LL_RTC_SYNCH_PREDIV(RTC_InitStruct->SynchPrescaler)); in LL_RTC_Init() 222 LL_RTC_SetHourFormat(RTCx, RTC_InitStruct->HourFormat); in LL_RTC_Init() 225 LL_RTC_SetSynchPrescaler(RTCx, RTC_InitStruct->SynchPrescaler); in LL_RTC_Init() 226 LL_RTC_SetAsynchPrescaler(RTCx, RTC_InitStruct->AsynchPrescaler); in LL_RTC_Init() 244 void LL_RTC_StructInit(LL_RTC_InitTypeDef *RTC_InitStruct) in LL_RTC_StructInit() argument 247 RTC_InitStruct->HourFormat = LL_RTC_HOURFORMAT_24HOUR; in LL_RTC_StructInit() 248 RTC_InitStruct->AsynchPrescaler = RTC_ASYNCH_PRESC_DEFAULT; in LL_RTC_StructInit() [all …]
|
| /bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ |
| A D | ft32f0xx_rtc.c | 117 ErrorStatus RTC_Init(RTC_InitTypeDef* RTC_InitStruct) in RTC_Init() argument 122 assert_param(IS_RTC_HOUR_FORMAT(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 123 assert_param(IS_RTC_ASYNCH_PREDIV(RTC_InitStruct->RTC_AsynchPrediv)); in RTC_Init() 124 assert_param(IS_RTC_SYNCH_PREDIV(RTC_InitStruct->RTC_SynchPrediv)); in RTC_Init() 140 RTC->CR |= ((uint32_t)(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 143 RTC->PRER = (uint32_t)(RTC_InitStruct->RTC_SynchPrediv); in RTC_Init() 144 RTC->PRER |= (uint32_t)(RTC_InitStruct->RTC_AsynchPrediv << 16); in RTC_Init() 163 void RTC_StructInit(RTC_InitTypeDef* RTC_InitStruct) in RTC_StructInit() argument 166 RTC_InitStruct->RTC_HourFormat = RTC_HourFormat_24; in RTC_StructInit() 169 RTC_InitStruct->RTC_AsynchPrediv = (uint32_t)0x7F; in RTC_StructInit() [all …]
|
| /bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/ |
| A D | n32g45x_rtc.c | 194 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct) in RTC_Init() argument 199 assert_param(IS_RTC_HOUR_FORMAT(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 200 assert_param(IS_RTC_PREDIV_ASYNCH(RTC_InitStruct->RTC_AsynchPrediv)); in RTC_Init() 201 assert_param(IS_RTC_PREDIV_SYNCH(RTC_InitStruct->RTC_SynchPrediv)); in RTC_Init() 217 RTC->CTRL |= ((uint32_t)(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 220 RTC->PRE = (uint32_t)(RTC_InitStruct->RTC_SynchPrediv); in RTC_Init() 221 RTC->PRE |= (uint32_t)(RTC_InitStruct->RTC_AsynchPrediv << 16); in RTC_Init() 240 void RTC_StructInit(RTC_InitType* RTC_InitStruct) in RTC_StructInit() argument 243 RTC_InitStruct->RTC_HourFormat = RTC_24HOUR_FORMAT; in RTC_StructInit() 246 RTC_InitStruct->RTC_AsynchPrediv = (uint32_t)0x7F; in RTC_StructInit() [all …]
|
| /bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/ |
| A D | n32g4fr_rtc.c | 196 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct) in RTC_Init() argument 201 assert_param(IS_RTC_HOUR_FORMAT(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 202 assert_param(IS_RTC_PREDIV_ASYNCH(RTC_InitStruct->RTC_AsynchPrediv)); in RTC_Init() 203 assert_param(IS_RTC_PREDIV_SYNCH(RTC_InitStruct->RTC_SynchPrediv)); in RTC_Init() 219 RTC->CTRL |= ((uint32_t)(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 222 RTC->PRE = (uint32_t)(RTC_InitStruct->RTC_SynchPrediv); in RTC_Init() 223 RTC->PRE |= (uint32_t)(RTC_InitStruct->RTC_AsynchPrediv << 16); in RTC_Init() 242 void RTC_StructInit(RTC_InitType* RTC_InitStruct) in RTC_StructInit() argument 245 RTC_InitStruct->RTC_HourFormat = RTC_24HOUR_FORMAT; in RTC_StructInit() 248 RTC_InitStruct->RTC_AsynchPrediv = (uint32_t)0x7F; in RTC_StructInit() [all …]
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/ |
| A D | n32wb452_rtc.c | 194 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct) in RTC_Init() argument 199 assert_param(IS_RTC_HOUR_FORMAT(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 200 assert_param(IS_RTC_PREDIV_ASYNCH(RTC_InitStruct->RTC_AsynchPrediv)); in RTC_Init() 201 assert_param(IS_RTC_PREDIV_SYNCH(RTC_InitStruct->RTC_SynchPrediv)); in RTC_Init() 217 RTC->CTRL |= ((uint32_t)(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 220 RTC->PRE = (uint32_t)(RTC_InitStruct->RTC_SynchPrediv); in RTC_Init() 221 RTC->PRE |= (uint32_t)(RTC_InitStruct->RTC_AsynchPrediv << 16); in RTC_Init() 240 void RTC_StructInit(RTC_InitType* RTC_InitStruct) in RTC_StructInit() argument 243 RTC_InitStruct->RTC_HourFormat = RTC_24HOUR_FORMAT; in RTC_StructInit() 246 RTC_InitStruct->RTC_AsynchPrediv = (uint32_t)0x7F; in RTC_StructInit() [all …]
|
| /bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/ |
| A D | n32g45x_rtc.c | 194 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct) in RTC_Init() argument 199 assert_param(IS_RTC_HOUR_FORMAT(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 200 assert_param(IS_RTC_PREDIV_ASYNCH(RTC_InitStruct->RTC_AsynchPrediv)); in RTC_Init() 201 assert_param(IS_RTC_PREDIV_SYNCH(RTC_InitStruct->RTC_SynchPrediv)); in RTC_Init() 217 RTC->CTRL |= ((uint32_t)(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 220 RTC->PRE = (uint32_t)(RTC_InitStruct->RTC_SynchPrediv); in RTC_Init() 221 RTC->PRE |= (uint32_t)(RTC_InitStruct->RTC_AsynchPrediv << 16); in RTC_Init() 239 void RTC_StructInit(RTC_InitType* RTC_InitStruct) in RTC_StructInit() argument 242 RTC_InitStruct->RTC_HourFormat = RTC_24HOUR_FORMAT; in RTC_StructInit() 245 RTC_InitStruct->RTC_AsynchPrediv = (uint32_t)0x7F; in RTC_StructInit() [all …]
|
| /bsp/hk32/libraries/HK32F0xx_StdPeriph_Driver/src/ |
| A D | hk32f0xx_rtc.c | 348 ErrorStatus RTC_Init(RTC_InitTypeDef *RTC_InitStruct) in RTC_Init() argument 353 assert_param(IS_RTC_HOUR_FORMAT(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 354 assert_param(IS_RTC_ASYNCH_PREDIV(RTC_InitStruct->RTC_AsynchPrediv)); in RTC_Init() 355 assert_param(IS_RTC_SYNCH_PREDIV(RTC_InitStruct->RTC_SynchPrediv)); in RTC_Init() 372 RTC->CR |= ((uint32_t)(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 375 RTC->PRER = (uint32_t)(RTC_InitStruct->RTC_SynchPrediv); in RTC_Init() 376 RTC->PRER |= (uint32_t)(RTC_InitStruct->RTC_AsynchPrediv << 16); in RTC_Init() 395 void RTC_StructInit(RTC_InitTypeDef *RTC_InitStruct) in RTC_StructInit() argument 398 RTC_InitStruct->RTC_HourFormat = RTC_HourFormat_24; in RTC_StructInit() 401 RTC_InitStruct->RTC_AsynchPrediv = (uint32_t)0x7F; in RTC_StructInit() [all …]
|
| /bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/ |
| A D | n32l40x_rtc.c | 194 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct) in RTC_Init() argument 199 assert_param(IS_RTC_HOUR_FORMAT(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 200 assert_param(IS_RTC_PREDIV_ASYNCH(RTC_InitStruct->RTC_AsynchPrediv)); in RTC_Init() 201 assert_param(IS_RTC_PREDIV_SYNCH(RTC_InitStruct->RTC_SynchPrediv)); in RTC_Init() 217 RTC->CTRL |= ((uint32_t)(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 220 RTC->PRE = (uint32_t)(RTC_InitStruct->RTC_SynchPrediv); in RTC_Init() 221 RTC->PRE |= (uint32_t)(RTC_InitStruct->RTC_AsynchPrediv << 16); in RTC_Init() 240 void RTC_StructInit(RTC_InitType* RTC_InitStruct) in RTC_StructInit() argument 243 RTC_InitStruct->RTC_HourFormat = RTC_24HOUR_FORMAT; in RTC_StructInit() 246 RTC_InitStruct->RTC_AsynchPrediv = (uint32_t)0x7F; in RTC_StructInit() [all …]
|
| /bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/ |
| A D | n32l43x_rtc.c | 184 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct) in RTC_Init() argument 189 assert_param(IS_RTC_HOUR_FORMAT(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 190 assert_param(IS_RTC_PREDIV_ASYNCH(RTC_InitStruct->RTC_AsynchPrediv)); in RTC_Init() 191 assert_param(IS_RTC_PREDIV_SYNCH(RTC_InitStruct->RTC_SynchPrediv)); in RTC_Init() 205 RTC->CTRL |= ((uint32_t)(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 207 RTC->PRE = (uint32_t)(RTC_InitStruct->RTC_SynchPrediv); in RTC_Init() 208 RTC->PRE |= (uint32_t)(RTC_InitStruct->RTC_AsynchPrediv << 16); in RTC_Init() 225 void RTC_StructInit(RTC_InitType* RTC_InitStruct) in RTC_StructInit() argument 228 RTC_InitStruct->RTC_HourFormat = RTC_24HOUR_FORMAT; in RTC_StructInit() 230 RTC_InitStruct->RTC_AsynchPrediv = (uint32_t)0x7F; in RTC_StructInit() [all …]
|
| /bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/ |
| A D | n32g43x_rtc.c | 194 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct) in RTC_Init() argument 199 assert_param(IS_RTC_HOUR_FORMAT(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 200 assert_param(IS_RTC_PREDIV_ASYNCH(RTC_InitStruct->RTC_AsynchPrediv)); in RTC_Init() 201 assert_param(IS_RTC_PREDIV_SYNCH(RTC_InitStruct->RTC_SynchPrediv)); in RTC_Init() 215 RTC->CTRL |= ((uint32_t)(RTC_InitStruct->RTC_HourFormat)); in RTC_Init() 217 RTC->PRE = (uint32_t)(RTC_InitStruct->RTC_SynchPrediv); in RTC_Init() 218 RTC->PRE |= (uint32_t)(RTC_InitStruct->RTC_AsynchPrediv << 16); in RTC_Init() 235 void RTC_StructInit(RTC_InitType* RTC_InitStruct) in RTC_StructInit() argument 238 RTC_InitStruct->RTC_HourFormat = RTC_24HOUR_FORMAT; in RTC_StructInit() 241 RTC_InitStruct->RTC_AsynchPrediv = (uint32_t)0x7F; in RTC_StructInit() [all …]
|
| /bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/inc/ |
| A D | n32g4fr_rtc.h | 585 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct); 586 void RTC_StructInit(RTC_InitType* RTC_InitStruct);
|
| /bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/inc/ |
| A D | n32g45x_rtc.h | 585 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct); 586 void RTC_StructInit(RTC_InitType* RTC_InitStruct);
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/inc/ |
| A D | n32wb452_rtc.h | 585 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct); 586 void RTC_StructInit(RTC_InitType* RTC_InitStruct);
|
| /bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/inc/ |
| A D | n32g45x_rtc.h | 585 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct); 586 void RTC_StructInit(RTC_InitType* RTC_InitStruct);
|
| /bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Inc/ |
| A D | ft32f0xx_rtc.h | 666 ErrorStatus RTC_Init(RTC_InitTypeDef* RTC_InitStruct); 667 void RTC_StructInit(RTC_InitTypeDef* RTC_InitStruct);
|
| /bsp/hk32/libraries/HK32F0xx_StdPeriph_Driver/inc/ |
| A D | hk32f0xx_rtc.h | 690 ErrorStatus RTC_Init(RTC_InitTypeDef* RTC_InitStruct); 691 void RTC_StructInit(RTC_InitTypeDef* RTC_InitStruct);
|
| /bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/inc/ |
| A D | n32l43x_rtc.h | 699 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct); 700 void RTC_StructInit(RTC_InitType* RTC_InitStruct);
|
| /bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/inc/ |
| A D | n32l40x_rtc.h | 699 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct); 700 void RTC_StructInit(RTC_InitType* RTC_InitStruct);
|
| /bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/inc/ |
| A D | n32g43x_rtc.h | 699 ErrorStatus RTC_Init(RTC_InitType* RTC_InitStruct); 700 void RTC_StructInit(RTC_InitType* RTC_InitStruct);
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Inc/ |
| A D | stm32l1xx_ll_rtc.h | 3728 ErrorStatus LL_RTC_Init(RTC_TypeDef *RTCx, LL_RTC_InitTypeDef *RTC_InitStruct); 3729 void LL_RTC_StructInit(LL_RTC_InitTypeDef *RTC_InitStruct);
|