/* param base SPI peripheral address. param dummyData Data to be transferred when tx buffer is NULL.  */
void SPI_SetDummyData(SPI_Type *base, uint8_t dummyData)
/* param base SPI peripheral address. param dummyData Data to be transferred when tx buffer is NULL.  */
void SPI_SetDummyData(SPI_Type *base, uint8_t dummyData)
{
    uint32_t instance     = SPI_GetInstance(base);
    s_dummyData[instance] = dummyData;
}