IRQF_TRIGGER_HIGH
时间: 2023-08-07 22:01:54 浏览: 104
IRQF_TRIGGER_HIGH是一个中断触发方式的标志,表示中断在高电平有效时触发。\[3\]在给定的代码中,当注册中断时,如果pdata->irq_gpio.enable为GPIO_LOW,则设置trigger为IRQF_TRIGGER_LOW,否则设置为IRQF_TRIGGER_HIGH。这意味着当中断引脚为高电平时,中断会被触发。\[2\]
#### 引用[.reference_title]
- *1* [共享中断 IRQF_SHARED 使用方法](https://blog.csdn.net/qq_38350702/article/details/111995881)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [linux中断详解](https://blog.csdn.net/tianqingtz/article/details/9959915)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [linux内核中的一些关于中断的宏定义](https://blog.csdn.net/u010264321/article/details/10217891)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文