|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
裸跑的程序,已经测试成功HPS自己的定时器的中断,在定时器的基础上,把定时器的中断号换成fpga外设的中断号,用的是
* Registers a callback for the specified secure interrupt for the CPU
* interface.
*
* This API only registers a callback for secure interrupts. If a callback is
* registered for a non-secure interrupt, the behaviour is undefined.
ALT_STATUS_CODE alt_int_isr_register(ALT_INT_INTERRUPT_t int_id,
alt_int_callback_t callback,
void * context);
这个函数,中断号已经对应FPGA的irq0,应该是72,
但是按下去按键后却无法触发中断,请教一下有人能给个帮助么?? |
|