dspic33fj128mc706at-i-pt Microchip Technology Inc., dspic33fj128mc706at-i-pt Datasheet - Page 175

no-image

dspic33fj128mc706at-i-pt

Manufacturer Part Number
dspic33fj128mc706at-i-pt
Description
High-performance, 16-bit Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet
15.0
The output compare module can select either Timer2
or Timer3 for its time base. The module compares the
value of the timer with the value of one or two Compare
registers depending on the operating mode selected.
FIGURE 15-1:
© 2009 Microchip Technology Inc.
Note:
OUTPUT COMPARE
Note 1:
This data sheet summarizes the features
of
X10A families of devices. It is not intended
to be a comprehensive reference source.
To complement the information in this data
sheet, refer to the “dsPIC33F Family
Reference Manual”, Section 13. “Output
Compare” (DS70209), which is available
on
(www.microchip.com).
2: The OCFA pin controls OC1 through OC4. The OCFB pin controls OC5 through OC8.
the
the
An ‘x’ in a signal, register or bit name denotes the number of the output compare channels.
OUTPUT COMPARE MODULE BLOCK DIAGRAM
dsPIC33FJXXXMCX06A/X08A/
16
TMR2
dsPIC33FJXXXMCX06A/X08A/X10A
Comparator
OCxRS
Microchip
OCxR
0
TMR3
(1)
(1)
1
16
OCTSEL
web
Rollover Rollover
TMR2
site
Preliminary
0
TMR3
1
The state of the output pin changes when the timer
value matches the Compare register value. The output
compare module generates either a single output
pulse, or a sequence of output pulses, by changing the
state of the output pin on the compare match events.
The output compare module can also generate
interrupts on compare match events.
The output compare module has multiple operating
modes:
• Active-Low One-Shot mode
• Active-High One-Shot mode
• Toggle mode
• Delayed One-Shot mode
• Continuous Pulse mode
• PWM mode without Fault Protection
• PWM mode with Fault Protection
Mode Select
OCM<2:0>
Output
Logic
3
Set Flag bit
OCxIF
(1)
S
R
Q
Output Enable
DS70594A-page 173
OCx
OCFA
or
OCFB
(1)
(2)

Related parts for dspic33fj128mc706at-i-pt