Searched refs:RTC_InitStruct (Results 1 – 4 of 4) sorted by relevance
216 void RTC_StructInit(RTC_InitTypeDef* RTC_InitStruct) in RTC_StructInit() argument219 RTC_InitStruct->RTC_HourFormat = RTC_HourFormat_24; in RTC_StructInit()225 RTC_InitStruct->RTC_SynchPrediv = (u32)0xFF; /* 256 /256 = 1Hz*/ in RTC_StructInit()228 RTC_InitStruct->RTC_DayThreshold = 365; in RTC_StructInit()242 u32 RTC_Init(RTC_InitTypeDef* RTC_InitStruct) in RTC_Init() argument249 assert_param(IS_RTC_HOUR_FORMAT(RTC_InitStruct->RTC_HourFormat)); in RTC_Init()250 assert_param(IS_RTC_ASYNCH_PREDIV(RTC_InitStruct->RTC_AsynchPrediv)); in RTC_Init()251 assert_param(IS_RTC_SYNCH_PREDIV(RTC_InitStruct->RTC_SynchPrediv)); in RTC_Init()252 assert_param(IS_RTC_DAY_THRES(RTC_InitStruct->RTC_DayThreshold)); in RTC_Init()261 Temp = (RTC_InitStruct->RTC_SynchPrediv) | (RTC_InitStruct->RTC_AsynchPrediv << 16); in RTC_Init()[all …]
177 RTC_InitTypeDef RTC_InitStruct; in rtc_init() local181 RTC_StructInit(&RTC_InitStruct); in rtc_init()182 RTC_InitStruct.RTC_HourFormat = RTC_HourFormat_24; in rtc_init()184 RTC_Init(&RTC_InitStruct); in rtc_init()
159 RTC_InitTypeDef RTC_InitStruct; in hal_rtc_init() local163 RTC_StructInit(&RTC_InitStruct); in hal_rtc_init()164 RTC_InitStruct.RTC_HourFormat = RTC_HourFormat_24; in hal_rtc_init()166 RTC_Init(&RTC_InitStruct); in hal_rtc_init()
367 _LONG_CALL_ void RTC_StructInit(RTC_InitTypeDef* RTC_InitStruct);368 _LONG_CALL_ u32 RTC_Init(RTC_InitTypeDef* RTC_InitStruct);
Completed in 6 milliseconds