[MTK_Code]EINT外部中断学习
2011-11-05 11:52
423 查看
* DESCRIPTION
* This function implements registration of external interrupts
*
* CALLS
*
* PARAMETERS
* eintno - External interrupt vector number(外部中断号)
* Dbounce_En - Debounce control enable(判断当前是否可用)
* ACT_Polarity - Interrupt polarity(设置高电平触发还是低电平触发)
* reg_hisr - Registered hisr(响应函数)
* auto_umask - A flag instruct the systerm to do unmask after
* invoking the registered HISR
void EINT_Registration(kal_uint8 eintno, kal_bool Dbounce_En, kal_bool ACT_Polarity, \
void (reg_hisr)(void), kal_bool auto_umask)
Example:
EINT_Registration(AUX_EINT_NO,KAL_TRUE,aux_state,AUX_EINT_HISR, KAL_TRUE);
aux_state :默认是Level_low
* This function implements registration of external interrupts
*
* CALLS
*
* PARAMETERS
* eintno - External interrupt vector number(外部中断号)
* Dbounce_En - Debounce control enable(判断当前是否可用)
* ACT_Polarity - Interrupt polarity(设置高电平触发还是低电平触发)
* reg_hisr - Registered hisr(响应函数)
* auto_umask - A flag instruct the systerm to do unmask after
* invoking the registered HISR
void EINT_Registration(kal_uint8 eintno, kal_bool Dbounce_En, kal_bool ACT_Polarity, \
void (reg_hisr)(void), kal_bool auto_umask)
Example:
EINT_Registration(AUX_EINT_NO,KAL_TRUE,aux_state,AUX_EINT_HISR, KAL_TRUE);
aux_state :默认是Level_low
相关文章推荐
- [MTK_Code]EINT外部中断学习
- STM32学习之路:day2-初始32函数库和外部中断
- STM32学习笔记:外部中断的使用
- STM32学习笔记之EXTI(外部中断)
- S3C6410外部中断裸机学习笔记(VIC模式)
- STM32F103学习笔记——外部中断
- (学习笔记)单片机外部中断的两种模式
- STM32学习笔记:外部中断的使用
- 获得外部控件句柄的学习贴 CODE: C /C++
- Atmage16中断学习—外部中断
- 获取编译学习笔记 (十三)—— 外部中断
- STM32学习笔记:外部中断的使用
- ATmega8仿真——外部中断的学习
- 【51单片机学习过程记录】11 中断之外部中断的应用
- 参考 10定时器 成功外部中断 IRQ_EINT1 有底半部 workqueue
- STM32-外部中断学习笔记
- STM32CubeMX学习教程之二:GPIO输入之外部中断
- arm学习的一点心得:外部中断配置
- STM32单片机学习(2) 外部中断
- stm32学习笔记——按键(外部中断)