pic32mx320f032h Microchip Technology Inc., pic32mx320f032h Datasheet - Page 81

no-image

pic32mx320f032h

Manufacturer Part Number
pic32mx320f032h
Description
64/100-pin General Purpose And Usb 32-bit Flash Microcontrollers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pic32mx320f032h-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f032h-40V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f032hT-40I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
pic32mx320f032hT-40V/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
16.0
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 mod-
ule generates an event based on the selected mode of
operation.
FIGURE 16-1:
© 2009 Microchip Technology Inc.
Note:
Note 1: Where ‘x’ is shown, reference is made to the registers associated with the respective output compare
OUTPUT COMPARE
reference source. Refer to the “PIC32MX
This data sheet summarizes the features of
the PIC32MX3XX/4XX family of devices. It
is not intended to be a comprehensive
Family Reference Manual” Section 16.
“Output Capture”
detailed description of this peripheral.
The manual is available from the Microchip
web site (www.Microchip.com/PIC32).
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.
channels 1 through 5.
16
TMR register inputs
from time bases
(see Note 3).
OUTPUT COMPARE MODULE BLOCK DIAGRAM
Comparator
OCxRS
0
OCxR
(1)
(1)
1
16
(DS61111) for a
OCTSEL
Period match signals
from time bases
(see Note 3).
0
Preliminary
1
Mode Select
OCM<2:0>
The following are some of the key features:
• Multiple output compare modules in a device
• Programmable interrupt generation on compare
• Single and Dual Compare modes
• Single and continuous output pulse generation
• Pulse-Width Modulation (PWM) mode
• Hardware-based PWM Fault detection and auto-
• Programmable selection of 16-bit or 32-bit time
• Can operate from either of two available 16-bit
event
matic output disable
bases.
time bases or a single 32-bit time base.
Output
3
Logic
Set Flag bit
OCxIF
PIC32MX3XX/4XX
(1)
R
S
Q
Output Enable
OCFA or OCFB
(see Note 2)
OCx
DS61143F-page 79
(1)

Related parts for pic32mx320f032h