matrix_keypad_t Struct Reference

Device descriptor for the driver. More...

Detailed Description

Device descriptor for the driver.

Definition at line 171 of file matrix_keypad.h.

#include <matrix_keypad.h>

Data Fields

const matrix_keypad_params_tparams
 Device initialization parameters.
 
uint8_t debounce [CONFIG_MATRIX_KEYPAD_NUM_ROWS][CONFIG_MATRIX_KEYPAD_NUM_COLUMNS]
 Debounce history.
 
matrix_keypad_state_row_t state [CONFIG_MATRIX_KEYPAD_NUM_ROWS]
 Current button state.
 
void * arg
 callback context
 
matrix_keypad_cb_t callback
 Callback called when a key changes state.
 

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