SmartSnippets DA1459x SDK
Data Fields

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
 

Detailed Description

Time configuration for RTC.

Field Documentation

◆ hour

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

◆ hour_mode

uint8_t hw_rtc_time_t::hour_mode

Hour mode: "0" for 24-hour clock or "1" for 12-hour clock

◆ hsec

uint8_t hw_rtc_time_t::hsec

Hundredth of the second, in the range 0 to 99

◆ minute

uint8_t hw_rtc_time_t::minute

Minutes after the hour, in the range 0 to 59

◆ pm_flag

bool hw_rtc_time_t::pm_flag

In 12 hour clock mode, indicates PM when set to "1"

◆ sec

uint8_t hw_rtc_time_t::sec

Seconds after the minute, in the range 0 to 59


The documentation for this struct was generated from the following file: