| 전자부품 데이터시트 검색엔진 |
|
ST9 데이터시트(PDF) 107 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST9 데이터시트(HTML) 107 Page - STMicroelectronics |
|
107 / 146 page ![]() 107/146 ST9 USER GUIDE Table 9. SCI.C Functions 4.8.2.4.2 SCI Files using DMA The SCI function file is <sci\appli2\sci.c> and contains 4 functions that are initialized for sending 26 bytes from the ST9 to the serial link (RS232) by using the DMA. It uses DMA channel (from memory). Port used: – Tx (S0OUT) (Uses End of Transmission interrupts) FUNCTION DESCRIPTION AND COMMENTS void INIT_SCI(void); Initialization of general parameters dedicated to the SCI: - Baud Rate Generator: 9600 bauds. - Characters: Eight data bits, one stop bit, odd parity. - Pins... The baud rate generator must be initialized following this structure (BRGHR first and BRGLR at the end). void INIT_SCI_IT(void); Initialization of the IT: vector, priority. void SCI_SendByte(un- signed char ToSend); It sends byte ToSend to serial link. This routine also enables end of transmission IT. void INTSCI_TransmitReady(voi d); Interrupt subroutine which occurs after the transmission of one charac- ter. If 10 bytes have been transferred, it disables the IT and so stops the trans- mission. |
|
링크 URL |
| 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 |