Searched refs:STM32_RTC_MONTH_SHIFT (Results 1 – 1 of 1) sorted by relevance
36 #define STM32_RTC_MONTH_SHIFT 8 macro80 tm->tm_mon = bcd2bin((dr & STM32_RTC_MONTH) >> STM32_RTC_MONTH_SHIFT); in stm32_rtc_get()194 d |= (bin2bcd(tm->tm_mon) << STM32_RTC_MONTH_SHIFT) & STM32_RTC_MONTH; in stm32_rtc_set()
Completed in 4 milliseconds