公文高手,超级方便的公文写作神器! 立即了解


note-pic24fj系列中断函数的使用介绍pic24系列中断函数的基本结构及使用方法。1、picf系列单片机所有中断服务程序的汇编入口和c程序的中断函数入口,mplabc30均已在芯片的链接描述文件(gld文件)定义好,编程时直接引用即可。例如处理int1的汇编程序的入口为_int1interrupt,c程序的中断函数为:void__attribute__((interrupt,no_auto_psv))_int1interrupt(void){//以下为用户自己代码int1_clear_intr_status_bit;dataavailable=1;}编译后,中断向量表中int1的……查看全文>>
字数:1329下载WORD

6点公文网 ,让我们一起6点下班!