| 数据搜索系统,热门电子元器件搜索 |
|
AN2841 数据表(PDF) 17 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2841 数据表(HTML) 17 Page - STMicroelectronics |
|
17 / 31 page ![]() AN2841 Dimming application using an STM32 microcontroller 17/31 3.1.5 Interrupt + DMA + interrupt Figure 14 shows that data from the previous transfer is latched during the current timer interrupt which causes several problems. The algorithm is more complicated in this case. A slightly different approach that has no impact on the system can be used: it is obtained by generating the LE pulse when the DMA transfer is complete instead of generating it on a timer interrupt. The LE pulse is generated at the DMA transfer complete interrupt as shown in Figure 15. Figure 15. Timer interrupt + DMA transfer + DMA interrupt Figure 16 shows the waveform of the outbound signals from the microcontrollers controlling the LED drivers. An example of the C code implementation of the timer routine is given below. A detailed description follows the example. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |