Searched refs:mkbd (Results 1 – 1 of 1) sorted by relevance
52 matrix_kbd_t *mkbd = (matrix_kbd_t *)args; in matrix_kbd_row_isr_callback() local55 …dedic_gpio_bundle_set_interrupt_and_callback(row_bundle, (1 << mkbd->nr_row_gpios) - 1, DEDIC_GPIO… in matrix_kbd_row_isr_callback()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()59 xTimerStartFromISR(mkbd->debounce_timer, &high_task_wakeup); in matrix_kbd_row_isr_callback()65 matrix_kbd_t *mkbd = (matrix_kbd_t *)pvTimerGetTimerID(xTimer); in matrix_kbd_debounce_timer_callback() local67 uint32_t row_out = dedic_gpio_bundle_read_out(mkbd->row_bundle); in matrix_kbd_debounce_timer_callback()68 uint32_t col_in = dedic_gpio_bundle_read_in(mkbd->col_bundle); in matrix_kbd_debounce_timer_callback()69 row_out = (~row_out) & ((1 << mkbd->nr_row_gpios) - 1); in matrix_kbd_debounce_timer_callback()76 uint32_t changed_col_bits = mkbd->row_state[row] ^ col_in; in matrix_kbd_debounce_timer_callback()82 … mkbd->event_handler(mkbd, MATRIX_KBD_EVENT_UP, (void *)key_code, mkbd->event_handler_args); in matrix_kbd_debounce_timer_callback()[all …]