System Configuration and Protection
MPC561/MPC563 Reference Manual, Rev. 1.2
6-42
Freescale Semiconductor
6.2.2.4.4
Time Base Control and Status Register (TBSCR)
The TBSCR is 16-bit read/write register. It controls the TB, decrementer count enable, and interrupt
generation and is used for reporting the source of the interrupts. The register can be read anytime. A status
bit is cleared by writing a one to it. (Writing a zero has no effect.) More than one bit can be cleared at a time.
6.2.2.4.5
Real-Time Clock Status and Control Register (RTCSC)
The RTCSC enables the different RTC functions and reports the source of the interrupts. The register can
be read anytime. A status bit is cleared by writing a one to it. (Writing a zero does not affect a status bit’s
value.) More than one status bit can be cleared at a time. This register is locked after reset by default.
Unlocking is accomplished by writing 0x55CC AA33 to its associated key register. See
“Keep-Alive Power Registers Lock Mechanism
MSB
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LSB
15
Field
TBIRQ
REFA REFB
—
REFAE
REFBE
TBF
TBE
PORESET
0000_0000_0000_0000
Addr
0x2F C200
Figure 6-34. Time Base Control and Status Register (TBSCR)
Table 6-18. TBSCR Bit Descriptions
Bits
Name
Description
0:7
TBIRQ
Time base interrupt request. These bits determine the interrupt priority level of the time base.
Refer to
Section 6.1.4, “Enhanced Interrupt Controller
” for interrupt level encoding.
8
REFA
Reference A (TBREF0) interrupt status.
0 No match detected
1 TBREF0 value matches value in TBL
9
REFB
Reference B (TBREF1) interrupt status.
0 No match detected
1 TBREF1 value matches value in TBL
10:11
—
Reserved
12
REFAE
Reference A (TBREF0) interrupt enable. If this bit is set, the time base generates an interrupt
when the REFA bit is set.
13
REFBE
Reference B (TBREF1) interrupt enable. If this bit is set, the time base generates an interrupt
when the REFB bit is set.
14
TBF
Time base freeze. If this bit is set, the time base and decrementer stop while FREEZE is
asserted.
15
TBE
Time base enable
0 Time base and decrementer are disabled
1 Time base and decrementer are enabled
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...