English
Language : 

PIC18F2331_07 Datasheet, PDF (275/400 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
REGISTER 22-4: CONFIG3L: CONFIGURATION REGISTER 3 LOW (BYTE ADDRESS 300004h)
U-0
—
bit 7
U
R/P-1
R/P-1
R/P-1
R/P-1
U
—
T1OSCMX HPOL(1)
LPOL(1) PWMPIN(3)
—
U
—
bit 0
Legend:
R = Readable bit
P = Programmable bit
-n = Value when device is unprogrammed
U = Unimplemented bit, read as ‘0’
U = Unchanged from programmed state
bit 7-6
bit 5
bit 4
bit 3
bit 2
bit 1-0
Unimplemented: Read as ‘0’
T1OSCMX: Timer1 Oscillator Mode bit
1 = Low-power Timer1 operation when microcontroller is in Sleep mode
0 = Standard (legacy) Timer1 oscillator operation
HPOL: High Side Transistors Polarity bit (i.e., Odd PWM Output Polarity Control bit)(1)
1 = PWM1, 3, 5 and 7 are active-high (default)(2)
0 = PWM1, 3, 5 and 7 are active-low(2)
LPOL: Low Side Transistors Polarity bit (i.e., Even PWM Output Polarity Control bit)(1)
1 = PWM0, 2, 4 and 6 are active-high (default)(2)
0 = PWM0, 2, 4 and 6 are active-low(2)
PWMPIN: PWM Output Pins Reset State Control bit(3)
1 = PWM outputs disabled upon Reset (default)
0 = PWM outputs drive active states upon Reset
Unimplemented: Read as ‘0’
Note 1:
2:
3:
Polarity control bits, HPOL and LPOL, define PWM signal output active and inactive states; PWM states
generated by the Fault inputs or PWM manual override.
PWM6 and PWM7 output channels are only available on PIC18F4331/4431 devices.
When PWMPIN = 0, PWMEN<2:0> = 101 if device has eight PWM output pins (40 and 44-pin devices)
and PWMEN<2:0> = 100 if the device has six PWM output pins (28-pin devices). PWM output polarity is
defined by HPOL and LPOL.
© 2007 Microchip Technology Inc.
Preliminary
DS39616C-page 273