Function gx_hal_keyscan_init¶
Defined in file__output_copyinclude_src_include_keyscan_gx_hal_keyscan.h
Function Documentation¶
-
hal_status gx_hal_keyscan_init(GX_HAL_KEYSCAN *dev)¶
keyscan 初始化 GX_HAL_KEYSCAN 调用该函数初始化keyscan模块,调用前需要填充dev结构体中以下参数: regs: 基地址
- Returns HAL_OK
成功
- Returns HAL_ERROR
失败
- 返回
hal_status 初始化否成功