15.6.3.1.7 Function rtc_calendar_swap_time_mode()

Swaps between 12h and 24h clock mode.

void rtc_calendar_swap_time_mode( struct rtc_module *const module)

Swaps the current RTC time mode:
  • If currently in 12h mode, it will swap to 24h

  • If currently in 24h mode, it will swap to 12h

Note: This will not change setting in user's configuration structure.
Table 15-16. Parameters
Data directionParameter nameDescription

[in, out]

module

Pointer to the software instance struct