EasyManua.ls Logo

Motorola MPC823e - Real-Time Clock Alarm Seconds Register

Motorola MPC823e
1353 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
System Interface Unit
12-20 MPC823e REFERENCE MANUAL MOTOROLA
SYSTEM INTERFACE UNIT
12
12.7.3 Real-Time Clock Alarm Seconds Register
The 32-bit real-time clock alarm seconds register (RTSEC) contains the value which divides
the oscillator by 8,192 or 9,600 to generate one clock per second. This register is cleared
when the RTC register is written. Under normal conditions (RTCSC[38K] = 0), PITRTCLK is
assumed to be 8,192 Hz (4.192 MHz/512 or 32.768 KHz/4). RTSEC resets at 8,192 and
increments RTC. Thus, RTC contains the time in seconds and RTSEC functions as a pre-
divider. For a 38.4KHz crystal (instead of 32.768KHz), RTCSC[38K] must be set to make
RTSEC reset at 9,600 instead of 8,192.
COUNTER—Clock Seconds
Counter bits (fraction of a second). Bit 13 is always the LSB of the count. 8,192 = the 38K
field of the RTCSC is set to zero. PITRTCLK is assumed to be 8192Hz (4.192MHz/512 or
32.768KHz/4). 9600 = the 38K field of the RTCSC is set to one. PITRTCLK is assumed to
be 9,600Hz (38.4KHz/4).
Bits 14–31—Reserved
These bits are reserved and must be set to 0.
RTSEC
BIT 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FIELD COUNTER RES
RESET ——
R/W R/W R/W
ADDR (IMMR & 0xFFFF0000) + 0x228
BIT 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
FIELD RESERVED
RESET
R/W R/W
ADDR (IMMR & 0xFFFF0000) + 0x22A
NOTE: — = Undefined.

Table of Contents

Related product manuals