English
Language : 

PIC32MX440F256H-80I Datasheet, PDF (384/646 Pages) Microchip Technology – 64/100-Pin General Purpose and USB 32-Bit Flash Microcontrollers
PIC32MX3XX/4XX
16.6 Output Compare Register I/O Pin
Control
When the output compare module is enabled, the I/O
pin direction is controlled by the compare module. The
compare module returns the I/O pin control back to the
appropriate pin LAT and TRIS control bits when it is
disabled.
When the PWM with Fault Protection Input mode is
enabled, the OCFx Fault pin must be configured as an
input by setting the respective TRIS SFR bit. The OCFx
Fault input pin is not automatically configured as an
input when PWM with Fault Input mode is selected.
TABLE 16-18: PINS ASSOCIATED WITH OUTPUT COMPARE MODULES 1- 5
Pin Name
Module
Control
Controlling
Bit Field
Required
TRIS bit
Setting
Pin
Type
Buffer
Type
Description
OC1
ON(2)
OCM<2:0>(1,3)
—
D, O
— Output Compare/PWM Channel 1
OC2
ON(2)
OCM<2:0>(1,3)
—
D, O
— Output Compare/PWM Channel 2
OC3
ON(2)
OCM<2:0>(1,3)
—
D, O
— Output Compare/PWM Channel 3
OC4
ON(2)
OCM<2:0>(1,3)
—
D, O
— Output Compare/PWM Channel 4
OC5
ON(2)
OCM<2:0>(1,3)
—
D, O
— Output Compare/PWM Channel 5
OCFA
ON(2)
OCM<2:0>(1,3)
Input
D, I
ST PWM Fault Protection A Input
(For Channels 1-4)(4)
OCFB
ON(2)
OCM<2:0>(1,3)
Input
D, I
ST PWM Fault Protection B Input
(For Channel 5)(4)
Legend: ST = Schmitt Trigger input with CMOS levels, I = Input, O = Output, A = Analog, D = Digital
Note 1: All pins are subject to device pin priority control.
2: ON (OCxCON<15>) = 1. When the module is turned off, pins controlled by the module are released.
3: Mode select bits OCM<2:0> (CMxCON<2:0>).
4: Use of PWM Fault input is optional and is controlled by the OCM bits.
DS61143E-page 382
Preliminary
© 2008 Microchip Technology Inc.