Searched refs:sync_prescaler (Results 1 – 1 of 1) sorted by relevance
113 uint32_t sync_prescaler; member149 uint32_t sync_prescaler = LL_RTC_GetSynchPrescaler(RTC); in rtc_stm32_configure() local158 (sync_prescaler != cfg->sync_prescaler) || in rtc_stm32_configure()164 LL_RTC_SetSynchPrescaler(RTC, cfg->sync_prescaler); in rtc_stm32_configure()545 uint64_t temp = ((uint64_t)(cfg->sync_prescaler - rtc_subsecond)) * 1000000000L; in rtc_stm32_get_time()547 timeptr->tm_nsec = temp / (cfg->sync_prescaler + 1); in rtc_stm32_get_time()1090 .sync_prescaler = 0x00F9,1094 .sync_prescaler = 0x00FF,1098 .sync_prescaler = RTC_HSE_SYNC_PRESCALER - 1,