Searched refs:ret_trans (Results 1 – 6 of 6) sorted by relevance
/hal_espressif-3.6.0/components/driver/test/ |
D | test_spi_slave_hd.c | 183 spi_slave_hd_data_t* ret_trans; in check_no_rx() local 184 esp_err_t ret = spi_slave_hd_get_trans_res(TEST_SLAVE_HOST, SPI_SLAVE_CHAN_RX, &ret_trans, 0); in check_no_rx() 190 spi_slave_hd_data_t* ret_trans; in check_no_tx() local 191 esp_err_t ret = spi_slave_hd_get_trans_res(TEST_SLAVE_HOST, SPI_SLAVE_CHAN_TX, &ret_trans, 0); in check_no_tx() 279 spi_slave_hd_data_t* ret_trans; in test_wrdma() local 280 …esp_err_t ret = spi_slave_hd_get_trans_res(TEST_SLAVE_HOST, SPI_SLAVE_CHAN_RX, &ret_trans, portMAX… in test_wrdma() 282 TEST_ASSERT_EQUAL(&ctx->rx_data, ret_trans); in test_wrdma() 283 TEST_ASSERT_EQUAL(len, ret_trans->trans_len); in test_wrdma() 309 spi_slave_hd_data_t* ret_trans; in test_rddma() local 310 …esp_err_t ret = spi_slave_hd_get_trans_res(TEST_SLAVE_HOST, SPI_SLAVE_CHAN_TX, &ret_trans, portMAX… in test_rddma() [all …]
|
D | test_spi_param.c | 191 spi_slave_transaction_t *ret_trans; in local_test_loop() local 192 err = spi_slave_get_trans_result(TEST_SLAVE_HOST, &ret_trans, 5); in local_test_loop() 194 TEST_ASSERT_EQUAL(&slave_trans, ret_trans); in local_test_loop()
|
/hal_espressif-3.6.0/examples/peripherals/spi_slave_hd/append_mode/slave/main/ |
D | app_main.c | 155 spi_slave_hd_data_t *ret_trans; in sendTask() local 158 …ESP_ERROR_CHECK(spi_slave_hd_get_append_trans_res(HOST_ID, SPI_SLAVE_CHAN_TX, &ret_trans, portMAX_… in sendTask() 159 ret_link = __containerof(ret_trans, trans_link_t, trans); in sendTask() 219 spi_slave_hd_data_t *ret_trans; in recvTask() local 222 spi_slave_hd_get_append_trans_res(HOST_ID, SPI_SLAVE_CHAN_RX, &ret_trans, portMAX_DELAY); in recvTask() 223 ret_link = __containerof(ret_trans, trans_link_t, trans); in recvTask() 225 ESP_LOGI("Receiver", "%d bytes are actually received:", ret_trans->trans_len); in recvTask() 226 ESP_LOG_BUFFER_HEX("slave RX:", ret_trans->data, ret_trans->trans_len); in recvTask()
|
/hal_espressif-3.6.0/examples/peripherals/spi_slave_hd/segment_mode/seg_slave/main/ |
D | app_main.c | 165 spi_slave_hd_data_t *ret_trans; //Pointer to the descriptor of return result in sender() local 221 err = spi_slave_hd_get_trans_res(SLAVE_HOST, SPI_SLAVE_CHAN_TX, &ret_trans, 0); in sender() 234 spi_slave_hd_data_t *ret_trans; in receiver() local 269 …ESP_ERROR_CHECK(spi_slave_hd_get_trans_res(SLAVE_HOST, SPI_SLAVE_CHAN_RX, &ret_trans, portMAX_DELA… in receiver() 271 printf("%d bytes are received: \n%s\n", ret_trans->trans_len, ret_trans->data); in receiver() 272 memset(ret_trans->data, 0x0, recv_buf_size); in receiver()
|
/hal_espressif-3.6.0/components/driver/ |
D | spi_slave.c | 310 spi_slave_transaction_t *ret_trans; in spi_slave_transmit() local 314 ret = spi_slave_get_trans_result(host, &ret_trans, ticks_to_wait); in spi_slave_transmit() 316 assert(ret_trans == trans_desc); in spi_slave_transmit()
|
D | spi_master.c | 857 spi_transaction_t *ret_trans; in spi_device_transmit() local 862 ret = spi_device_get_trans_result(handle, &ret_trans, portMAX_DELAY); in spi_device_transmit() 865 assert(ret_trans == trans_desc); in spi_device_transmit()
|