English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (268/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 9 REAL-TIME COUNTER
24-Hour System
00
01
02
03
04
05
06
07
08
09
10
11
Table 9-2. Displayed Time Digits
12-Hour System
12 (AM12)
01 (AM1)
02 (AM2)
03 (AM3)
04 (AM4)
05 (AM5)
06 (AM6)
07 (AM7)
08 (AM8)
09 (AM9)
10 (AM10)
11 (AM11)
24-Hour System
12
13
14
15
16
17
18
19
20
21
22
23
12-Hour System
32 (PM12)
21 (PM1)
22 (PM2)
23 (PM3)
24 (PM4)
25 (PM5)
26 (PM6)
27 (PM7)
28 (PM8)
29 (PM9)
30 (PM10)
31 (PM11)
(3) Real-time counter control register 1 (RTCC1)
The RTCC1 register is an 8-bit register that is used to control the alarm interrupt function and the wait time of
the counter.
RTCC1 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 9-4. Format of Real-Time Counter Control Register 1 (RTCC1) (1/2)
Address: FF8AH After reset: 00H R/W
Symbol
<7>
<6>
5
RTCC1
WALE
WALIE
0
<4>
WAFG
<3>
RIFG
2
<1>
<0>
0
RWST
RWAIT
WALE
Alarm operation control
0
Match operation is invalid.
1
Match operation is valid.
To set the registers of alarm (WALIE flag of RTCC1, ALARMWM register, ALARMWH register, and ALARMWW
register), disable WALE (clear it to “0”).
WALIE
0
1
Control of alarm interrupt (INTRTC) function operation
Does not generate interrupt on matching of alarm.
Generates interrupt on matching of alarm.
WAFG
Alarm detection status flag
0
Alarm mismatch
1
Detection of matching of alarm
This is a status flag that indicates detection of matching with the alarm. It is valid only when WALE = 1 and is set to
“1” one clock (32.768 kHz) after matching of the alarm is detected. This flag is cleared when “0” is written to it.
Writing “1” to it is invalid.
266
User’s Manual U18698EJ1V0UD