Lines Matching refs:tx_buffer
29 static void print_tx_rx_buffer(const uint8_t *const tx_buffer, const uint8_t *const rx_buffer) in print_tx_rx_buffer() argument
31 LOG_HEXDUMP_DBG(tx_buffer, BUFFER_SIZE, "TX: "); in print_tx_rx_buffer()
38 uint8_t tx_buffer[BUFFER_SIZE] = {read_address_mask & register_address, 0U, 0U, 0U, 0U}; in tmc_spi_read_register() local
43 .buf = &tx_buffer, in tmc_spi_read_register()
44 .len = sizeof(tx_buffer), in tmc_spi_read_register()
66 print_tx_rx_buffer(tx_buffer, rx_buffer); in tmc_spi_read_register()
78 print_tx_rx_buffer(tx_buffer, rx_buffer); in tmc_spi_read_register()
86 uint8_t tx_buffer[BUFFER_SIZE] = {write_bit | register_address, data >> 24, data >> 16, in tmc_spi_write_register() local
92 .buf = &tx_buffer, in tmc_spi_write_register()
93 .len = sizeof(tx_buffer), in tmc_spi_write_register()
114 print_tx_rx_buffer(tx_buffer, rx_buffer); in tmc_spi_write_register()