EasyManua.ls Logo

Motorola MPC823e - Real-Time Clock Status and Control 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-18 MPC823e REFERENCE MANUAL MOTOROLA
SYSTEM INTERFACE UNIT
12
12.7.1 Real-Time Clock Status and Control Register
The real-time clock status and control (RTCSC) register is used to enable the different
real-time clock functions and for reporting the source of the interrupts. A status bit is cleared
by writing a 1 (writing a zero has no effect) and more than one status bit can be cleared at
a time. This register can be read at any time.
RTCIRQ—Real-Time Clock Interrupt Request
This field controls the real-time clock’s interrupt priority level.
SEC—Once Per Second Interrupt
This status bit is set every second and must be cleared by the software.
ALR—Alarm Interrupt
This status bit is set when the value of the real-time clock is equal to the value programmed
in the RTCAL register.
Bit 10—Reserved
This bit is reserved and must be set to 0.
38K—Real-Time Clock Source Select
The software must set this bit to get the proper timing of a second.
0 = Assumes that it is driven by a 32.768kHz crystal
1 = Assumes that it is driven by a 38.4kHz crystal.
SIE—Seconds Interrupt Enable
This bit allows the real-time clock to generate an interrupt when the SEC bit is set.
0 = Disables seconds interrupt.
1 = The real-time clock generates an interrupt.
RTCSC
BIT 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FIELD RTCIRQ SEC ALR RES 38K SIE ALE RTF RTE
RESET 0 000000
R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
ADDR (IMMR & 0xFFFF0000) + 0x220
NOTE: — = Undefined.

Table of Contents

Related product manuals