English
Language : 

C8051F850-B-GM Datasheet, PDF (151/290 Pages) Silicon Laboratories – Low-Cost 8-bit MCU Family with up to 8 kB of Flash
C8051F85x/86x
Note that although the PCA0CPn compare register determines the duty cycle, it is not always appropriate for
firmware to update this register directly. See the sections on 8 to 11-bit and 16-bit PWM mode for additional details
on adjusting duty cycle in the various modes.
Duty Cycle
=
---2---N-----–----P---C----A-----0---C----P---n-------–-----12---
2N
Equation 20.4. N-bit Center-Aligned PWM Duty Cycle With CEXnPOL = 0 (N = PWM resolution)
Duty Cycle
=
P----C----A----0---C----P----n----+-----12----
2N
Equation 20.5. N-bit Center-Aligned PWM Duty Cycle With CEXnPOL = 1 (N = PWM resolution)
156
Preliminary Rev 0.6