Home
last modified time | relevance | path

Searched refs:RTC_InitStruct (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/
A Drtl8721d_rtc.c216 void RTC_StructInit(RTC_InitTypeDef* RTC_InitStruct) in RTC_StructInit() argument
219 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() argument
249 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 …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/
A Drtc_api.c177 RTC_InitTypeDef RTC_InitStruct; in rtc_init() local
181 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()
/AliOS-Things-master/hardware/chip/rtl872xd/hal/
A Drtc.c159 RTC_InitTypeDef RTC_InitStruct; in hal_rtc_init() local
163 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()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/
A Drtl8721d_rtc.h367 _LONG_CALL_ void RTC_StructInit(RTC_InitTypeDef* RTC_InitStruct);
368 _LONG_CALL_ u32 RTC_Init(RTC_InitTypeDef* RTC_InitStruct);

Completed in 7 milliseconds