Chapter 27 Functional Safety
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
755
27.3.5.2
SWT Interrupt Register (SWT_IR)
The SWT_IR contains the time-out interrupt flag.
SLK
Soft Lock
This bit is cleared by writing the unlock sequence to the service register.
0 SWT_CR, SWT_TO and SWT_WN are read/write registers if HLK = 0.
1 SWT_CR, SWT_TO and SWT_WN are read only registers.
CSL
Clock Selection
Selects the internal 16 MHz IRC oscillator clock that drives the internal timer.
CSL bit can be written.The status of the bit has no effect on counter clock selection on the device.
0 System clock. (Not applicable in MPC5602P).
1 Oscillator clock.
STP
Stop Mode Control
Allows the watchdog timer to be stopped when the device enters stop mode.
0 SWT counter continues to run in stop mode.
1 SWT counter is stopped in stop mode.
FRZ
Debug Mode Control
Allows the watchdog timer to be stopped when the device enters debug mode.
0 SWT counter continues to run in debug mode.
1 SWT counter is stopped in debug mode.
WEN
Watchdog Enabled
0 SWT is disabled.
1 SWT is enabled.
Address: Base + 0x0004
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
TIF
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 27-12. SWT Interrupt Register (SWT_IR)
Table 27-7. SWT_IR field descriptions
Field
Description
TIF
Time-out Interrupt Flag
The flag and interrupt are cleared by writing a 1 to this bit. Writing a 0 has no effect.
0 No interrupt request.
1 Interrupt request due to an initial time-out.
Table 27-6. SWT_CR field descriptions (continued)
Field
Description