| 数据搜索系统,热门电子元器件搜索 |
|
ST9 数据表(PDF) 105 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST9 数据表(HTML) 105 Page - STMicroelectronics |
|
105 / 146 page ![]() 105/146 ST9 USER GUIDE The port used for this application is: – T0OUTA Table 6. APPLI2\MFT.C Functions 4.8.2.2.3 MFT files with DMA in Swap Mode The MFT function file is <mft\appli3\mft.c> and contains 6 functions that are initialized for gen- erating a PWM signal using the MFT and a DMA channel working in Swap mode. The port used for this application is: – T0OUTA Function Description and Comments void INIT_MFT(void); MFT initialization. It initializes the value loaded into the prescaler and into the counter. void START_MFT(void); Start the MFT. void STOP_MFT (void); Stop the MFT. void INIT_MFT_ITDMA(void); This function configures the IT and the DMA for the MFT. void Enable_MFTCP0_DMA (unsigned int * CompBuffer, unsigned int Count); Enable Compare0 DMA. void INTMFT_CompEOB(void); Interrupt subroutine which occurs after a compare0 DMA end of block. The DMA is not re-initialized so only one block is transferred. Same vector as compare0 interrupt. void INTMFT_OUF(void); Interrupt subroutine which occurs after an underflow. It stops the timer when the whole PWM signal has been generated. |
|
链接网址 |
| 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 |