硬體V1
http://www.ti.com/tool/tmdsice3359
SYSBIOSSDK-IND-AM335X: v01.01.00.03
http://www.ti.com/tool/sysbiossdk-ind-sitara
想要新增一個GPIO 的Interrupt,在SYS/BIOS 下(HWI)
"Bios_User_Guide" ->Creating Hwi Objects:
=================
Hwi_Handle hwi0;
Hwi_Params hwiParams;
Error_Block eb;
Error_init(&eb);
Hwi_Params_init(&hwiParams);
hwiParams.arg = 5;
hwi0 = Hwi_create(id, hwiFunc, &hwiParams, &eb);
if (hwi0 == NULL) {
System_abort("Hwi create failed");
}
===================
但是不知道若使用GPIO 要帶哪些資料進去?
此帖出自
小平头技术问答
一周热门 更多>