Function gx_hal_keyscan_set_timeout

  • Defined in file__output_copyinclude_src_include_keyscan_gx_hal_keyscan.h

Function Documentation

hal_status gx_hal_keyscan_set_timeout(GX_HAL_KEYSCAN *dev, uint32_t time_ms)

keyscan模块设置超时中断的超时时间

参数
  • dev – keyscan 句柄 GX_HAL_KEYSCAN

  • time_ms – keyscan 超时时间(ms)

Returns HAL_OK

设置成功

Returns HAL_ERROR

设置失败

返回

hal_status 设置是否成功