Loading...
Searching...
No Matches
matrix_keypad_params_t Struct Reference

Device initialization parameters. More...

Detailed Description

Device initialization parameters.

Definition at line 140 of file matrix_keypad.h.

#include <matrix_keypad.h>

Data Fields

gpio_t rows [CONFIG_MATRIX_KEYPAD_NUM_ROWS]
 GPIO pin array for the rows.
 
gpio_t columns [CONFIG_MATRIX_KEYPAD_NUM_COLUMNS]
 GPIO pin array for the columns.
 
uint32_t row2col_delay
 Delay in microseconds between configuring the row gpio and reading out the column.
 

Field Documentation

◆ columns

gpio_t matrix_keypad_params_t::columns[CONFIG_MATRIX_KEYPAD_NUM_COLUMNS]

GPIO pin array for the columns.

GPIO_UNDEF is allowed and scanning is skipped for these.

Definition at line 150 of file matrix_keypad.h.

◆ row2col_delay

uint32_t matrix_keypad_params_t::row2col_delay

Delay in microseconds between configuring the row gpio and reading out the column.

Can be zero to skip the delay.

Definition at line 155 of file matrix_keypad.h.

◆ rows

gpio_t matrix_keypad_params_t::rows[CONFIG_MATRIX_KEYPAD_NUM_ROWS]

GPIO pin array for the rows.

GPIO_UNDEF is allowed and scanning is skipped for these.

Definition at line 145 of file matrix_keypad.h.


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