REGISTER SUMMARY
M68HC16 Z SERIES
D-12
USER’S MANUAL
D.2.12 System Protection Control Register
This register controls system monitor functions, software watchdog clock prescaling,
and bus monitor timing. This register can be written once following power-on or reset.
Bits [15:8] are unimplemented and will always read zero.
SWE — Software Watchdog Enable
0 = Software watchdog is disabled.
1 = Software watchdog is enabled.
SWP — Software Watchdog Prescaler
This bit controls the value of the software watchdog prescaler.
0 = Software watchdog clock is not prescaled.
1 = Software watchdog clock is prescaled by 512.
The reset value of SWP is the complement of the state of the MODCLK pin during
reset.
SWT[1:0] — Software Watchdog Timing
This field selects the divide ratio used to establish the software watchdog time-out pe-
riod. Refer to
The following equation calculates the time-out period for a slow reference frequency,
where f
ref
is equal to the EXTAL crystal frequency.
The following equation calculates the time-out period for a fast reference frequency,
where f
ref
is equal to the EXTAL crystal frequency.
SYPCR — System Protection Control Register
$YFFA20
15
8
7
6
5
4
3
2
1
0
NOT USED
SWE
SWP
SWT[1:0]
HME
BME
BMT[1:0]
RESET:
1
MODCLK
0
0
0
0
0
0
Table D-6 Software Watchdog Divide Ratio
SWP
SWT[1:0]
Divide Ratio
0
00
2
9
0
01
2
11
0
10
2
13
0
11
2
15
1
00
2
18
1
01
2
20
1
10
2
22
1
11
2
24
Time-out Period
Divide Ratio Specified by SWP and SWT[1:0]
f
ref
------------------------------------------------------------------------------------------------------------------------
=
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..