| 数据搜索系统,热门电子元器件搜索 |
|
STM32CUBEL4 数据表(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM32CUBEL4 数据表(HTML) 33 Page - STMicroelectronics |
|
33 / 37 page ![]() DocID028080 Rev 1 33/37 UM1919 Kernel description 36 7.4 Kernel event manager The kernel provides services to manage events mainly here user key input (k_menu.h file) kMenu_SendEvent() is called from the interrupt IRQ callback (HAL_GPIO_EXTI_Callback()) to send the event message to the Kernel event mailbox. kMenu_GetEvent() is called by either the kernel event manager in kMenu_HandleSelection() or directly by the running module application expecting user input keys. 7.5 Module manager The main demonstration menu is initialized and launched by the Start thread. The modules are managed by the kernel; this later is responsible of initializing the modules, initializing hardware resources relative to the modules and initializing the system menu. Each module should provide the following functionalities and properties: 1. Graphical component structure. 2. Method to startup the module. 3. Method to manage low-power mode (optional) 4. The application task 5. The module background process (optional) 6. Specific configuration 7. Error management The modules can be added in run time to the demonstration and can use the common kernel resources. The following code shows how to add a module to the demonstration: |
|
链接网址 |
| 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 |