15.6.3.1.1 Function rtc_calendar_get_time_defaults()

Initialize a time structure.

void rtc_calendar_get_time_defaults( struct rtc_calendar_time *const time)

This will initialize a given time structure to the time 00:00:00 (hh:mm:ss) and date 2000-01-01 (YYYY-MM-DD).

Table 15-10. Parameters
Data directionParameter nameDescription

[out]

time

Time structure to initialize