15.6.3.2.1 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 15-19. Parameters
Data directionParameter nameDescription

[in, out]

module

Pointer to the software instance struct

[in]

time

Pointer to the time structure

Returns

32-bit value