Intel 8XC196MC User Manual page 11

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL
10.5.2
Reading the Current Value of the Down-counter ....................................................10-7
10.5.3
Enabling the PWM Outputs .....................................................................................10-8
10.5.4
Generating Analog Outputs ..................................................................................10-10
CHAPTER 11
11.1
EPA FUNCTIONAL OVERVIEW ................................................................................. 11-1
11.2
EPA AND TIMER/COUNTER SIGNALS AND REGISTERS ....................................... 11-2
11.3
TIMER/COUNTER FUNCTIONAL OVERVIEW........................................................... 11-5
11.3.1
Cascade Mode (Timer 2 Only) ................................................................................11-7
11.3.2
Quadrature Clocking Modes ...................................................................................11-7
11.4
EPA CHANNEL FUNCTIONAL OVERVIEW ............................................................... 11-9
11.4.1
Operating in Capture Mode ...................................................................................11-10
11.4.1.1
EPA Overruns ..................................................................................................11-12
11.4.1.2
Preventing EPA Overruns ................................................................................11-13
11.4.2
Operating in Compare Mode .................................................................................11-13
11.4.2.1
Generating a Low-speed PWM Output ............................................................11-13
11.4.2.2
Generating the Highest-speed PWM Output ....................................................11-14
11.5
PROGRAMMING THE EPA AND TIMER/COUNTERS............................................. 11-15
11.5.1
Configuring the EPA and Timer/Counter Signals ..................................................11-15
11.5.2
Programming the Timers .......................................................................................11-15
11.5.3
Programming the Capture/Compare Channels .....................................................11-18
11.5.4
Programming the Compare-only Channels ...........................................................11-22
11.6
ENABLING THE EPA INTERRUPTS ........................................................................ 11-23
11.7
DETERMINING EVENT STATUS.............................................................................. 11-24
CHAPTER 12
12.1
A/D CONVERTER FUNCTIONAL OVERVIEW ........................................................... 12-1
12.2
A/D CONVERTER SIGNALS AND REGISTERS ........................................................ 12-2
12.3
A/D CONVERTER OPERATION ................................................................................. 12-3
12.4
PROGRAMMING THE A/D CONVERTER .................................................................. 12-4
12.4.1
Programming the A/D Test Register .......................................................................12-5
12.4.2
12.4.3
Programming the A/D Time Register ......................................................................12-6
12.4.4
Programming the A/D Command Register ..............................................................12-7
12.4.5
Enabling the A/D Interrupt .......................................................................................12-8
12.5
DETERMINING A/D STATUS AND CONVERSION RESULTS .................................. 12-9
12.6
DESIGN CONSIDERATIONS.................................................................................... 12-10
12.6.1
Designing External Interface Circuitry ...................................................................12-10
12.6.1.1
Minimizing the Effect of High Input Source Resistance ....................................12-11
12.6.1.2
Suggested A/D Input Circuit .............................................................................12-12
12.6.1.3
Analog Ground and Reference Voltages .........................................................12-12
viii
Get other manuals https://www.bkmanuals.com

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents