dspic33fj128gp204 Microchip Technology Inc., dspic33fj128gp204 Datasheet - Page 196

no-image

dspic33fj128gp204

Manufacturer Part Number
dspic33fj128gp204
Description
High-performance, 16-bit Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
dspic33fj128gp204-E/ML
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
dspic33fj128gp204-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Company:
Part Number:
dspic33fj128gp204-E/PT
Quantity:
7
Part Number:
dspic33fj128gp204-I/ML
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
dspic33fj128gp204-I/ML
Manufacturer:
ST
0
Part Number:
dspic33fj128gp204-I/PT
Manufacturer:
MICROCHIP
Quantity:
148
Part Number:
dspic33fj128gp204-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
dspic33fj128gp204T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
15.1
Configure the Output Compare modes by setting the
appropriate Output Compare Mode (OCM<2:0>) bits in
the Output Compare Control (OCxCON<2:0>) register.
Table 15-1 lists the different bit settings for the Output
Compare modes. Figure 15-2 illustrates the output
compare operation for various modes. The user appli-
cation must disable the associated timer when writing
to the output compare control registers to avoid mal-
functions.
TABLE 15-1:
FIGURE 15-2:
DS70292C-page 194
OCM<2:0>
Continuous Pulse Mode
000
001
010
011
100
101
110
111
Active-High One-Shot
Active-Low One-Shot
(OCM = 110 or 111)
Delayed One-Shot
Output Compare Modes
(OCM = 011)
(OCM = 100)
Toggle Mode
(OCM = 101)
(OCM = 001)
(OCM = 010)
PWM Mode
Module Disabled
Active-Low One-Shot
Active-High One-Shot
Toggle Mode
Delayed One-Shot
Continuous Pulse mode
PWM mode without fault
protection
PWM mode with fault protection 0, if OCxR is zero
OUTPUT COMPARE MODES
TMRy
OUTPUT COMPARE OPERATION
OCxRS
OCxR
Mode
Output Compare
Mode enabled
Current output is maintained
0, if OCxR is zero
1, if OCxR is non-zero
1, if OCxR is non-zero
Controlled by GPIO register
Preliminary
OCx Pin Initial State
Timer is reset on
period match
0
1
0
0
Note 1: Only OC1 and OC2 can trigger a DMA
2: See Section 13. “Output Compare” in
data transfer.
the
Manual” (DS70209) for OCxR and
OCxRS register restrictions.
OCx Rising edge
OCx Falling edge
OCx Rising and Falling edge
OCx Falling edge
OCx Falling edge
No interrupt
OCFA Falling edge for OC1 to OC4
“dsPIC33F
OCx Interrupt Generation
© 2009 Microchip Technology Inc.
Family
Reference

Related parts for dspic33fj128gp204