Datasheet

Table Of Contents
PIC12(L)F1501
DS41615A-page 166 Preliminary 2011 Microchip Technology Inc.
REGISTER 21-2: PWMxDCH: PWM DUTY CYCLE HIGH BITS
R/W-x/u R/W-x/u R/W-x/u R/W-x/u R/W-x/u R/W-x/u R/W-x/u R/W-x/u
PWMxDCH<7:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7-0
PWMxDCH<7:0>: PWM Duty Cycle Most Significant bits
These bits are the MSbs of the PWM duty cycle. The two LSbs are found in the PWMxDCL register.
REGISTER 21-3: PWMxDCL: PWM DUTY CYCLE LOW BITS
R/W-x/u R/W-x/u U-0 U-0 U-0 U-0 U-0 U-0
PWMxDCL<7:6>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7-6
PWMxDCL<7:6>: PWM Duty Cycle Least Significant bits
These bits are the LSbs of the PWM duty cycle. The MSbs are found in the PWMxDCH register.
bit 5-0
Unimplemented: Read as ‘0
TABLE 21-3: SUMMARY OF REGISTERS ASSOCIATED WITH PWM
Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Register
on Page
PR2 Timer2 module Period Register 157*
PWM1CON PWM1EN PWM1OE PWM1OUT PWM1POL
165
PWM1DCH PWM1DCH<7:0> 166
PWM1DCL PWM1DCL<7:6>
166
PWM2CON PWM2EN PWM2OE PWM2OUT PWM2POL
166
PWM2DCH PWM2DCH<7:0> 166
PWM2DCL PWM2DCL<7:6>
166
PWM3CON PWM3EN PWM3OE PWM3OUT PWM3POL
165
PWM3DCH PWM3DCH<7:0> 166
PWM3DCL PWM3DCL<7:6>
166
PWM4CON PWM4EN PWM4OE PWM4OUT PWM4POL
165
PWM4DCH PWM4DCH<7:0> 166
PWM4DCL PWM4DCL<7:6>
166
T2CON
T2OUTPS<3:0> TMR2ON T2CKPS<1:0> 159
TMR2 Timer2 module Register 157*
TRISA
TRISA5 TRISA4
—(1)
TRISA2 TRISA1 TRISA0
102
Legend: - = Unimplemented locations, read as ‘0’, u = unchanged, x = unknown. Shaded cells are not used by the PWM.
* Page provides register information.
Note 1: Unimplemented, read as ‘1’.