r5f21368sdfp Renesas Electronics Corporation., r5f21368sdfp Datasheet - Page 358

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.3
18.2.4
TRECR register
TRECR register
RTCRST bit in
RTCRST bit in
Bits MN00 to MN03 (First digit of minute count bits)
Bits MN10 to MN12 (Second digit of minute count bits)
After reset by
Bit
b0
b1
b2
b3
b4
b5
b6
b7
After reset by
Bit
b0
b1
b2
b3
b4
b5
b6
b7
After Reset
After Reset
The TREMIN register is always compared with the TRESEC register, and the CMIF bit in the TREIFR register
is set to 1 (interrupt requested) when the values of both the registers match. When the CMIE bit in the TREIER
register is 1 (compare match interrupt enabled), an interrupt request is generated.
Write to the TREMIN register when the RUN bit in the TRECR register is 0 (count stops).
Set the PROTECT bit in the TREPRC register to 1 (write enabled) before rewriting the TREMIN register.
Set values from 00 to 59 by the BCD code.
When the digit increments from the TRESEC 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 00171h
Address 00171h
Symbol
Symbol
Symbol
Symbol
MN00
MN01
MN02
MN03
MN10
MN11
MN12
MN0
MN1
MN2
MN3
MN4
MN5
MN6
MN7
MN7
Timer RE2 Compare Data Register (TREMIN)
in Compare Match Timer Mode
Timer RE2 Minute Data Register (TREMIN) in Real-Time Clock Mode
Bit
Bit
Preliminary document
Specifications in this document are tentative and subject to change.
Second digit of minute count bits
MN7
Compare data bit 0
Compare data bit 1
Compare data bit 2
Compare data bit 3
Compare data bit 4
Compare data bit 5
Compare data bit 6
Compare data bit 7
MN7
First digit of minute count bits
Set to 0.
b7
b7
0
0
0
0
MN12
MN6
b6
b6
Bit Name
0
0
0
0
Bit Name
MN11
MN5
b5
b5
0
0
0
0
MN10
MN4
b4
b4
0
0
0
0
Count from 0 to 9 every minute.
When the digit increments, 1 is
added to the second digit of
minutes.
minutes are counted.
When counting from 0 to 5, 60
The 8-bit compare data is stored.
Write the compare value.
MN03
MN3
b3
b3
0
0
0
0
Function
MN02
MN2
b2
b2
0
0
0
0
Function
MN01
MN1
b1
b1
0
0
0
0
0 to 9 (BCD code)
0 to 5 (BCD code)
Setting Range
MN00
MN0
b0
b0
0
0
0
0
Page 327 of 725
18. Timer RE2
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W

Related parts for r5f21368sdfp