Datasheet
User’s Manual U18698EJ1V0UD
262
CHAPTER 9 REAL-TIME COUNTER
9.1 Functions of Real-Time Counter
The real-time counter has the following features.
• Having counters of year, month, week, day, hour, minute, and second, and can count up to 99 years.
• Constant-period interrupt function (period: 1 month to 0.5 seconds)
• Alarm interrupt function (alarm: week, hour, minute)
• Interval interrupt function
• Pin output function of 1 Hz
• Pin output function of 512 Hz or 16.384 kHz or 32.768 kHz
9.2 Configuration of Real-Time Counter
The real-time counter includes the following hardware.
Table 9-1. Configuration of Real-Time Counter
Item Configuration
Real-time counter clock selection register (RTCCL)
Real-time counter control register 0 (RTCC0)
Real-time counter control register 1 (RTCC1)
Real-time counter control register 2 (RTCC2)
Sub-count register (RSUBC)
Second count register (SEC)
Minute count register (MIN)
Hour count register (HOUR)
Day count register (DAY)
Week count register (WEEK)
Month count register (MONTH)
Year count register (YEAR)
Watch error correction register (SUBCUD)
Alarm minute register (ALARMWM)
Alarm hour register (ALARMWH)
Control registers
Alarm week register (ALARMWW)