English
Language : 

PIC32MX440F256H-80I Datasheet, PDF (374/646 Pages) Microchip Technology – 64/100-Pin General Purpose and USB 32-Bit Flash Microcontrollers
PIC32MX3XX/4XX
REGISTER 16-1: OCxCON: OUTPUT COMPARE x CONTROL REGISTER
r-x
r-x
r-x
r-x
r-x
r-x
r-x
—
—
—
—
—
—
—
bit 31
r-x
—
bit 24
r-x
—
bit 23
r-x
r-x
r-x
r-x
r-x
r-x
r-x
—
—
—
—
—
—
—
bit 16
R/W-0
R/W-0
R/W-0
r-x
r-x
r-x
r-x
r-x
ON
FRZ
SIDL
—
—
—
—
—
bit 15
bit 8
r-x
—
bit 7
r-x
R/W-0
R-0
R/W-0
R/W-0
R/W-0
R/W-0
—
OC32
OCFLT
OCTSEL
OCM<2:0>
bit 0
Legend:
R = Readable bit
U = Unimplemented bit
W = Writable bit
P = Programmable bit
-n = Bit Value at POR: (‘0’, ‘1’, x = Unknown)
r = Reserved bit
bit 31-16
bit 15
bit 14
bit 13
bit 12-6
bit 5
bit 4
bit 3
Reserved: Write ‘0’; ignore read
ON: Output Compare Peripheral On bit
1 = Output compare peripheral is enabled. The status of other bits in the register are not affected by
setting this bit
0 = Output compare peripheral is disabled and not drawing current. SFR modifications are allowed.
The status of other bits in this register are not affected by clearing this bit
FRZ: Freeze in Debug Exception Mode bit
1 = Freeze operation when CPU enters in Debug Exception mode
0 = Continue operation when CPU enters in Debug Exception mode
Note: FRZ is only writable in Debug Exception mode; it is forced to ‘0’ in normal mode.
SIDL: Stop in Idle Mode bit
1 = Discontinue operation when CPU enters in Idle mode
0 = Continue operation in Idle mode
Reserved: Write ‘0’; ignore read
OC32: 32-bit Compare Mode bit
1 = OCxR<31:0> and/or OCxRS<31:0> are used for comparisions to the 32-bit timer source
0 = OCxR<15:0> and OCxRS<15:0> are used for comparisons to the 16-bit timer source
OCFLT: PWM Fault Condition Status bit(1)
1 = PWM Fault condition has occurred (cleared in HW only)
0 = No PWM Fault condition has occurred
Note: This bit is only used when OCM<2:0> = 111.
OCTSEL: Output Compare Timer Select bit
1 = Timer3 is the clock source for compare x
0 = Timer2 is the clock source for compare x
Note: OCTSEL must be set to ‘1’ when using 32-bit mode (OC32 = 1).
Note 1: Reads as ‘0’ in modes other than PWM mode.
DS61143E-page 372
Preliminary
© 2008 Microchip Technology Inc.