| Electronic Components Datasheet Search |
|
ST9 Datasheet(PDF) 107 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST9 Datasheet(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. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |