Function rtc_calendar_time_to_register_value()

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

uint32_t rtc_calendar_time_to_register_value(
		struct rtc_module *const module,
		const struct rtc_calendar_time *const time)

Table 1. Parameters
Data direction Parameter name Description

[in, out]

module

Pointer to the software instance struct

[in]

time

Pointer to the time structure

Returns

32-bit value