Loading...
Searching...
No Matches
matrix_keypad_params.h File Reference

Default configuration. More...

Detailed Description

Default configuration.

Author
Koen Zandberg koen@.nosp@m.berg.nosp@m.zand..nosp@m.net

Definition in file matrix_keypad_params.h.

#include "board.h"
#include "matrix_keypad.h"
+ Include dependency graph for matrix_keypad_params.h:

Go to the source code of this file.

Variables

static const matrix_keypad_params_t matrix_keypad_params []
 Configuration struct.
 

Set default configuration parameters

#define MATRIX_KEYPAD_PARAM_ROWS   { GPIO_PIN(0, 0), GPIO_PIN(0, 1) }
 Number of configured rows.
 
#define MATRIX_KEYPAD_PARAM_COLUMNS   { GPIO_PIN(0, 2), GPIO_PIN(0, 3) }
 Number of configured columns.
 
#define MATRIX_KEYPAD_PARAM_ROW2COL_DELAY   1
 Delay between switching the row state and reading the columns.
 
#define MATRIX_KEYPAD_PARAMS
 Default param configuration.
 

Macro Definition Documentation

◆ MATRIX_KEYPAD_PARAM_COLUMNS

#define MATRIX_KEYPAD_PARAM_COLUMNS   { GPIO_PIN(0, 2), GPIO_PIN(0, 3) }

Number of configured columns.

Definition at line 45 of file matrix_keypad_params.h.

◆ MATRIX_KEYPAD_PARAM_ROW2COL_DELAY

#define MATRIX_KEYPAD_PARAM_ROW2COL_DELAY   1

Delay between switching the row state and reading the columns.

Definition at line 52 of file matrix_keypad_params.h.

◆ MATRIX_KEYPAD_PARAM_ROWS

#define MATRIX_KEYPAD_PARAM_ROWS   { GPIO_PIN(0, 0), GPIO_PIN(0, 1) }

Number of configured rows.

Definition at line 38 of file matrix_keypad_params.h.

◆ MATRIX_KEYPAD_PARAMS

#define MATRIX_KEYPAD_PARAMS
Value:
{ \
}
#define MATRIX_KEYPAD_PARAM_ROWS
Number of configured rows.
#define MATRIX_KEYPAD_PARAM_ROW2COL_DELAY
Delay between switching the row state and reading the columns.
#define MATRIX_KEYPAD_PARAM_COLUMNS
Number of configured columns.

Default param configuration.

Definition at line 59 of file matrix_keypad_params.h.

Variable Documentation

◆ matrix_keypad_params

const matrix_keypad_params_t matrix_keypad_params[]
static
Initial value:
=
{
}
#define MATRIX_KEYPAD_PARAMS
Default param configuration.

Configuration struct.

Definition at line 70 of file matrix_keypad_params.h.