第三步:
中断连接,我用的是外部中断3,如下:
(void) intConnect ((VOIDFUNCPTR *)INT_LVL_EXTINT3,
(VOIDFUNCPTR)ataIntr, ctrl);
intEnable (INT_LVL_EXTINT3); /* unmask the interrupt level */
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
Archiver|小黑屋|手机版|PCB设计论坛|EDA论坛|PCB论坛网 ( 沪ICP备05006956号-1 )
GMT+8, 2025-5-16 03:38 , Processed in 0.122184 second(s), 19 queries .
Powered by Discuz! X3.4
© 2001-2023 Discuz! Team.