SLAAEF9A November 2023 – May 2025 MSPM0C1104 , MSPM0G3507 , MSPM0H3216 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1306 , MSPM0L2227 , MSPM0L2227-Q1 , MSPM0L2228 , MSPM0L2228-Q1
RL78 and MSPM0(1) both offer a real-time clock (RTC). The real-time clock (RTC) module provides time tracking for the application, with counters for seconds, minutes, hours, day of the week, day of the month, and year, in selectable binary or binary-coded decimal format.
RTC is supported by MSPM0G series, MSPM0x22x, MSPM0C1105/6, MSPM0H series.
| Feature | RL78 | MSPM0 |
|---|---|---|
| Power modes | Yes | Yes |
| Binary coded format | No | Yes |
| Years count up | 99 years | 199 years |
| Leap year correction | Yes | Yes |
| Number of customizable alarms | 1 | 2 |
| Internal and External crystal | Yes | Yes |
| Offset calibration | Yes | Yes |
| Interrupts | Yes | Yes |
RTC Code Examples
Information about RTC code examples can be found in the MSPM0 SDK examples guide.