/* SPI NSS pin high level in software mode.  */
void spi_nss_internal_high(uint32_t spi_periph)
/* SPI NSS pin high level in software mode.  */
void spi_nss_internal_high(uint32_t spi_periph)
{
    SPI_CTL0(spi_periph) |= (uint32_t)SPI_CTL0_SWNSS;
}