Function gx_hal_keyscan_interrupt_enable¶
Defined in file__output_copyinclude_src_include_keyscan_gx_hal_keyscan.h
Function Documentation¶
-
hal_status gx_hal_keyscan_interrupt_enable(GX_HAL_KEYSCAN *dev, GX_HAL_KEYSCAN_INT_TYPE type)¶
keyscan模块中断打开
- 参数
dev – keyscan 句柄 GX_HAL_KEYSCAN
type – keyscan 中断号 GX_HAL_KEYSCAN_INT_TYPE
- Returns HAL_OK
设置成功
- Returns HAL_ERROR
设置失败
- 返回
hal_status 设置是否成功