MT2523 API Reference  LinkIt SDK v4
hal_keypad_config_t Struct Reference

This structure defines keypad configuration. More...

#include <hal_keypad.h>

Data Fields

hal_keypad_mode_t mode
 Specifies the keypad single or double key mode. More...
 
hal_keypad_column_row_t key_map
 Specifies the keypad column and row bitmaps. More...
 
uint32_t debounce
 Specifies the keypad debounce time, the unit is millisecond. More...
 
uint32_t repeat_time
 Specifies the keypad repeat event time, the unit is millisecond. More...
 
uint32_t longpress_time
 Specifies the keypad longpress event time, the unit is millisecond. More...
 

Detailed Description

This structure defines keypad configuration.

More information please refer to hal_keypad_init()

Field Documentation

uint32_t debounce

Specifies the keypad debounce time, the unit is millisecond.

Specifies the keypad column and row bitmaps.

uint32_t longpress_time

Specifies the keypad longpress event time, the unit is millisecond.

Specifies the keypad single or double key mode.

uint32_t repeat_time

Specifies the keypad repeat event time, the unit is millisecond.


The documentation for this struct was generated from the following file: