PIC18F2331-E/ML MICROCHIP [Microchip Technology], PIC18F2331-E/ML Datasheet - Page 178

no-image

PIC18F2331-E/ML

Manufacturer Part Number
PIC18F2331-E/ML
Description
28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC18F2331/2431/4331/4431
REGISTER 18-1:
REGISTER 18-2:
DS39616D-page 178
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-4
bit 3-2
bit 1-0
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5-0
PTOPS3
R/W-0
R/W-0
PTEN
PTOPS<3:0>: PWM Time Base Output Postscale Select bits
0000 = 1:1 Postscale
0001 = 1:2 Postscale
.
.
.
1111 = 1:16 Postscale
PTCKPS<1:0>: PWM Time Base Input Clock Prescale Select bits
00 = PWM time base input clock is F
01 = PWM time base input clock is F
10 = PWM time base input clock is F
11 = PWM time base input clock is F
PTMOD<1:0>: PWM Time Base Mode Select bits
11 = PWM time base operates in a Continuous Up/Down Count mode with interrupts for double PWM
10 = PWM time base operates in a Continuous Up/Down Count mode
01 = PWM time base configured for Single-Shot mode
00 = PWM time base operates in a Free-Running mode
PTEN: PWM Time Base Timer Enable bit
1 = PWM time base is on
0 = PWM time base is off
PTDIR: PWM Time Base Count Direction Status bit
1 = PWM time base counts down
0 = PWM time base counts up
Unimplemented: Read as ‘0’
PTOPS2
PTDIR
R/W-0
R-0
updates
PTCON0: PWM TIMER CONTROL REGISTER 0
PTCON1: PWM TIMER CONTROL REGISTER 1
W = Writable bit
‘1’ = Bit is set
W = Writable bit
‘1’ = Bit is set
PTOPS1
R/W-0
U-0
PTOPS0
R/W-0
U-0
OSC
OSC
OSC
OSC
/4 (1:1 prescale)
/16 (1:4 prescale)
/64 (1:16 prescale)
/256 (1:64 prescale)
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
PTCKPS1
R/W-0
U-0
PTCKPS0
R/W-0
U-0
 2010 Microchip Technology Inc.
x = Bit is unknown
x = Bit is unknown
PTMOD1
R/W-0
U-0
PTMOD0
R/W-0
U-0
bit 0
bit 0

Related parts for PIC18F2331-E/ML