AT32_TMR and DMA Update PWM Duty Cycle Dynamically
●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).
AT32 、 AT32F403A 、 AT32 family 、 AT32xxx |
|
|
|
|
|
Reference Program |
|
|
|
Please see the document for details |
|
|
|
|
|
|
|
English Chinese Chinese and English Japanese |
|
2022.01.25 |
|
Ver 2.0.0 |
|
SC0069 |
|
599 KB |
- +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.