Searched refs:STM32_RTC_TR_HOUR_SHIFT (Results 1 – 1 of 1) sorted by relevance
25 #define STM32_RTC_TR_HOUR_SHIFT 16 macro282 tm->tm_hour = (tr & STM32_RTC_TR_HOUR) >> STM32_RTC_TR_HOUR_SHIFT; in stm32_rtc_read_time()308 ((tm->tm_hour << STM32_RTC_TR_HOUR_SHIFT) & STM32_RTC_TR_HOUR); in stm32_rtc_set_time()442 cur_hour = (tr & STM32_RTC_TR_HOUR) >> STM32_RTC_TR_HOUR_SHIFT; in stm32_rtc_valid_alrm()