/* Checks if the SPI module is ready to write data. 
This function will check if the SPI module is ready to write data. */
static bool _spi_is_ready_to_write(Spi *const spi_module)
/* Checks if the SPI module is ready to write data. 
This function will check if the SPI module is ready to write data. */
static bool _spi_is_ready_to_write(Spi *const spi_module)
{
	Assert(spi_module);
	return (spi_module->TRANSMIT_STATUS.bit.TX_FIFO_NOT_FULL);
}