Download Print this page

Renesas M16C/50 Series User Manual page 445

Advertisement

M16C/5L Group, M16C/56 Group
20.2.2
Real-Time Clock Minute Data Register (RTCMIN)
Real-Time Clock Minute Data Register
b7 b6 b5 b4
b3
b2
b1
MN03 to MN00 (First digit of minute count bit) (b3-b0)
MN12 to MN10 (Second digit of minute count bit) (b6-b4)
Set a value between 00 and 59 by the BCD code.
When the digit increments from the RTCSEC register, 1 is added.
These bits become 00 at compare match in compare mode 2 and compare mode 3.
Write to bits MN12 to MN10 and MN03 to MN00 in the RTCMIN register when bits TSTART and TCSTF
in the RTCCR1 register are both 0 (count stopped). Read these bits when the BSY bit in the RTCSEC
is 0 (not while data is updated).
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
Symbol
b0
RTCMIN
Bit Symbol
MN00
MN01
First digit of minute count bit
MN02
MN03
MN10
MN11
Second digit of minute count bit
MN12
Reserved bit
(b7)
Address
0341h
Bit Name
Count 0 to 9 every minute.
When the digit increments, 1
is added to the 2nd digit of
minute.
When counting 0 to 5, 60
minutes are counted.
The read value is undefined.
20. Real-Time Clock
Reset Value
X000 0000b
Setting
Function
Range
0 to 9
0 to 5
Page 408 of 803
RW
RW
RW
RW
RW
RW
RW
RW
RO

Advertisement

loading