Microchip Technology MA330020 Data Sheet

Page of 398
 2008-2014 Microchip Technology Inc.
DS70000318G-page 207
dsPIC33FJ06GS101/X02 and dsPIC33FJ16GSX02/X04
 
REGISTER 15-7:
PDCx: PWMx GENERATOR DUTY CYCLE REGISTER
(
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
PDCx<15:8>
bit 15
bit 8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
PDCx<7:0>
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 15-0
PDCx<15:0>: PWM Generator # Duty Cycle Value bits
Note 1:
In Independent PWM mode, the PDCx register controls the PWMxH duty cycle only. In Complementary, 
Redundant and Push-Pull PWM modes, the PDCx register controls the duty cycle of both the PWMxH and 
PWMxL. The smallest pulse width that can be generated on the PWM output corresponds to a value of 
0x0009, while the maximum pulse width generated corresponds to a value of Period-0x0008.
2:
As the duty cycle gets closer to 0% or 100% of the PWM period (0 ns-40 ns, depending on the mode of 
operation), the PWM duty cycle resolution will degrade from 1 LSB to 3 LSBs.
REGISTER 15-8:
SDCx: PWMx SECONDARY DUTY CYCLE REGISTER
(
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
SDCx<15:8>
bit 15
bit 8
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
SDCx<7:0>
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 15-0
SDCx<15:0>: Secondary Duty Cycle for PWMxL Output Pin bits
Note 1:
The SDCx register is used in Independent PWM mode only. When used in Independent PWM mode, the 
SDCx register controls the PWMxL duty cycle. The smallest pulse width that can be generated on the 
PWM output corresponds to a value of 0x0009, while the maximum pulse width generated corresponds to 
a value of Period-0x0008.
2:
As the duty cycle gets closer to 0% or 100% of the PWM period (0 ns-40 ns, depending on the mode of 
operation), the PWM duty cycle resolution will degrade from 1 LSB to 3 LSBs.