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 1. Parameters
Data direction Parameter name Description

[out]

module

Pointer to the software instance struct

[in]

hw

Pointer to hardware instance

[in]

config

Pointer to the configuration structure