/Zephyr-latest/tests/drivers/kscan/kscan_input/src/ |
D | main.c | 24 bool pressed; member 29 bool pressed) in kscan_callback() argument 31 TC_PRINT("row = %u col = %u %d\n", row, col, pressed); in kscan_callback() 36 last_cb_val.pressed = pressed; in kscan_callback() 54 zassert_equal(last_cb_val.pressed, true); in ZTEST() 60 zassert_equal(last_cb_val.pressed, true); in ZTEST() 66 zassert_equal(last_cb_val.pressed, false); in ZTEST()
|
/Zephyr-latest/drivers/kscan/ |
D | kscan_input.c | 23 bool pressed; member 39 data->pressed = evt->value; in kscan_input_cb() 45 data->row, data->col, data->pressed); in kscan_input_cb() 47 data->callback(dev, data->row, data->col, data->pressed); in kscan_input_cb()
|
/Zephyr-latest/drivers/input/ |
D | input_sdl_touch_bottom.c | 17 data->pressed = false; in sdl_filter() 21 data->pressed = true; in sdl_filter()
|
D | input_ft5336.c | 92 bool pressed; in ft5336_process() local 120 pressed = true; in ft5336_process() 124 pressed = false; in ft5336_process() 129 pressed = false; in ft5336_process() 132 if (pressed) { in ft5336_process() 135 } else if (data->pressed_old && !pressed) { in ft5336_process() 138 data->pressed_old = pressed; in ft5336_process()
|
D | input_xpt2046.c | 36 bool pressed; member 110 if (!data->pressed) { in xpt2046_release_handler() 116 data->pressed = false; in xpt2046_release_handler() 165 bool pressed = meas.z > config->threshold; in xpt2046_work_handler() local 170 if (pressed) { in xpt2046_work_handler() 179 data->pressed = pressed; in xpt2046_work_handler()
|
D | input_sdl_touch_bottom.h | 28 bool pressed; member
|
D | input_cf1133.c | 90 uint8_t pressed : 1; member 211 data->pressed = true; in cf1133_process() 226 data->pressed = false; in cf1133_process() 235 data->pressed_old = data->pressed; in cf1133_process()
|
D | input_sdl_touch.c | 24 if (data->pressed) { in sdl_input_callback()
|
D | input_cst816s.c | 116 bool pressed; in cst816s_process() local 145 pressed = (event == EVENT_PRESS_DOWN) || (event == EVENT_CONTACT); in cst816s_process() 149 if (pressed) { in cst816s_process()
|
/Zephyr-latest/samples/drivers/kscan/src/ |
D | main.c | 123 bool pressed) in kb_callback() argument 128 LOG_INF("Key code = %u Pressed = %u\n", last_key, pressed); in kb_callback() 130 if (pressed) { in kb_callback()
|
/Zephyr-latest/subsys/input/ |
D | input_keymap.c | 29 bool pressed; member 48 data->pressed = evt->value; in keymap_cb() 69 LOG_DBG("input event: %3u %3u %d", data->row, data->col, data->pressed); in keymap_cb() 71 input_report_key(dev, codes[offset], data->pressed, true, K_FOREVER); in keymap_cb()
|
/Zephyr-latest/samples/drivers/ht16k33/src/ |
D | main.c | 19 uint32_t column, bool pressed) in keyscan_callback() argument 22 pressed ? "pressed" : "released"); in keyscan_callback()
|
/Zephyr-latest/tests/drivers/kscan/kscan_api/src/ |
D | test_kscan.c | 14 bool pressed) in kb_callback() argument 19 ARG_UNUSED(pressed); in kb_callback()
|
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/ |
D | reel_board.c | 58 static bool pressed; variable 435 pressed = false; in long_press() 450 if (button_is_pressed() == pressed) { in button_interrupt() 454 pressed = !pressed; in button_interrupt() 455 printk("Button %s\n", pressed ? "pressed" : "released"); in button_interrupt() 457 if (pressed) { in button_interrupt() 612 pressed = button_is_pressed(); in board_init() 613 if (pressed) { in board_init()
|
/Zephyr-latest/samples/subsys/input/draw_touch_events/src/ |
D | main.c | 46 bool pressed; member 58 touch_point.pressed = evt->value; in touch_event_callback() 143 LOG_INF("TOUCH %s X, Y: (%d, %d)", touch_point.pressed ? "PRESS" : "RELEASE", in main()
|
/Zephyr-latest/samples/subsys/display/lvgl/ |
D | Kconfig | 9 bool "Reset counter when sw0 is pressed"
|
/Zephyr-latest/drivers/led/ |
D | ht16k33.c | 207 bool pressed = false; in ht16k33_process_keyscan_data() local 229 pressed = true; in ht16k33_process_keyscan_data() 244 return pressed; in ht16k33_process_keyscan_data() 253 bool pressed; in ht16k33_irq_thread() local 260 pressed = ht16k33_process_keyscan_data(data->dev); in ht16k33_irq_thread() 262 } while (pressed); in ht16k33_irq_thread()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | kscan.h | 50 bool pressed);
|
/Zephyr-latest/samples/basic/button/ |
D | README.rst | 11 The sample prints a message to the console each time a button is pressed. 36 will be turned on when the button is pressed, and turned off off when it is 113 the serial console. When the input button gets pressed, the interrupt handler
|
/Zephyr-latest/samples/boards/espressif/light_sleep/ |
D | README.rst | 19 * ``EXT0``: wake up the chip if a button attached to GPIO0 is pressed (i.e. if 44 In the scenario below, the button attached to GPIO0 was pressed and held for
|
/Zephyr-latest/samples/boards/nordic/nrfx_prs/ |
D | README.rst | 25 When no button is pressed, every 5 seconds a background transfer using SPIM1 59 When no button is pressed, a background transfer on SPIM1 is performed.
|
/Zephyr-latest/samples/boards/nordic/dynamic_pinctrl/ |
D | README.rst | 24 If the push button is not pressed, the system does nothing and continues with 25 the default configuration. If the button is pressed, the alternative
|
/Zephyr-latest/boards/waveshare/rp2040_zero/doc/ |
D | index.rst | 117 …pressed while you connect the USB port, it will appear on the host as a mass storage device. In al…
|
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/ |
D | README.rst | 30 If a button is pressed only once within a 1 second interval, it sends an 31 "on" message. If it is pressed more than once, it
|
/Zephyr-latest/samples/boards/nordic/nrfx/ |
D | README.rst | 49 Connect to the serial port - notice that each time the button is pressed,
|