Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/rtc/
Drtc_smartbond.c71 #define RTC_TIME_REG_GET_FIELD(_field, _var) \ macro
189 timeptr->tm_sec = bcd2bin(RTC_TIME_REG_GET_FIELD(S, rtc_time_reg)); in bcd_to_rtc_time()
190 timeptr->tm_min = bcd2bin(RTC_TIME_REG_GET_FIELD(M, rtc_time_reg)); in bcd_to_rtc_time()
191 timeptr->tm_hour = bcd2bin(RTC_TIME_REG_GET_FIELD(HR, rtc_time_reg)); in bcd_to_rtc_time()