Searched refs:MKBD_CHECK (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-3.6.0/examples/peripherals/gpio/matrix_keyboard/components/matrix_keyboard/src/ |
D | matrix_keyboard.c | 27 #define MKBD_CHECK(a, msg, tag, ret, ...) \ macro 104 MKBD_CHECK(config, "matrix keyboard configuration can't be null", err, ESP_ERR_INVALID_ARG); in matrix_kbd_install() 105 MKBD_CHECK(mkbd_handle, "matrix keyboard handle can't be null", err, ESP_ERR_INVALID_ARG); in matrix_kbd_install() 108 MKBD_CHECK(mkbd, "allocate matrix keyboard context failed", err, ESP_ERR_NO_MEM); in matrix_kbd_install() 135 MKBD_CHECK(dedic_gpio_new_bundle(&bundle_row_config, &mkbd->row_bundle) == ESP_OK, in matrix_kbd_install() 151 MKBD_CHECK(dedic_gpio_new_bundle(&bundle_col_config, &mkbd->col_bundle) == ESP_OK, in matrix_kbd_install() 162 MKBD_CHECK(mkbd->debounce_timer, "create debounce timer failed", err, ESP_FAIL); in matrix_kbd_install() 185 MKBD_CHECK(mkbd_handle, "matrix keyboard handle can't be null", err, ESP_ERR_INVALID_ARG); in matrix_kbd_uninstall() 198 MKBD_CHECK(mkbd_handle, "matrix keyboard handle can't be null", err, ESP_ERR_INVALID_ARG); in matrix_kbd_start() 221 MKBD_CHECK(mkbd_handle, "matrix keyboard handle can't be null", err, ESP_ERR_INVALID_ARG); in matrix_kbd_stop() [all …]
|