19#ifndef MATRIX_KEYPAD_PARAMS_H
20#define MATRIX_KEYPAD_PARAMS_H
37#ifndef MATRIX_KEYPAD_PARAM_ROWS
38#define MATRIX_KEYPAD_PARAM_ROWS { GPIO_PIN(0, 0), GPIO_PIN(0, 1) }
44#ifndef MATRIX_KEYPAD_PARAM_COLUMNS
45#define MATRIX_KEYPAD_PARAM_COLUMNS { GPIO_PIN(0, 2), GPIO_PIN(0, 3) }
51#ifndef MATRIX_KEYPAD_PARAM_ROW2COL_DELAY
52#define MATRIX_KEYPAD_PARAM_ROW2COL_DELAY 1
58#ifndef MATRIX_KEYPAD_PARAMS
59#define MATRIX_KEYPAD_PARAMS { \
60 .rows = MATRIX_KEYPAD_PARAM_ROWS, \
61 .columns = MATRIX_KEYPAD_PARAM_COLUMNS, \
62 .row2col_delay = MATRIX_KEYPAD_PARAM_ROW2COL_DELAY, \
Interface definition for the matrix keypad.
#define MATRIX_KEYPAD_PARAMS
Default param configuration.
static const matrix_keypad_params_t matrix_keypad_params[]
Configuration struct.
Device initialization parameters.