/* DMA SPI half transmit receive process complete callback.  */
static void SPI_DMAHalfTransmitReceiveCplt(DMA_HandleTypeDef *hdma)
/* DMA SPI half transmit receive process complete callback.  */
static void SPI_DMAHalfTransmitReceiveCplt(DMA_HandleTypeDef *hdma)
{
	SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent);
	HAL_SPI_TxRxHalfCpltCallback(hspi);
}