8XC251SA, SB, SP, SQ USER’S MANUAL
9-10
The PCA WDT generates a reset signal each time a match occurs. To hold off a PCA WDT reset,
the user has three options:
•
periodically change the comparison value in CCAP4H/CCAP4L so a match never occurs
•
periodically change the PCA timer/counter value so a match never occurs
•
disable the module 4 reset output signal by clearing the WDTE bit before a match occurs,
then later re-enable it
The first two options are more reliable because the WDT is not disabled as in the third option.
The second option is not recommended if other PCA modules are in use, since the five modules
share a common time base. Thus, in most applications the first option is the best one.
Figure 9-4. PCA Watchdog Timer Mode
A4165-01
CCAP4H
(8 Bits)
CCAP4L
(8 Bits)
CH
(8 Bits)
CL
(8 Bits)
X
ECOM4
0
0
X
0
X
1
WDTE
PCA Timer/Counter
PCA WDT Reset
0
7
CCAPM4
Mode Register
X = Don't Care
Compare/Capture
Module
16-Bit
Comparator
Count
Input
Reset
Write to
CCAP4L
"0"
Match
"1"
Write to CCAP4H
Enable
CMOD.6
Содержание 8XC251SA
Страница 2: ......
Страница 3: ...May 1996 8XC251SA 8XC251SB 8XC251SP 8XC251SQ Embedded Microcontroller User s Manual...
Страница 18: ......
Страница 19: ...1 Guide to This Manual...
Страница 20: ......
Страница 30: ......
Страница 31: ...2 Architectural Overview...
Страница 32: ......
Страница 41: ...3 Address Spaces...
Страница 42: ......
Страница 63: ...4 Device Configuration...
Страница 64: ......
Страница 81: ...5 Programming...
Страница 82: ......
Страница 102: ......
Страница 103: ...6 Interrupt System...
Страница 104: ......
Страница 120: ......
Страница 121: ...7 Input Output Ports...
Страница 122: ......
Страница 132: ......
Страница 133: ...8 Timer Counters and Watchdog Timer...
Страница 134: ......
Страница 153: ...9 Programmable Counter Array...
Страница 154: ......
Страница 170: ......
Страница 171: ...10 Serial I O Port...
Страница 172: ......
Страница 187: ...11 Minimum Hardware Setup...
Страница 188: ......
Страница 197: ...12 Special Operating Modes...
Страница 198: ......
Страница 206: ......
Страница 207: ...13 External Memory Interface...
Страница 208: ......
Страница 239: ...14 Programming and Verifying Nonvolatile Memory...
Страница 240: ......
Страница 250: ......
Страница 251: ...A Instruction Set Reference...
Страница 252: ......
Страница 390: ......
Страница 391: ...B Signal Descriptions...
Страница 392: ......
Страница 400: ......
Страница 401: ...C Registers...
Страница 402: ......
Страница 436: ......
Страница 437: ...Glossary...
Страница 438: ......
Страница 446: ......
Страница 447: ...Index...
Страница 448: ......
Страница 458: ......