PIC18F25J50 MICROCHIP [Microchip Technology], PIC18F25J50 Datasheet - Page 246

no-image

PIC18F25J50

Manufacturer Part Number
PIC18F25J50
Description
28/44-Pin, Low-Power, High-Performance USB Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F25J50-I/SO
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50-I/SP
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50-I/SS
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50T-I/SO
Manufacturer:
MICROCHIP
Quantity:
1 001
Part Number:
PIC18F25J50T-I/SS
Manufacturer:
MICROCHIP
Quantity:
1 001
PIC18F46J50 FAMILY
REGISTER 18-1:
DS39931D-page 246
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-6
bit 5-4
bit 3-0
R/W-0
PxM1
PxM<1:0>: Enhanced PWM Output Configuration bits
If CCPxM<3:2> = 00, 01, 10:
xx = PxA is assigned as capture/compare input/output; PxB, PxC and PxD are assigned as port pins
If CCPxM<3:2> = 11:
00 = Single output: PxA, PxB, PxC and PxD are controlled by steering (see
01 = Full-bridge output forward: PxD is modulated; PxA is active; PxB, PxC is inactive
10 = Half-bridge output: PxA, PxB are modulated with dead-band control; PxC and PxD are
11 = Full-bridge output reverse: PxB is modulated; PxC is active; PxA and PxD are inactive
DCxB<1:0>: PWM Duty Cycle bit 1 and bit 0
Capture mode:
Unused.
Compare mode:
Unused.
PWM mode:
These bits are the two LSbs of the 10-bit PWM duty cycle. The eight MSbs of the duty cycle are found
in CCPRxL.
CCPxM<3:0>: ECCPx Mode Select bits
0000 = Capture/Compare/PWM off (resets ECCPx module)
0001 = Reserved
0010 = Compare mode, toggle output on match
0011 = Capture mode
0100 = Capture mode, every falling edge
0101 = Capture mode, every rising edge
0110 = Capture mode, every 4
0111 = Capture mode, every 16
1000 = Compare mode, initialize ECCPx pin low, set output on compare match (set CCPxIF)
1001 = Compare mode, initialize ECCPx pin high, clear output on compare match (set CCPxIF)
1010 = Compare mode, generate software interrupt only, ECCPx pin reverts to I/O state
1011 = Compare mode, trigger special event (ECCPx resets TMR1 or TMR3, starts A/D conversion,
1100 = PWM mode; PxA and PxC are active-high; PxB and PxD are active-high
1101 = PWM mode; PxA and PxC are active-high; PxB and PxD are active-low
1110 = PWM mode; PxA and PxC are active-low; PxB and PxD are active-high
1111 = PWM mode; PxA and PxC are active-low; PxB and PxD are active-low
R/W-0
PxM0
Steering
assigned as port pins
CCPxCON: ENHANCED CAPTURE/COMPARE/PWM x CONTROL REGISTER
(ACCESS FBAh, FB4h)
sets CCxIF bit)
W = Writable bit
‘1’ = Bit is set
Mode”)
DCxB1
R/W-0
DCxB0
th
R/W-0
th
rising edge
rising edge
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
CCPxM3
R/W-0
CCPxM2
R/W-0
 2011 Microchip Technology Inc.
x = Bit is unknown
CCPxM1
R/W-0
Section 18.5.7 “Pulse
CCPxM0
R/W-0
bit 0

Related parts for PIC18F25J50