比如与GPIO的某个引脚关联使用
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
这里使用OSAL layer(OS Abstraction layer)来配置中断的,关于OSAL的介绍,请看下面的网站。
https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/07_00_00_11/exports/docs/pdk_jacinto_07_00_00/docs/userguide/modules/osal.html
中断配置有两种方式,分别是Hwi_create方式与OSAL layer,这是在RTOS/AM5728: GPIO interrupt - Processors forum - Processors - TI E2E support forums里最后看到的回答,那Hwi_create方式有没有例程
HwiP_create是基于OSAL里的,HWI_create是基于sys/bios的。
https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/06_01_01_12/exports/docs/pdk/docs/user_guide/html/group__DRV__OSAL__HwiP.html