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

X  

AN3128 数据表(PDF) 21 Page - STMicroelectronics

部件名 AN3128
功能描述  This library is a firmware package which contains a collection
PDF  105 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3128 数据表(HTML) 21 Page - STMicroelectronics

Back Button AN3128 Datasheet HTML 17Page - STMicroelectronics AN3128 Datasheet HTML 18Page - STMicroelectronics AN3128 Datasheet HTML 19Page - STMicroelectronics AN3128 Datasheet HTML 20Page - STMicroelectronics AN3128 Datasheet HTML 21Page - STMicroelectronics AN3128 Datasheet HTML 22Page - STMicroelectronics AN3128 Datasheet HTML 23Page - STMicroelectronics AN3128 Datasheet HTML 24Page - STMicroelectronics AN3128 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 105 page
background image
AN3128
Multi-input embedded GUI library firmware
Doc ID 16918 Rev 5
21/105
4
Multi-input embedded GUI library firmware
This section describes the API and HAL layer implementation. Each library firmware
function is described in detail. An example of how to use API functions is provided. No
example is provided for the HAL function, because the final application should manage the
graphic objects through the API layer functions only, without any direct access to the HAL
functions.
The functions are described in the following format:
4.1
Graphic object API functions
The application programming interface layer allows the final application to create pages of
graphic objects and easy use of the STMPE811 touchscreen controller. An OOP approach
is used, so it's possible for the application developer to create and use one or more
instances of a graphic object and work with pages of object without writing the code to
display the graphic objects every time the application changes the focus on another page.
Graphic object structures are seen by the application as objects with encapsulated
properties and methods. In the end, they are advanced structures containing:
Properties as data fields
Methods as function pointers
In this way each API function belongs to the related graphic object instance and so, many
graphic objects can be managed without any conflicts.
Every type of graphic object has a pre-event function that provides the process to change its
visualization on the screen and the internal status of the object; for example in a ComboBox,
when the user hits the “Down Arrow” the pre-event function changes the image associated
showing the one associated to Image2_PTR for a few moments, and sets the next option in
the list as active. This function is predefined for each type of object and very useful in order
to minimize the developer workload. In this way, the developer need only place graphic
objects on the screen page and write a function event that is called after the pre-event
function, when a touch/click event occurs between the object coordinates area.
Table 5.
Function description format
Name
Description
Function name
The name of the function
Function prototype
Prototype declaration of the function
Behavior description
Brief explanation of how the function is executed
Input parameter {x}
Description of the input parameters
Output parameter {x}
Description of the output parameters
Return value
Value returned by the function
Required preconditions
Requirements before calling the function
Called functions
Other library functions called



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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

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