Rechercher une page de manuel
struct_matrix_keypad_platform_data
Langue: en
Version: October 2010 (fedora - 01/12/10)
Section: 9 (Appels noyau Linux)
NAME
struct_matrix_keypad_platform_data - platform-dependent keypad dataSYNOPSIS
struct matrix_keypad_platform_data { const struct matrix_keymap_data * keymap_data; const unsigned int * row_gpios; const unsigned int * col_gpios; unsigned int num_row_gpios; unsigned int num_col_gpios; unsigned int col_scan_delay_us; unsigned int debounce_ms; bool active_low; bool wakeup; bool no_autorepeat; };
MEMBERS
keymap_data
- pointer to matrix_keymap_data
row_gpios
- pointer to array of gpio numbers representing rows
col_gpios
- pointer to array of gpio numbers reporesenting colums
num_row_gpios
- actual number of row gpios used by device
num_col_gpios
- actual number of col gpios used by device
col_scan_delay_us
- delay, measured in microseconds, that is needed before we can keypad after activating column gpio
debounce_ms
- debounce interval in milliseconds
active_low
- gpio polarity
wakeup
- controls whether the device should be set up as wakeup source
no_autorepeat
- disable key autorepeat
DESCRIPTION
This structure represents platform-specific data that use used by matrix_keypad driver to perform proper initialization.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre