r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 366

no-image

r5f21368sdfp

Manufacturer Part Number
r5f21368sdfp
Description
Renesas Mcu R8c Family / R8c/3xt-a Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
r5f21368sdfp#V0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
Under development
R8C/36T-A Group
R01UH0240EJ0001 Rev.0.01
Apr 28, 2011
Figure 18.3
<When the count starts from 0 a.m. of Saturday on January 1, 2000>
HR24 bit = 1
(24-hour mode)
HR24 bit = 0
(12-hour mode)
TREWK register
TREDY register
TREMON register
TREYR register
LFLAG bit
HR24 bit = 1
(24-hour mode)
HR24 bit = 0
(12-hour mode)
TREWK register
TREDY register
TREMON register
TREYR register
LFLAG bit
PM Bit (a.m./p.m. bit)
HR24 Bit (Operating mode select bit)
LFLAG, PM, HR24: Bits in TRECR register
Set the PROTECT bit in the TREPRC register to 1 (write enabled) before rewriting the PM bit.
Read or write to the PM bit when the BSY bit in the TRESEC register is 0 (data not being updated).
The PM bit is enabled when the HR24 bit is 0 (12-hour mode).
The PM bit changes as follows during count operation.
• Changes to 0 when the PM bit is 1 (p.m.) and the clock increments from 11:59:59 to 00:00:00.
• Changes to 1 when the PM bit is 0 (a.m.) and the clock increments from 11:59:59 to 00:00:00.
Figure 18.3 shows the Definition of Time Representation.
When the HR24 bit is set to 0 (12-hour mode), the TREHR register counts from 0 to 11. When this bit is set to
1 (24-hour mode), the register counts from 0 to 23. Read or write to the HR24 bit when the BSY bit is 0 (data
not being updated).
TREHR register
PM bit
TREHR register
PM bit
TREHR register
PM bit
TREHR register
PM bit
Preliminary document
Specifications in this document are tentative and subject to change.
Definition of Time Representation
0
0
3
3
010 (Tue.)
0 (a.m.)
Day 1
1
1
4
4
0 (a.m.)


5
5
February
10
10





110 (Sat.)
21
21
11
11
Noon
Day 1
010 (Tue.)
1 (p.m.)
Day 29
12
22
10
0
Year 2000
13
23
11
1
1 (p.m.)
1


0
0
011 (Wed.)
January
0 (a.m.)
March
Day 1
22
10
1
1
Year 2000
23
11
2
2
0
1
0






0
0
000 (Sun.)
0 (a.m.)
Day 2
21
1
1
9
000 (Sun.)
December
1 (p.m.)
Day 31
22
10
2
2
23
11





21
9
0
0
001 (Mon.)
001 (Mon.)
Year 2001
January
1 (p.m.)
0 (a.m.)
Day 31
Day 1
22
10
1
1
0
23
11
2
2
Page 335 of 725
0
0
18. Timer RE2
010 (Tue.)
February
0 (a.m.)
Day 1








1
1
2
2

Related parts for r5f21368sdfp