PIC32MX3XX/4XX
16.0
OUTPUT COMPARE
The Output Compare module (OCMP) is used to gen-
erate a single pulse or a train of pulses in response to
Note 1: This data sheet summarizes the features
of the PIC32MX3XX/4XX 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) of 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
sheet for device-specific register and bit
information.
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.
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)
Output
Logic
S
R
Q
OCx (1)
3
Output Enable
Comparator
OCM<2:0>
Mode Select
OCFA or OCFB
(see Note 2 )
0
1
OCTSEL
0
1
16
16
TMR register inputs
from time bases
(see Note 3 )
Period match signals
from time bases
(see Note 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.
DS61143G-page 109
相关PDF资料
MA320011 MODULE PLUG-IN PIC32MX220F32D
MA330024 MODULE PLUG-IN DSPIC33F 100TQFP
MA330027 MODULE PLUG-IN DSPIC33F 100TQFP
MA330029 MODULE PLUG-IN DSPIC33FJ16GP102
MA9D00-42 DSUB CONN W/DIAGNOSTIC PORT STRT
MAI ADAPTER PUSH-ON/M-SWTCH ATTCHMNT
MAV0020RP VARISTOR ARRY 2ELEMENT 120V 0405
MAX11503EVKIT+ KIT EVAL FOR MAX11503
相关代理商/技术参数
MA320002-2 制造商:Microchip Technology Inc 功能描述: 制造商:Microchip Technology Inc 功能描述:PIC32MX4XX 100 TO 100-PIN USB PIM - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:MODULE PLUG-IN PIC32MX4XX 制造商:Microchip Technology Inc 功能描述:PIC32MX4 100PIN USB PLUG IN 制造商:Microchip Technology Inc 功能描述:PIC32MX450 100 Pin to 100 Pin USB Plug in Module 制造商:Microchip Technology Inc 功能描述:Daughter Cards & OEM Boards PIC32 MX450 100-Pin USB PIM 制造商:Microchip Technology Inc 功能描述:PIC32MX4xx 100 to 100-Pin USB PIM, Plug-in Modules
MA320003 功能描述:子卡和OEM板 PIC32MX USB/CAN PIM RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA320011 功能描述:子卡和OEM板 PIC32MX250F128D PIM RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA320012 制造商:Microchip Technology Inc 功能描述:PIC32MZ2048EC 100-100PIN PIM - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:MOD PIM PIC32MZ2048EC 100PIN 制造商:Microchip Technology Inc 功能描述:100 to 100 Pin Plug-In Module for PIC32MZ EC Series 制造商:Microchip Technology Inc 功能描述:PIC32MZ2048EC 100-100pin PIM - demonstrate the capabilities of the PIC32MZ EC fa
MA3200-H 制造商:PANASONIC 制造商全称:Panasonic Semiconductor 功能描述:Silicon planar type
MA3200-L 制造商:PANASONIC 制造商全称:Panasonic Semiconductor 功能描述:Silicon planar type
MA3200-M 制造商:PANASONIC 制造商全称:Panasonic Semiconductor 功能描述:Silicon planar type
MA3200W 制造商:PANASONIC 制造商全称:Panasonic Semiconductor 功能描述:Silicon planer type