SPRUI30H November 2015 – May 2024
Time can be rounded to the closest minute, by setting the ROUND_30S bit of the control register (RTC_CTRL_REG). When this bit is set, TC values are set to the closest minute value at the next second. The ROUND_30S bit is automatically cleared when rounding time is performed.
Example: