Home
last modified time | relevance | path

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

/hal_nuvoton-3.4.0/m48x/StdDriver/src/
Drtc.c112 uint64_t u64Compensate; in RTC_32KCalibration() local
117 u64Compensate = (uint64_t)(0x2710000000000); in RTC_32KCalibration()
118 u64Compensate = (uint64_t)(u64Compensate / (uint64_t)i32FrequencyX10000); in RTC_32KCalibration()
120 if(u64Compensate >= (uint64_t)0x400000) in RTC_32KCalibration()
122 u64Compensate = (uint64_t)0x3FFFFF; in RTC_32KCalibration()
126 RTC->FREQADJ = (uint32_t)u64Compensate; in RTC_32KCalibration()