| поискавой системы для электроныых деталей |
|
AN3128 датащи(PDF) 47 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 датащи(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 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |