/* Transceive single byte of data to and from the SPI. 
This function will return after single byte of data transceived. */
enum status_code spi_transceive_wait(struct spi_module *const module, uint8_t *tx_data, uint8_t *rx_data)
/* Transceive single byte of data to and from the SPI. 
This function will return after single byte of data transceived. */
enum status_code spi_transceive_wait(struct spi_module *const module, uint8_t *tx_data, uint8_t *rx_data)
{
	return spi_transceive_buffer_wait(module, tx_data, rx_data, 1);
}