数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN3259 数据表(PDF) 13 Page - STMicroelectronics

部件名 AN3259
功能描述  RS232 communications with a terminal using the STM8S-DISCOVERY
PDF  25 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3259 数据表(HTML) 13 Page - STMicroelectronics

Back Button AN3259 Datasheet HTML 9Page - STMicroelectronics AN3259 Datasheet HTML 10Page - STMicroelectronics AN3259 Datasheet HTML 11Page - STMicroelectronics AN3259 Datasheet HTML 12Page - STMicroelectronics AN3259 Datasheet HTML 13Page - STMicroelectronics AN3259 Datasheet HTML 14Page - STMicroelectronics AN3259 Datasheet HTML 15Page - STMicroelectronics AN3259 Datasheet HTML 16Page - STMicroelectronics AN3259 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 25 page
background image
AN3259
Software description
Doc ID 17835 Rev 1
13/25
4.3.3
GetInputString function
The GetInputString function is used to receive and store the character strings sent through
the terminal window. This function relies on the Get_key function to acquire and decode
each character (see Section 4.3.4). Different actions can be performed according to the
value of the character ASCII code:
If ASCII code = ‘\b’
A backspace has been sent by the terminal. The last character of the string is erased if
the string is not empty.
If ASCII code belongs to {0...1 or a...Z}
The character is stored.
If ASCII code = ‘\r’
The GetInputString function stores the “end of string” value, '\0', at the end of the string.
The maximum number of ASCII codes stored in the buffP[bytes_read] buffer has been
reached
The software erases the recorded string and waits for another input from the terminal.
For more information on ASCII codes refer to Appendix A: Standard ASCII character codes.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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