![Intel 8XC196NT User Manual Download Page 10](http://html1.mh-extra.com/html/intel/8xc196nt/8xc196nt_user-manual_2072210010.webp)
ix
CONTENTS
10.3.2
Quadrature Clocking Mode .....................................................................................10-7
10.4
EPA CHANNEL FUNCTIONAL OVERVIEW ............................................................... 10-9
10.4.1
Operating in Capture Mode ...................................................................................10-11
10.4.1.1
Handling EPA Overruns ...................................................................................10-12
10.4.2
Operating in Compare Mode .................................................................................10-13
10.4.2.1
Generating a Low-speed PWM Output ............................................................10-14
10.4.2.2
Generating a Medium-speed PWM Output ......................................................10-15
10.4.2.3
Generating a High-speed PWM Output ...........................................................10-16
10.4.2.4
Generating the Highest-speed PWM Output ....................................................10-16
10.5
PROGRAMMING THE EPA AND TIMER/COUNTERS............................................. 10-17
10.5.1
Configuring the EPA and Timer/Counter Port Pins ...............................................10-17
10.5.2
Programming the Timers .......................................................................................10-17
10.5.3
Programming the Capture/Compare Channels .....................................................10-20
10.5.4
Programming the Compare-only Channels ...........................................................10-25
10.6
ENABLING THE EPA INTERRUPTS ........................................................................ 10-26
10.7
DETERMINING EVENT STATUS.............................................................................. 10-27
10.8
SERVICING THE MULTIPLEXED EPA INTERRUPT WITH SOFTWARE................ 10-29
10.8.1
Using the TIJMP Instruction to Reduce Interrupt Service Overhead ....................10-31
10.9
PROGRAMMING EXAMPLES FOR EPA CHANNELS ............................................. 10-33
10.9.1
EPA Compare Event Program ..............................................................................10-33
10.9.2
EPA Capture Event Program ................................................................................10-34
10.9.3
EPA PWM Output Program ..................................................................................10-35
CHAPTER 11
ANALOG-TO-DIGITAL CONVERTER
11.1
A/D CONVERTER FUNCTIONAL OVERVIEW ........................................................... 11-1
11.2
A/D CONVERTER SIGNALS AND REGISTERS ........................................................ 11-2
11.3
A/D CONVERTER OPERATION ................................................................................. 11-3
11.4
PROGRAMMING THE A/D CONVERTER .................................................................. 11-4
11.4.1
Programming the A/D Test Register .......................................................................11-5
11.4.2
Programming the A/D Result Register (for Threshold Detection Only) ...................11-6
11.4.3
Programming the A/D Time Register ......................................................................11-6
11.4.4
Programming the A/D Command Register ..............................................................11-8
11.4.5
Enabling the A/D Interrupt .......................................................................................11-9
11.5
DETERMINING A/D STATUS AND CONVERSION RESULTS .................................. 11-9
11.6
DESIGN CONSIDERATIONS.................................................................................... 11-10
11.6.1
Designing External Interface Circuitry ...................................................................11-11
11.6.1.1
Minimizing the Effect of High Input Source Resistance ....................................11-12
11.6.1.2
Suggested A/D Input Circuit .............................................................................11-13
11.6.1.3
Analog Ground and Reference Voltages .........................................................11-13
11.6.1.4
Using Mixed Analog and Digital Inputs ............................................................11-14
11.6.2
Understanding A/D Conversion Errors ..................................................................11-14
Summary of Contents for 8XC196NT
Page 1: ...8XC196NT Microcontroller User s Manual...
Page 2: ...8XC196NT Microcontroller User s Manual June 1995 Order Number 272317 003...
Page 22: ...1 Guide to This Manual...
Page 23: ......
Page 35: ......
Page 36: ...2 Architectural Overview...
Page 37: ......
Page 49: ......
Page 50: ...3 Programming Considerations...
Page 51: ......
Page 66: ...4 Memory Partitions...
Page 67: ......
Page 104: ...5 Standard and PTS Interrupts...
Page 105: ......
Page 147: ......
Page 148: ...6 I O Ports...
Page 149: ......
Page 176: ...7 Serial I O SIO Port...
Page 177: ......
Page 194: ...8 Synchronous Serial I O SSIO Port...
Page 195: ......
Page 211: ......
Page 212: ...9 Slave Port...
Page 213: ......
Page 231: ......
Page 232: ...10 Event Processor Array EPA...
Page 233: ......
Page 270: ...11 Analog to digital Converter...
Page 271: ......
Page 291: ......
Page 292: ...12 Minimum Hardware Considerations...
Page 293: ......
Page 306: ...13 Special Operating Modes...
Page 307: ......
Page 317: ......
Page 318: ...14 Interfacing with External Memory...
Page 319: ......
Page 362: ...15 Programming the Nonvolatile Memory...
Page 363: ......
Page 408: ...A Instruction Set Reference...
Page 409: ......
Page 476: ...B Signal Descriptions...
Page 477: ......
Page 493: ......
Page 494: ...C Registers...
Page 495: ......
Page 565: ......
Page 566: ...Glossary...
Page 567: ......
Page 580: ...Index...
Page 581: ......
Page 597: ......