Function rtc_calendar_register_value_to_time()

Convert register_value to time structure. Retrieves the time structure convert by register_value.

void rtc_calendar_register_value_to_time(
		struct rtc_module *const module,
		const uint32_t register_value,
		struct rtc_calendar_time *const time)

Table 1. Parameters
Data direction Parameter name Description

[in, out]

module

Pointer to the software instance struct

[in]

register_value

The value stored in register

[out]

time

Pointer to the time structure