r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 359

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
18.2.5
TRECR register
RTCRST bit in
Bits HR00 to HR03 (First digit of hour count bits)
Bits HR10 to HR11 (Second digit of hour count bits)
After reset by
Bit
b0
b1
b2
b3
b4
b5
b6
b7
After Reset
The TREHR register is used in real-time clock mode.
Set the PROTECT bit in the TREPRC register to 1 (write enabled) before rewriting the TREHR register.
Set values from 00 to 11 by the BCD code when the HR24 bit in the TRECR register is 0 (12-hour mode). Set
values from 00 to 23 by the BCD code when the HR24 bit is 1 (24-hour mode).
When the digit increments from the TREMIN register, 1 is added.
Read or write to these bits when the BSY bit in the TRESEC register is 0 (data not being updated).
Address 00172h
Symbol
Symbol
HR00
HR01
HR02
HR03
HR10
HR11
Timer RE2 Hour Data Register (TREHR)
Bit
Preliminary document
Specifications in this document are tentative and subject to change.
First digit of hour count bits
Second digit of hour count bits
Nothing is assigned. The write value must be 0. The read value is 0.
b7
0
0
b6
Bit Name
0
0
HR11
b5
0
0
HR10
b4
0
0
Count from 0 to 9 every hour.
When the digit increments, 1 is
added to the second digit of
hours.
Count from 0 to 1 when the
HR24 bit in the TRECR register
is 0 (12-hour mode).
Count from 0 to 2 when the
HR24 bit is 1 (24-hour mode).
HR03
b3
0
0
Function
HR02
b2
0
0
HR01
b1
0
0
0 to 9 (BCD code)
0 to 2 (BCD code)
Setting Range
HR00
b0
0
0
Page 328 of 725
18. Timer RE2
R/W
R/W
R/W
R/W
R/W
R/W
R/W

Related parts for r5f21368sdfp