EasyManuals Logo

Intel 8XC251SA User Manual

Intel 8XC251SA
458 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #411 background imageLoading...
Page #411 background image
C-9
REGISTERS
CCAPM
x
(
x
= 0–4)
Address: CCAPM0 S:DAH
CCAPM1 S:DBH
CCAPM2 S:DCH
CCAPM3 S:DDH
CCAPM4 S:DEH
Reset State: X000 0000B
PCA Compare/Capture Module Mode Registers. These five registers select the operating mode of the
corresponding compare/capture module. Each register also contains an enable interrupt bit (ECCFx)
for generating an interrupt request when the module’s compare/capture flag (CCF
x
in the CCON
register) is set. See Table 9-3 on page 9-14 for mode select bit combinations.
7 0
— ECOM
x
CAPP
x
CAPN
x
MAT
x
TOG
x
PWM
x
ECCF
x
Bit
Number
Bit
Mnemonic
Function
7 — Reserved:
The value read from this bit is indeterminate. Write a zero to this bit.
6 ECOM
x
Compare Modes:
ECOM
x
= 1 enables the module comparator function. The comparator is
used to implement the software timer, high-speed output, pulse width
modulation, and watchdog timer modes.
5CAPP
x
Capture Mode (Positive):
CAPP
x
= 1 enables the capture function with capture triggered by a
positive edge on pin CEX
x
.
4CAPN
x
Capture Mode (Negative):
CAPN
x
= 1 enables the capture function with capture triggered by a
negative edge on pin CEX
x
.
3MAT
x
Match:
Set ECOM
x
and MAT
x
to implement the software timer mode. When
MAT
x
= 1, a match of the PCA timer/counter with the compare/capture
register sets the CCF
x
bit in the CCON register, flagging an interrupt.
2TOG
x
Toggle:
Set ECOM
x,
MAT
x
, and TOG
x
to implement the high-speed output
mode. When TOG
x
= 1, a match of the PCA timer/counter with the
compare/capture register toggles the CEX
x
pin.
1PWM
x
Pulse Width Modulation Mode:
PWM
x
= 1 configures the module for operation as an 8-bit pulse width
modulator with output waveform on the CEX
x
pin.
0 ECCF
x
Enable CCF
x
Interrupt:
Enables compare/capture flag CCF
x
in the CCON register to generate
an interrupt request.

Table of Contents

Other manuals for Intel 8XC251SA

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Intel 8XC251SA and is the answer not in the manual?

Intel 8XC251SA Specifications

General IconGeneral
BrandIntel
Model8XC251SA
CategoryMicrocontrollers
LanguageEnglish

Related product manuals