|
70592C Datasheet, PDF (159/314 Pages) Microchip Technology – High-Performance, 16-bit Microcontrollers | |||
|
◁ |
PIC24HJXXXGPX06A/X08A/X10A
REGISTER 15-1: OCxCON: OUTPUT COMPARE x CONTROL REGISTER (x = 1, 2)
U-0
â
bit 15
U-0
R/W-0
U-0
â
OCSIDL
â
U-0
U-0
U-0
â
â
â
U-0
â
bit 8
U-0
U-0
â
â
bit 7
U-0
R-0, HC
R/W-0
R/W-0
R/W-0
R/W-0
â
OCFLT
OCTSEL
OCM<2:0>
bit 0
Legend:
R = Readable bit
-n = Value at POR
HC = Hardware Clearable bit
W = Writable bit
â1â = Bit is set
U = Unimplemented bit, read as â0â
â0â = Bit is cleared
x = Bit is unknown
bit 15-14
bit 13
bit 12-5
bit 4
bit 3
bit 2-0
Unimplemented: Read as â0â
OCSIDL: Stop Output Compare in Idle Mode Control bit
1 = Output Compare x halts in CPU Idle mode
0 = Output Compare x continues to operate in CPU Idle mode
Unimplemented: Read as â0â
OCFLT: PWM Fault Condition Status bit
1 = PWM Fault condition has occurred (cleared in hardware only)
0 = No PWM Fault condition has occurred (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
OCM<2:0>: Output Compare Mode Select bits
111 = PWM mode on OCx, Fault pin enabled
110 = PWM mode on OCx, Fault pin disabled
101 = Initialize OCx pin low, generate continuous output pulses on OCx pin
100 = Initialize OCx pin low, generate single output pulse on OCx pin
011 = Compare event toggles OCx pin
010 = Initialize OCx pin high, compare event forces OCx pin low
001 = Initialize OCx pin low, compare event forces OCx pin high
000 = Output compare channel is disabled
© 2011 Microchip Technology Inc.
DS70592C-page 159
|
▷ |