Loading...
Searching...
No Matches
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.
 

Field Documentation

◆ arg

void* matrix_keypad_t::arg

callback context

Definition at line 190 of file matrix_keypad.h.

◆ callback

matrix_keypad_cb_t matrix_keypad_t::callback

Callback called when a key changes state.

Definition at line 195 of file matrix_keypad.h.

◆ debounce

Debounce history.

Definition at line 180 of file matrix_keypad.h.

◆ params

const matrix_keypad_params_t* matrix_keypad_t::params

Device initialization parameters.

Definition at line 175 of file matrix_keypad.h.

◆ state

Current button state.

Definition at line 185 of file matrix_keypad.h.


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