English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (361/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 7 REAL-TIME COUNTER
CHAPTER 7 REAL-TIME COUNTER
7.1 Functions of Real-Time Counter
The real-time counter is mounted onto all 78K0R/Lx3 microcontroller products.
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
7.2 Configuration of Real-Time Counter
The real-time counter includes the following hardware.
Item
Control registers
Table 7-1. Configuration of Real-Time Counter
Configuration
Peripheral enable register 0 (PER0)
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)
Alarm week register (ALARMWW)
Port mode register 3
Port register 3
R01UH0004EJ0501 Rev.5.01
345
Jun 20, 2011