15.6.1.4 Struct rtc_calendar_time

Time structure containing the time given by or set to the RTC calendar. The structure uses seven values to give second, minute, hour, PM/AM, day, month, and year. It should be initialized via the rtc_calendar_get_time_defaults() function before use.

Table 15-7. Members
TypeNameDescription
uint8_tday

Day value, where day 1 is the first day of the month

uint8_thour

Hour value

uint8_tminute

Minute value

uint8_tmonth

Month value, where month 1 is January

boolpm

PM/AM value, true for PM, or false for AM

uint8_tsecond

Second value

uint16_tyear

Year value