Searched refs:nr_col_gpios (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/gpio/matrix_keyboard/components/matrix_keyboard/src/ |
D | matrix_keyboard.c | 42 uint32_t nr_col_gpios; member 58 …dedic_gpio_bundle_write(mkbd->col_bundle, (1 << mkbd->nr_col_gpios) - 1, (1 << mkbd->nr_col_gpios)… in matrix_kbd_row_isr_callback() 95 dedic_gpio_bundle_write(mkbd->col_bundle, (1 << mkbd->nr_col_gpios) - 1, 0); in matrix_kbd_debounce_timer_callback() 110 mkbd->nr_col_gpios = config->nr_col_gpios; in matrix_kbd_install() 138 for (int i = 0; i < config->nr_col_gpios; i++) { in matrix_kbd_install() 145 .array_size = config->nr_col_gpios, in matrix_kbd_install() 157 dedic_gpio_bundle_set_interrupt_and_callback(mkbd->col_bundle, (1 << config->nr_col_gpios) - 1, in matrix_kbd_install() 203 dedic_gpio_bundle_write(mkbd_handle->col_bundle, (1 << mkbd_handle->nr_col_gpios) - 1, 0); in matrix_kbd_start() 206 mkbd_handle->row_state[i] = (1 << mkbd_handle->nr_col_gpios) - 1; in matrix_kbd_start() 228 …io_bundle_set_interrupt_and_callback(mkbd_handle->col_bundle, (1 << mkbd_handle->nr_col_gpios) - 1, in matrix_kbd_stop()
|
/hal_espressif-3.6.0/examples/peripherals/gpio/matrix_keyboard/components/matrix_keyboard/include/ |
D | matrix_keyboard.h | 64 uint32_t nr_col_gpios; /*!< col_gpios array size */ member 77 .nr_col_gpios = 0, \
|
/hal_espressif-3.6.0/examples/peripherals/gpio/matrix_keyboard/main/ |
D | matrix_keyboard_example_main.c | 42 config.nr_col_gpios = 4; in app_main()
|