摘要:
1.Linux中断的注册与释放:在<linux/interrupt.h>, , 实现中断注册接口:int request_irq(unsigned int irq,irqreturn_t (*handler)(int, void *, struct pt_regs *), unsigned long flags, const char *dev_name,void *dev_id);void free_irq(unsigned int irq, void *dev_id);函数参数说明unsigned int irq:所要注册的中断号irqreturn_t (*handler)(i 阅读全文