Renesas RL78 Series User Manual page 294

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78/G1D
Table 8-2 shows the relationship between the setting value of the AMPM bit, the hour count register (HOUR) value, and
time.
The HOUR register value is set to 12-hour display when the AMPM bit is "0" and to 24-hour display when the AMPM bit
is "1".
In 12-hour display, the fifth bit of the HOUR register displays 0 for AM and 1 for PM.
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Table 8-2. Displayed Time Digits
24-Hour Display (AMPM = 1)
Time
HOUR Register
0
00H
1
01H
2
02H
3
03H
4
04H
5
05H
6
06H
7
07H
8
08H
9
09H
10
10H
11
11H
12
12H
13
13H
14
14H
15
15H
16
16H
17
17H
18
18H
19
19H
20
20H
21
21H
22
22H
23
23H
CHAPTER 8 REAL-TIME CLOCK
12-Hour Display (AMPM = 0)
Time
HOUR Register
12 a.m.
12H
1 a.m.
01H
2 a.m.
02H
3 a.m.
03H
4 a.m.
04H
5 a.m.
05H
6 a.m.
06H
7 a.m.
07H
8 a.m.
08H
9 a.m.
09H
10 a.m.
10H
11 a.m.
11H
12 p.m.
32H
1 p.m.
21H
2 p.m.
22H
3 p.m.
23H
4 p.m.
24H
5 p.m.
25H
6 p.m.
26H
7 p.m.
27H
8 p.m.
28H
9 p.m.
29H
10 p.m.
30H
11 p.m.
31H
273

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents