Rtc Modulo Register: High (Rtc_Modh); Rtc Modulo Register: Low (Rtc_Modl) - Freescale Semiconductor MC9S08PT60 Reference Manual

Table of Contents

Advertisement

Field
010
If RTCLKS = x0, it is 2; if RTCLKS = x1, it is 256.
011
If RTCLKS = x0, it is 4; if RTCLKS = x1, it is 512.
100
If RTCLKS = x0, it is 8; if RTCLKS = x1, it is 1024.
101
If RTCLKS = x0, it is 16; if RTCLKS = x1, it is 2048.
110
If RTCLKS = x0, it is 32; if RTCLKS = x1, it is 100.
111
If RTCLKS = x0, it is 64; if RTCLKS = x1, it is 1000.

14.4.3 RTC Modulo Register: High (RTC_MODH)

RTC_MODH, together with RTC_MODL, indicates the value of the 16-bit modulo
value.
Address: 306Ah base + 2h offset = 306Ch
Bit
7
Read
Write
Reset
0
Field
MODH
RTC Modulo High
These sixteen read/write bits, MODH and MODL, contain the modulo value used to reset the count to
0x0000 upon a compare match and set the RTIF status bit. A value of 0x00 of the MODH an MODL sets
the RTIF bit on each rising edge of the prescaler output. Reset sets the modulo to 0x00.

14.4.4 RTC Modulo Register: Low (RTC_MODL)

RTC_MODL, together with RTC_MODH, indicates the value of the 16-bit modulo
value.
Address: 306Ah base + 3h offset = 306Dh
Bit
7
Read
Write
Reset
0
Field
MODL
RTC Modulo Low
Freescale Semiconductor, Inc.
RTC_SC2 field descriptions (continued)
6
5
4
0
0
0
RTC_MODH field descriptions
6
5
4
0
0
0
RTC_MODL field descriptions
MC9S08PT60 Reference Manual, Rev. 4, 08/2014
Chapter 14 Real-time counter (RTC)
Description
3
2
MODH
0
0
Description
3
2
MODL
0
0
Description
1
0
0
0
1
0
0
0
409

Advertisement

Table of Contents
loading

Table of Contents