English
Language : 

M16C65 Datasheet, PDF (441/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
20.2.1 Real-Time Clock Second Data Register (RTCSEC)
20. Real-Time Clock
Real-Time Clock Second Data Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
RTCSEC
Address
0340h
Bit Symbol
Bit Name
SC00
Function
After Reset
00h
Setting
Range
RW
RW
SC01
Count 0 to 9 every second.
RW
1st digit of second count bit
When the digit moves up, 1
is added to the 2nd digit of
0 to 9
SC02
second
RW
SC03
RW
SC10
RW
SC11
2nd digit of second count bit
When counting 0 to 5, 60
seconds are counted
0 to 5
RW
SC12
RW
This bit is 1 while registers RTCSEC,
BSY Real-time clock busy flag
RTCMIN, RTCHR or RTCWK are
RO
updated
SC03-SC00 (1st Digit of Second Count Bit) (b3-b0)
SC12-SC10 (2nd Digit of Second Count Bit) (b6-b4)
Set a value between 00 and 59 by the BCD codes.
These bits become 00 at compare match in compare 2 mode and compare 3 mode.
Write to bits SC12 to SC10 and SC03 to SC00 in the RTCSEC register when both bits TSTART and
TCSTF in the RTCCR1 register are 0 (timer stops). Read when the BSY bit is 0 (not while data is
updated).
BSY (Real-Time Clock Busy Flag) (b7)
This bit is 1 while data is updated. Read the following bits when the BSY bit is 0 (not while data is
updated).
• Bits SC12 to SC10 and SC03 to SC00 in the RTCSEC register
• Bits MN12 to MN10 and MN03 to MN00 in the RTCMIN register
• Bits HR11 to HR10 and HR03 to HR00 in the RTCHR register
• Bits WK2 to WK0 in the RTCWK register
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 406 of 791