|
PIC24FJ16MC101_12 Datasheet, PDF (162/350 Pages) Microchip Technology – 16-bit Microcontrollers (up to 32 KB Flash and 2 KB SRAM) | |||
|
◁ |
PIC24FJ16MC101/102 AND PIC24FJ32MC101/102/104
REGISTER 15-5: PWMxCON1: PWM CONTROL REGISTER 1(1)
U-0
â
bit 15
U-0
U-0
U-0
U-0
R/W-0
â
â
â
â
PMOD3
R/W-0
PMOD2
R/W-0
PMOD1
bit 8
U-0
â
bit 7
R/W-0
R/W-0
R/W-0
U-0
PEN3H(2) PEN2H(2) PEN1H(2)
â
R/W-0
PEN3L(2)
R/W-0
PEN2L(2)
R/W-0
PEN1L(2)
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
â1â = Bit is set
U = Unimplemented bit, read as â0â
â0â = Bit is cleared
x = Bit is unknown
bit 15-11
bit 10-8
bit 7
bit 6-4
bit 3
bit 2-0
Unimplemented: Read as â0â
PMOD3:PMOD1: PWM I/O Pair Mode bits
1 = PWM I/O pin pair is in the Independent PWM Output mode
0 = PWM I/O pin pair is in the Complementary Output mode
Unimplemented: Read as â0â
PEN3H:PEN1H: PWMxH I/O Enable bits
1 = PWMxH pin is enabled for PWM output
0 = PWMxH pin disabled, I/O pin becomes general purpose I/O
Unimplemented: Read as â0â
PEN3L:PEN1L: PWMxL I/O Enable bits
1 = PWMxL pin is enabled for PWM output
0 = PWMxL pin disabled, I/O pin becomes general purpose I/O
Note 1:
2:
The PWMxCON1 register is a write-protected register. Refer to Section 15.3 âWrite-protected
Registersâ for more information on the unlock sequence.
The reset status for this bit depends on the setting of the PWMPIN Configuration bit (FPOR<7>):
⢠If PWMPIN = 1 (default), the PWM pins are controlled by the PORT register at Reset, meaning they
are initially programmed as inputs (i.e., tri-stated).
⢠If PWMPIN = 0, the PWM pins are controlled by the PWM module at Reset and are therefore initially
programmed as output pins.
DS39997C-page 162
Preliminary
© 2011-2012 Microchip Technology Inc.
|
▷ |