Home
last modified time | relevance | path

Searched refs:nr_row_gpios (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/examples/peripherals/gpio/matrix_keyboard/components/matrix_keyboard/src/
Dmatrix_keyboard.c41 uint32_t nr_row_gpios; member
55 …dedic_gpio_bundle_set_interrupt_and_callback(row_bundle, (1 << mkbd->nr_row_gpios) - 1, DEDIC_GPIO… in matrix_kbd_row_isr_callback()
69 row_out = (~row_out) & ((1 << mkbd->nr_row_gpios) - 1); in matrix_kbd_debounce_timer_callback()
93 …dedic_gpio_bundle_write(mkbd->row_bundle, (1 << mkbd->nr_row_gpios) - 1, (1 << mkbd->nr_row_gpios)… in matrix_kbd_debounce_timer_callback()
96 dedic_gpio_bundle_set_interrupt_and_callback(mkbd->row_bundle, (1 << mkbd->nr_row_gpios) - 1, in matrix_kbd_debounce_timer_callback()
107 mkbd = calloc(1, sizeof(matrix_kbd_t) + (config->nr_row_gpios) * sizeof(uint32_t)); in matrix_kbd_install()
111 mkbd->nr_row_gpios = config->nr_row_gpios; in matrix_kbd_install()
122 for (int i = 0; i < config->nr_row_gpios; i++) { in matrix_kbd_install()
129 .array_size = config->nr_row_gpios, in matrix_kbd_install()
155 dedic_gpio_bundle_set_interrupt_and_callback(mkbd->row_bundle, (1 << config->nr_row_gpios) - 1, in matrix_kbd_install()
[all …]
/hal_espressif-3.6.0/examples/peripherals/gpio/matrix_keyboard/components/matrix_keyboard/include/
Dmatrix_keyboard.h63 uint32_t nr_row_gpios; /*!< row_gpios array size */ member
76 .nr_row_gpios = 0, \
/hal_espressif-3.6.0/examples/peripherals/gpio/matrix_keyboard/main/
Dmatrix_keyboard_example_main.c46 config.nr_row_gpios = 4; in app_main()