139
4317I–AVR–01/08
AT90PWM2/3/2B/3B
Figure 16-9. PSCn0 & PSCn1 Basic Waveforms in Center Aligned Mode
On-Time 0 = 2 * OCRnSAH/L * 1/Fclkpsc
On-Time 1 = 2 * (OCRnRBH/L - OCRnSBH/L + 1) * 1/Fclkpsc
Dead-Time = (OCRnSBH/L - OCRnSAH/L) * 1/Fclkpsc
PSC Cycle = 2 * (OCRnRBH/L + 1) * 1/Fclkpsc
Note:
Minimal value for PSC Cycle = 2 * 1/Fclkpsc
OCRnRAH/L is not used to control PSC Output waveform timing. Nevertheless, it can be useful
to adjust ADC synchronization (
See “Analog Synchronization” on page 158.
).
Figure 16-10. Run and Stop Mechanism in Centered Mode
Note:
See “PSC 0 Control Register – PCTL0” on page 165.
(or PCTL1 or PCTL2)
On-Time 1
On-Time 0
PSCOUTn0
PSCOUTn1
PSC Cycle
Dead-Time
On-Time 1
Dead-Time
PSC Counter
OCRnRB
OCRnSA
OCRnSB
0
(AT90PWM2B/3B)
PSCOUTn1
(AT90PWM2/3)
PSCOUTn0
PSCOUTn1
PSC Counter
OCRnRB
OCRnSA
OCRnSB
0
Run
PSCOUTn1
(AT90PWM2/3)
(AT90PWM2B/3B)
Содержание AT90PWM2
Страница 344: ...346 4317I AVR 01 08 AT90PWM2 3 2B 3B 31 1 SO24...
Страница 345: ...347 4317I AVR 01 08 AT90PWM2 3 2B 3B 31 2 SO32...
Страница 346: ...348 4317I AVR 01 08 AT90PWM2 3 2B 3B 31 3 QFN32...
Страница 347: ...349 4317I AVR 01 08 AT90PWM2 3 2B 3B...