Download Print this page

Renesas M16C/50 Series User Manual page 461

Advertisement

M16C/5L Group, M16C/56 Group
BSY bit
TSTART bit in the
RTCCR1 register
TCSTF bit in the
RTCCR1 register
RTCSEC
RTCMIN
RTCHR
RTCPM bit
RTCOUT pin output
Low is output when the RTCOUT pin is used first,
e.g., after reset. When count stops after selecting
the RTCOUT pin, the state before stop is retained.
The above assumes the following:
The TOENA bit in the RTCCR1 register is 1 (compare output enabled).
Bits RTCCMP1 to RTCCMP0 in the RTCCR2 register are 01b (compare mode 1).
BSY bit: Bit in RTCSEC register
RTCSEC: Bits SC12 to SC10 and SC03 to SC00 in RTCSEC register
RTCMIN: Bits MN12 to MN10 and MN03 to MN00 in RTCMIN register
RTCHR: Bits HR11 to HR10 and HR03 to HR00 in RTCHR register
RTCPM bit: Bit in RTCCR1 register
Figure 20.7
Count Start/Stop Operating Example
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
1 s
Set to 1 by a program
Count
started
44
Undefined
2
3
1
0
Low is output after counting starts.
1 s
45
46
Undefined
20. Real-Time Clock
Set to 0 by a program
Count stopped
The state before
stop is retained.
Page 424 of 803

Advertisement

loading