| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3128 bảng dữ liệu(PDF) 47 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 bảng dữ liệu(HTML) 47 Page - STMicroelectronics |
|
47 / 105 page ![]() AN3128 Multi-input embedded GUI library firmware Doc ID 16918 Rev 5 47/105 Example: /* Declares and initiates a Page Object */ GL_Page_TypeDef page1; Create_PageObj( &page1 ); /* Declares and initiates a GraphChart Object and add it to a Page Object */ MyGraphChart = NewGraphChart("MyGraphChart", "Hours", "Watt", points, 24, GL_TRUE); AddPageControlObj( 0, 0, MyGraphChart, &page1 ); ... MyGraphChartPoints={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}; SetGraphChartPoints( &page1, "MyGraphChart", MyGraphChartPoints, 24 ); Figure 14, 15, 16, show, in detail, the GraphChart object properties and methods which the final application can use to interact with. 4.1.26 GetObjStatus API global function Table 31 describes the GetObjStatus function: Input parameter {x} *pPage: pointer to page structure objName: name of the object data_points[]: the array of points to be plotted on the LCD n_points: number of points to be plotted Output parameter {x} None Return value GL_OK if successful, GL_ERROR otherwise Required preconditions None Called functions No API/HAL layer functions Table 30. SetGraphChartPoints API function (continued) Name Description Table 31. GetObjStatus API function Name Description Function name GetObjStatus Function prototype GL_bool GetObjStatus(GL_Page_TypeDef* pThis, char* objName) Behavior description Return the status of the object: – GL_FALSE: the object is not Hit – GL_TRUE: the object has been Hit – NULL: represents that there are no objects with that name (objName). Input parameter {x} *pPage: pointer to page structure objName: name of the object Output parameter {x} None Return value GL_FALSE, GL_TRUE, or NULL in case no object is defined Required preconditions None Called functions No API/HAL layer functions |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |