Real-Time Counter (S08RTCV1)
MC9S08QE128 MCU Series Reference Manual, Rev. 2
Freescale Semiconductor
243
13.3.2
RTC Counter Register (RTCCNT)
RTCCNT is the read-only value of the current RTC count of the 8-bit counter.
13.3.3
RTC Modulo Register (RTCMOD)
7
6
5
4
3
2
1
0
R
RTCCNT
W
Reset:
0
0
0
0
0
0
0
0
Figure 13-4. RTC Counter Register (RTCCNT)
Table 13-4. RTCCNT Field Description
Field
Description
7:0
RTCCNT
RTC Count— These eight read-only bits contain the current value of the 8-bit counter. Writes have no effect to this
register. Reset, writing to RTCMOD, or writing different values to RTCLKS and RTCPS clear the count to 0x00.
7
6
5
4
3
2
1
0
R
RTCMOD
W
Reset:
0
0
0
0
0
0
0
0
Figure 13-5. RTC Modulo Register (RTCMOD)
Table 13-5. RTCMOD Field Descriptions
Field
Description
7:0
RTCMOD
RTC Modulo — These eight read/write bits contain the modulo value used to reset the count to 0x00 upon a
compare match and set the RTIF status bit. A value of 0x00 sets the RTIF bit on each rising edge of the prescaler
output. Writing to RTCMOD resets the prescaler and the RTCCNT counters to 0x00. Reset sets the modulo to
0x00.
Summary of Contents for MC9S08QE128
Page 2: ......
Page 4: ......
Page 320: ...Development Support MC9S08QE128 MCU Series Reference Manual Rev 2 320 Freescale Semiconductor ...