Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
matrix_keypad_platform_data Struct Reference

#include <matrix_keypad.h>

Data Fields

struct matrix_keymap_datakeymap_data
 
const unsigned introw_gpios
 
const unsigned intcol_gpios
 
unsigned int num_row_gpios
 
unsigned int num_col_gpios
 
unsigned int col_scan_delay_us
 
unsigned int debounce_ms
 
unsigned int clustered_irq
 
unsigned int clustered_irq_flags
 
bool active_low
 
bool wakeup
 
bool no_autorepeat
 

Detailed Description

struct matrix_keypad_platform_data - platform-dependent keypad data : pointer to &matrix_keymap_data : pointer to array of gpio numbers representing rows : pointer to array of gpio numbers reporesenting colums : actual number of row gpios used by device : actual number of col gpios used by device : delay, measured in microseconds, that is needed before we can keypad after activating column gpio : debounce interval in milliseconds : may be specified if interrupts of all row/column GPIOs are bundled to one single irq : flags that are needed for the clustered irq : gpio polarity : controls whether the device should be set up as wakeup source : disable key autorepeat

This structure represents platform-specific data that use used by matrix_keypad driver to perform proper initialization.

Definition at line 56 of file matrix_keypad.h.

Field Documentation

bool active_low

Definition at line 73 of file matrix_keypad.h.

unsigned int clustered_irq

Definition at line 70 of file matrix_keypad.h.

unsigned int clustered_irq_flags

Definition at line 71 of file matrix_keypad.h.

const unsigned int* col_gpios

Definition at line 60 of file matrix_keypad.h.

unsigned int col_scan_delay_us

Definition at line 65 of file matrix_keypad.h.

unsigned int debounce_ms

Definition at line 68 of file matrix_keypad.h.

struct matrix_keymap_data* keymap_data

Definition at line 57 of file matrix_keypad.h.

bool no_autorepeat

Definition at line 75 of file matrix_keypad.h.

unsigned int num_col_gpios

Definition at line 63 of file matrix_keypad.h.

unsigned int num_row_gpios

Definition at line 62 of file matrix_keypad.h.

const unsigned int* row_gpios

Definition at line 59 of file matrix_keypad.h.

bool wakeup

Definition at line 74 of file matrix_keypad.h.


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