15.6.3.2.3 Function rtc_calendar_set_time()

Set the current calendar time to desired time.

void rtc_calendar_set_time( struct rtc_module *const module, const struct rtc_calendar_time *const time)

Sets the time provided to the calendar.

Table 15-21. Parameters
Data directionParameter nameDescription

[in, out]

module

Pointer to the software instance struct

[in]

time

The time to set in the calendar