
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
Table of Contents
Page
User’s Manual
I-3
V2.2, 2004-01
Interrupt and Trap Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1 [1]
Interrupt Arbitration and Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4 [1]
Operation of the Peripheral Event Controller Channels . . . . . . . . . . 5-18 [1]
The PEC Source and Destination Pointers . . . . . . . . . . . . . . . . . . 5-22 [1]
PEC Transfer Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-24 [1]
Channel Link Mode for Data Chaining . . . . . . . . . . . . . . . . . . . . . . 5-26 [1]
PEC Interrupt Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-27 [1]
Prioritization of Interrupt and PEC Service Requests . . . . . . . . . . . . 5-29 [1]
Context Switching and Saving Status . . . . . . . . . . . . . . . . . . . . . . . . 5-31 [1]
Service Request Latency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-41 [1]
General System Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . 6-1 [1]
Reset Sources and Phases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-3 [1]
Application-Specific Initialization Routine . . . . . . . . . . . . . . . . . . . 6-11 [1]
System Startup Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-14 [1]
Hardware Configuration in External Start Mode . . . . . . . . . . . . . . 6-18 [1]
Default Configuration in Single-Chip Mode . . . . . . . . . . . . . . . . . . 6-23 [1]
Reset Behavior Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-24 [1]
Clock Generation and Frequency Control . . . . . . . . . . . . . . . . . . . 6-30 [1]
Oscillator Watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-38 [1]
Generation of an External Clock Signal . . . . . . . . . . . . . . . . . . . . 6-39 [1]
Central System Control Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-43 [1]
Reset Source Indication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-46 [1]
Peripheral Shutdown Handshake . . . . . . . . . . . . . . . . . . . . . . . . . 6-47 [1]
Flexible Peripheral Management . . . . . . . . . . . . . . . . . . . . . . . . . . 6-47 [1]
Debug System Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-49 [1]
Register Security Mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-51 [1]
Watchdog Timer (WDT) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-55 [1]