| Zakładka z wyszukiwarką danych komponentów |
|
AN3128 Arkusz danych(PDF) 71 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3128 Arkusz danych(HTML) 71 Page - STMicroelectronics |
|
71 / 105 page ![]() AN3128 Multi-input embedded GUI library firmware Doc ID 16918 Rev 5 71/105 4.4 HAL layer firmware overview The following section describes the hardware abstraction layer function used by the upper API layer described in the previous section. All the library microcontroller hardware dependent functions and related defined types are described in this section. See Figure 14, 15, 16. The final application should never directly use these HAL functions, and it should only manage LCD, touchscreen, and joystick through API layer functions as described above. 4.5 HAL types 4.5.1 GL_bool type /* Boolean Definition Type */ typedef enum { GL_FALSE = 0, GL_TRUE = !GL_FALSE, }GL_bool; 4.5.2 GL_FlagStatus/GL_ITStatus type /* Flag/IT Status Type */ typedef enum /* It contains the status parameter of LCD Flags/Interrupts (GL_RESET, GL_SET) */ { GL_RESET = 0, GL_SET = !GL_RESET, }GL_FlagStatus, GL_ITStatus; 4.5.3 GL_SignalActionType type /* Signal state enumeration */ typedef enum { GL_LOW = Bit_RESET, GL_HIGH = Bit_SET }GL_SignalActionType; 4.5.4 GL_FunctionalState type /* Error status types */ typedef enum { GL_DISABLE = 0, GL_ENABLE = GL_DISABLE } GL_FunctionalState; 4.5.5 TSC_I2C_SettingsType type /* The TouchScreen I2C Peripheral settings */ typedef struct { GL_I2CType * TSC_I2C_Ptr; GL_uint32_t TSC_I2C_Clock; GL_uint16_t TSC_I2C_Address; }TSC_I2C_SettingsType; |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |