| 数据搜索系统,热门电子元器件搜索 |
|
ST9 数据表(PDF) 106 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST9 数据表(HTML) 106 Page - STMicroelectronics |
|
106 / 146 page ![]() 106/146 ST9 USER GUIDE Table 7. APPLI3\MFT.C Functions 4.8.2.3 RCCU File The RCCU file is <rrcu\rccu.c> and contains 5 functions for controlling the RCCU in your ap- plication. The header file has no uninitialized constants since the functions are dedicated. Table 8. RCCU.C Functions 4.8.2.4 SCI File 4.8.2.4.1 Simple SCI Files (SCI-M) The SCI function file is <sci\appli1\sci.c> and contains 4 functions that are initialized for sending ten bytes from the ST9 to the serial link (RS232). It uses End of Transmission interrupts. Port used: – Tx (S0OUT) 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 in the swap mode. 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(un- signed int * CompBuffer, un- signed int Count) Enable Compare0 DMA. void INTMFT_CompEOB(void); Interrupt subroutine which occurs after a compare0 DMA end of block. The DMA is swapped. FUNCTION DESCRIPTION AND COMMENTS void INIT_PLL(void); Initialize the PLL, Mul. by 6, div. by 1. Wait 500µs to stabilize the PLL. void INIT_clock2(void); INTCLK = CLOCK2 = EXT OSCILLATOR / 2. void INIT_clock2_16(void); INTCLK = CLOCK2/16 = EXT OSCILLATOR / 32. void SWITCH_TO_EXTCLK(void ); Stop the Xtal oscillator and select the external clock (if present). void BACK_TO_XTAL(void); Restart the Xtal oscillator and select it as the clock source. |
|
链接网址 |
| 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 |