Home
last modified time | relevance | path

Searched refs:rx_rdy (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/tests/drivers/uart/uart_async_api/src/
Dtest_uart_async.c11 K_SEM_DEFINE(rx_rdy, 0, 1);
31 k_sem_reset(&rx_rdy); in init_test()
40 &rx_rdy, &rx_buf_coherency, &rx_buf_released, in set_permissions()
54 k_sem_reset(&rx_rdy); in uart_async_test_init()
105 k_sem_give(&rx_rdy); in test_single_read_callback()
151 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER()
156 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), 0, "RX_RDY timeout"); in ZTEST_USER()
157 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER()
165 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), 0, "RX_RDY timeout"); in ZTEST_USER()
173 zassert_equal(k_sem_take(&rx_rdy, K_MSEC(100)), -EAGAIN, in ZTEST_USER()
[all …]
/Zephyr-Core-3.5.0/drivers/serial/
Dserial_test.c66 bool rx_rdy = is_irq_rx_pending(dev); in irq_process() local
68 bool rx_int = rx_rdy && data->irq_rx_enabled; in irq_process()
71 LOG_DBG("rx_rdy %d tx_rdy %d", rx_rdy, tx_rdy); in irq_process()