bigbaicai

芯方式是以开云棋牌官网在线客服人、电子工程师等电子行业相关领域从业人员为核心的知识经验学习、分享、交流社群。 凭借开放、合作、共赢的运营理念,聚集了来自国内外知名院校和顶尖科技公司的开云棋牌官网在线客服人、电子工程师。 我们致力于营造专业、认真、有温度的分享交流环境,将高质量的内容和方案成规模地生产和分享,帮助个人和团队在芯方式找到有价值的Key。 http://www.icfans.com/

mt2523 [keypad]How to configure the

0
阅读(922)

mt2523 [keypad]How to configure the customization parameters about long press...

[keypad]How to configure the customization parameters about long press and repeat time?
You can modify the file driver\board\mt25x3_HDK\keypad\inc\keypad_custom_config.h
/*Set the keypad detection debounce time, the maximum value is 4095, the unit is millisecond.*/
#define HAL_KEYPAD_DEBOUNCE_TIME 16
/*Set normal keypad longpress time, the unit is millisecond.*/
#define HAL_KEYPAD_LONGPRESS_TIME 2000
/*Set normal keypad repeat time, the unit is millisecond.*/
#define HAL_KEYPAD_REPEAT_TIME 1000
/*Setpowerkey longpress time, the unit is millisecond.*/
#define HAL_POWERKEY_LONGPRESS_TIME 2000
/*Set powerkey repeat time, the unit is millisecond.*/
#define HAL_POWERKEY_REPEAT_TIME 1000

You can modify the time asyou want. The unit is millisecond.

Baidu
map