Home
last modified time | relevance | path

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

/drivers/hdf_core/framework/include/platform/
Drtc_base.h33 #define RTC_MAX_SECOND 60UL macro
49 #define IS_INVALID_SECOND(s) ((s) >= RTC_MAX_SECOND)
/drivers/hdf_core/framework/support/platform/src/rtc/
Drtc_base.c98 … seconds = ((uint64_t)time->hour * RTC_MAX_MINUTE + time->minute) * RTC_MAX_SECOND + time->second; in RtcTimeToTimestamp()
138 time->second = daySeconds % RTC_MAX_SECOND; in TimestampToRtcTime()
/drivers/hdf_core/framework/test/unittest/platform/common/
Drtc_test.c192 tester->time.second = RTC_MAX_SECOND; in RtcReadWriteMaxTimeTest()
285 tester->time.second = RTC_MAX_SECOND; in RtcReadWriteAlarmMaxTimeTest()