15.6.3.1.6 Function rtc_calendar_init()

Initializes the RTC module with given configurations.

void rtc_calendar_init( struct rtc_module *const module, Rtc *const hw, const struct rtc_calendar_config *const config)

Initializes the module, setting up all given configurations to provide the desired functionality of the RTC.

Table 15-15. Parameters
Data directionParameter nameDescription

[out]

module

Pointer to the software instance struct

[in]

hw

Pointer to hardware instance

[in]

config

Pointer to the configuration structure