AT32_TMR and DMA Update PWM Duty Cycle Dynamically

2023-04-26
■Introduction:
●This document takes AT32F403A as an example to introduces how to use AT32 TMR and DMA to update PWM duty cycle dynamically.
●This sample code use TMR4 update event to trigger DMA1 to transmit data to TMR4 channel 2 data register (TMRx_C2DT), so that to dynamically output PWM waveforms with different duty cycles in the TMR4 channel 2 (PB7).

Artery

AT32AT32F403AAT32 familyAT32xxx

More

Part#

More

More

Reference Program

More

More

Please see the document for details

More

More

English Chinese Chinese and English Japanese

2022.01.25

Ver 2.0.0

SC0069

599 KB

- The full preview is over. If you want to read the whole 5 page document,please Sign in/Register -
  • +1 Like
  • Add to Favorites

Recommend

All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.

Contact Us

Email: