English
Language : 

PIC32MX575F256H-80I Datasheet, PDF (129/236 Pages) Microchip Technology – High-Performance, USB, CAN and Ethernet 32-Bit Flash Microcontrollers
PIC32MX5XX/6XX/7XX
16.0 OUTPUT COMPARE
Note 1: This data sheet summarizes the features
of the PIC32MX5XX/6XX/7XX family of
devices. It is not intended to be a
comprehensive reference source. To
complement the information in this data
sheet, refer to Section 16. “Output
Capture” (DS61111) in the “PIC32MX
Family Reference Manual”, which is
available from the Microchip web site
(www.microchip.com/PIC32).
2: Some registers and associated bits
described in this section may not be avail-
able on all devices. Refer to Section 4.0
“Memory Organization” in this data
sheet for device-specific register and bit
information.
The Output Compare module (OCMP) is used to gen-
erate a single pulse or a train of pulses in response to
selected time base events. For all modes of operation,
the OCMP module compares the values stored in the
OCxR and/or the OCxRS registers to the value in the
selected timer. When a match occurs, the OCMP
module generates an event based on the selected
mode of operation.
The following are some of the key features:
• Multiple Output Compare Modules in a Device
• Programmable Interrupt Generation on Compare
Event
• Single and Dual Compare modes
• Single and Continuous Output Pulse Generation
• Pulse-Width Modulation (PWM) mode
• Hardware-Based PWM Fault Detection and
Automatic Output Disable
• Programmable Selection of 16-Bit or 32-Bit Time
Bases
• Can Operate from Either of Two Available 16-Bit
Time Bases or a Single 32-Bit Time Base
FIGURE 16-1:
OUTPUT COMPARE MODULE BLOCK DIAGRAM
Set Flag bit
OCxIF(1)
OCxRS(1)
OCxR(1)
Comparator
Output
Logic
3
OCM<2:0>
Mode Select
0
1
OCTSEL
0
1
16
16
SQ
R
Output Enable
OCx(1)
OCFA or OCFB(2)
TMR Register Inputs
from Time Bases(3)
Period Match Signals
from Time Bases(3)
Note 1: Where ‘x’ is shown, reference is made to the registers associated with the respective output compare channels,
1 through 5.
2: The OCFA pin controls the OC1-OC4 channels. The OCFB pin controls the OC5 channel.
3: Each output compare channel can use one of two selectable 16-bit time bases or a single 32-bit timer base.
 2010 Microchip Technology Inc.
Preliminary
DS61156C-page 129