Searched refs:rxdata (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/samples/drivers/spi_bitbang/src/ |
D | main.c | 61 uint16_t rxdata[3]; in test_9bit_loopback_partial() local 71 {.buf = rxdata, .len = (datacount - 2) * stride}, in test_9bit_loopback_partial() 82 printf(" rx (ii) : %04x %04x %04x\n", rxdata[0], rxdata[1], rxdata[2]); in test_9bit_loopback_partial() 100 uint8_t rxdata[datacount]; in test_8bit_xfer() local 106 {.buf = rxdata, .len = datacount}, in test_8bit_xfer() 118 rxdata[0], rxdata[1], rxdata[2], rxdata[3], rxdata[4]); in test_8bit_xfer()
|
/Zephyr-latest/tests/kernel/mbox/mbox_usage/src/ |
D | main.c | 58 static char rxdata[MAIL_LEN]; in msg_receiver() local 63 mmsg.size = sizeof(rxdata); in msg_receiver() 66 ret = k_mbox_get(pmbox, &mmsg, rxdata, timeout); in msg_receiver() 132 static char rxdata[MAIL_LEN]; in thread_low_prio() local 136 mmsg.size = sizeof(rxdata); in thread_low_prio() 137 ret = k_mbox_get(&multi_tmbox, &mmsg, rxdata, K_FOREVER); in thread_low_prio() 140 zassert_equal(memcmp(rxdata, msg_data[1], MAIL_LEN), 0, in thread_low_prio() 149 static char rxdata[MAIL_LEN]; in thread_high_prio() local 153 mmsg.size = sizeof(rxdata); in thread_high_prio() 154 ret = k_mbox_get(&multi_tmbox, &mmsg, rxdata, K_FOREVER); in thread_high_prio() [all …]
|
/Zephyr-latest/tests/kernel/mbox/mbox_api/src/ |
D | test_mbox_api.c | 242 char rxdata[MAIL_LEN]; in tmbox_get() local 247 mmsg.size = sizeof(rxdata); in tmbox_get() 250 zassert_true(k_mbox_get(pmbox, &mmsg, rxdata, K_FOREVER) == 0, in tmbox_get() 261 mmsg.size = sizeof(rxdata); in tmbox_get() 267 zassert_true(k_mbox_get(pmbox, &mmsg, rxdata, K_FOREVER) == 0, in tmbox_get() 272 zassert_true(memcmp(rxdata, data[info_type], MAIL_LEN) == 0, in tmbox_get() 277 mmsg.size = sizeof(rxdata); in tmbox_get() 283 k_mbox_data_get(&mmsg, rxdata); in tmbox_get() 284 zassert_true(memcmp(rxdata, data[info_type], MAIL_LEN) == 0, in tmbox_get() 309 zassert_true(k_mbox_get(pmbox, &mmsg, &rxdata, K_FOREVER) == 0, in tmbox_get()
|
/Zephyr-latest/tests/boards/mec172xevb_assy6906/qspi/src/ |
D | main.c | 127 uint32_t rxdata = 0; in spi_flash_read_status() local 134 spi_bufs[1].buf = &rxdata; in spi_flash_read_status() 152 *status = (uint8_t)(rxdata & 0xffu); in spi_flash_read_status()
|