English
Language : 

M16C65 Datasheet, PDF (444/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.4 Real-Time Clock Day Data Register (RTCWK)
20. Real-Time Clock
Real-Time Clock Day Data Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
RTCWK
Address
0343h
After Reset
XXXX X000b
Bit Symbol
Bit Name
Function
RW
b2 b1 b0
WK0
0 0 0 : Day 1
RW
0 0 1 : Day 2
0 1 0 : Day 3
WK1 Day count bit
0 1 1 : Day 4
RW
1 0 0 : Day 5
1 0 1 : Day 6
WK2
1 1 0 : Day 7
RW
1 1 1 : Do not set
—
(b6-b3)
No register bits. If necessary, set to 0. Read as undefined value
—
—
(b7)
Reserved bit
Read as undefined value
RO
WK2-WK0 (Day Count Bit) (b2-b0)
A week is counted by counting from 000b (Day 1) to 110b (Day 7) repeatedly. Do not set to 111b.
These bits become 000b at compare match in compare 2 mode and compare 3 mode.
Write to bits WK2 to WK0 in the RTCWK register when both bits TSTART and TCSTF in the RTCCR1
register are 0 (timer stops). Read when the BSY bit in the RTCSEC register is 0 (not while data is
updated).
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 409 of 791