Searched refs:rx_words (Results 1 – 1 of 1) sorted by relevance
1411 size_t rx_words = rx_length / arr_size_modifier; in cyhal_spi_transfer_async() local1419 if (tx_words > rx_words) in cyhal_spi_transfer_async()1421 if (rx_words > 0) in cyhal_spi_transfer_async()1426 obj->tx_buffer = tx + (rx_words * arr_size_modifier); in cyhal_spi_transfer_async()1427 obj->tx_buffer_size = tx_words - rx_words; in cyhal_spi_transfer_async()1429 tx_words = rx_words; // Use tx_words to store entire transfer length in cyhal_spi_transfer_async()1439 else if (rx_words > tx_words) in cyhal_spi_transfer_async()1447 obj->rx_buffer_size = rx_words - tx_words; in cyhal_spi_transfer_async()1454 obj->rx_buffer = rx_words > 1 ? rx + 1 : NULL; in cyhal_spi_transfer_async()1455 obj->rx_buffer_size = rx_words - 1; in cyhal_spi_transfer_async()[all …]