| 전자부품 데이터시트 검색엔진 |
|
AN3128 데이터시트(PDF) 46 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 데이터시트(HTML) 46 Page - STMicroelectronics |
|
46 / 105 page ![]() Multi-input embedded GUI library firmware AN3128 46/105 Doc ID 16918 Rev 5 4.1.24 SetHistogramPoints API global function Table 29 describes the SetHistogramPoints function: Example: /* Declares and initiates a Page Object */ GL_Page_TypeDef page1; Create_PageObj( &page1 ); /* Declares and initiates a Histogram Object and add it to a Page Object */ MyHistogram = NewHistogram ("MyHistogram", "Hours", "Watt", points, 24); AddPageControlObj( 0, 0, MyHistogram, &page1 ); ... MyHistogramPoints ={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24}; SetHistogramPoints( &page1, "MyHistogram", MyHistogramPoints, 24 ); Figure 14, 15, 16, show, in detail, the histogram object properties and methods which the final application can use to interact with. 4.1.25 SetGraphChartPoints API global function Table 30 describes the SetGraphChartPoints function: Table 29. SetHistogramPoints API function Name Description Function name SetHistogramPoints Function prototype GL_ErrStatus SetHistogramPoints(GL_Page_TypeDef* pPage,char* objName,int16_tdata_points[],GL_uint8_t n_points) Behavior description Modify the points array of the histogram object 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 Name Description Function name SetGraphChartPoints Function prototype GL_ErrStatus SetGraphChartPoints(GL_Page_TypeDef* pPage,char* objName,int16_tdata_points[],GL_uint8_t n_points); Behavior description Modify the points array of the GraphChart object |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |