Searched refs:master_t (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-2.7.6/components/driver/test/ |
D | test_spi_sio.c | 72 spi_transaction_t master_t = { variable 87 TEST_ESP_OK(spi_device_transmit(spi, &master_t)); 92 ESP_LOG_BUFFER_HEXDUMP("master tx", master_t.tx_buffer, tlen, ESP_LOG_INFO); 95 ESP_LOG_BUFFER_HEXDUMP("master rx", master_t.rx_buffer, rlen, ESP_LOG_INFO); 97 TEST_ASSERT_EQUAL_HEX8_ARRAY(master_t.tx_buffer, slave_t.rx_buffer, tlen); 98 TEST_ASSERT_EQUAL_HEX8_ARRAY(slave_t.tx_buffer + tlen, master_t.rx_buffer, rlen);
|
D | test_common_spi.c | 163 esp_err_t spitest_check_data(int len, spi_transaction_t *master_t, slave_rxdata_t *slave_t, bool ch… in spitest_check_data() argument 174 memcmp(slave_t->tx_start, master_t->rx_buffer, (len + 7) / 8) != 0 ) { in spitest_check_data() 179 memcmp(master_t->tx_buffer, slave_t->data, (len + 7) / 8) != 0 ) { in spitest_check_data() 184 spitest_master_print_data(master_t, len); in spitest_check_data() 190 TEST_ASSERT_EQUAL_HEX8_ARRAY(slave_t->tx_start, master_t->rx_buffer, (len + 7) / 8); in spitest_check_data() 191 TEST_ASSERT_EQUAL_HEX8_ARRAY(master_t->tx_buffer, slave_t->data, (len + 7) / 8); in spitest_check_data()
|
/hal_espressif-2.7.6/components/driver/test/include/test/ |
D | test_common_spi.h | 257 esp_err_t spitest_check_data(int len, spi_transaction_t *master_t, slave_rxdata_t *slave_t, bool ch… 269 static inline int get_trans_len(spi_dup_t dup, spi_transaction_t *master_t) in get_trans_len() argument 272 return master_t->length; in get_trans_len() 274 return master_t->rxlength; in get_trans_len()
|