|
PIC16F1938 Datasheet, PDF (218/452 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers | |||
|
◁ |
PIC16(L)F1938/9
FIGURE 23-7:
PxM<1:0>
EXAMPLE ENHANCED PWM OUTPUT RELATIONSHIPS (ACTIVE-LOW STATE)
Signal
0
Pulse
Width
Period
PRx+1
00 (Single Output)
10
(Half-Bridge)
(Full-Bridge,
01
Forward)
(Full-Bridge,
11
Reverse)
PxA Modulated
PxA Modulated
PxB Modulated
PxA Active
PxB Inactive
PxC Inactive
PxD Modulated
PxA Inactive
PxB Modulated
PxC Active
PxD Inactive
Delay
Delay
Relationships:
⢠Period = 4 * TOSC * (PRx + 1) * (TMRx Prescale Value)
⢠Pulse Width = TOSC * (CCPRxL<7:0>:CCPxCON<5:4>) * (TMRx Prescale Value)
⢠Delay = 4 * TOSC * (PWMxCON<6:0>)
DS41574A-page 218
Preliminary
ï£ 2011 Microchip Technology Inc.
|
▷ |