DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

DSPIC33FJ32GP802-I/SP View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
DSPIC33FJ32GP802-I/SP
Microchip
Microchip Technology 
DSPIC33FJ32GP802-I/SP Datasheet PDF : 402 Pages
First Prev 191 192 193 194 195 196 197 198 199 200 Next Last
dsPIC33FJ32GP302/304, dsPIC33FJ64GPX02/X04, AND dsPIC33FJ128GPX02/X04
15.1 Output Compare Modes
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.
Note 1: Only OC1 and OC2 can trigger a DMA
data transfer.
2: See Section 13. “Output Compare” in
the “dsPIC33F/PIC24H Family Reference
Manual” (DS70209) for OCxR and
OCxRS register restrictions.
TABLE 15-1: OUTPUT COMPARE MODES
OCM<2:0>
Mode
OCx Pin Initial State
000 Module Disabled
Controlled by GPIO register
001 Active-Low One-Shot
0
010 Active-High One-Shot
1
011 Toggle Mode
Current output is maintained
100 Delayed One-Shot
0
101 Continuous Pulse mode
0
110 PWM mode without fault
protection
0, if OCxR is zero
1, if OCxR is non-zero
111 PWM mode with fault protection 0, if OCxR is zero
1, if OCxR is non-zero
OCx Interrupt Generation
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
FIGURE 15-2:
OUTPUT COMPARE OPERATION
Output Compare
Mode enabled
Timer is reset on
period match
OCxRS
TMRy
OCxR
Active-Low One-Shot
(OCM = 001)
Active-High One-Shot
(OCM = 010)
Toggle Mode
(OCM = 011)
Delayed One-Shot
(OCM = 100)
Continuous Pulse Mode
(OCM = 101)
PWM Mode
(OCM = 110 or 111)
DS70292D-page 198
Preliminary
2009 Microchip Technology Inc.

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]