|
SmartSnippets DA1459x SDK
|
Time configuration for RTC. More...
#include <hw_rtc.h>
Data Fields | |
| uint8_t | hour_mode |
| bool | pm_flag |
| uint8_t | hour |
| uint8_t | minute |
| uint8_t | sec |
| uint8_t | hsec |
Time configuration for RTC.
| uint8_t hw_rtc_time_t::hour |
Hour from 0 to 23 in 24-hour mode, or from 1 to 12 in 12-hour mode
| uint8_t hw_rtc_time_t::hour_mode |
Hour mode: "0" for 24-hour clock or "1" for 12-hour clock
| uint8_t hw_rtc_time_t::hsec |
Hundredth of the second, in the range 0 to 99
| uint8_t hw_rtc_time_t::minute |
Minutes after the hour, in the range 0 to 59
| bool hw_rtc_time_t::pm_flag |
In 12 hour clock mode, indicates PM when set to "1"
| uint8_t hw_rtc_time_t::sec |
Seconds after the minute, in the range 0 to 59
1.8.16