drivers/src/microsd.c
void MICROSD_Deinit(void)
{
  USART_Reset(MICROSD_USART);

  /* IO configuration (USART 0, Location #0) */
  GPIO_PinModeSet(MICROSD_GPIOPORT, MICROSD_MOSIPIN, gpioModeDisabled, 0);  /* MOSI */
  GPIO_PinModeSet(MICROSD_GPIOPORT, MICROSD_MISOPIN, gpioModeDisabled, 0);  /* MISO */
  GPIO_PinModeSet(MICROSD_GPIOPORT, MICROSD_CSPIN, gpioModeDisabled, 0);    /* CS */
  GPIO_PinModeSet(MICROSD_GPIOPORT, MICROSD_CLKPIN, gpioModeDisabled, 0);   /* Clock */
}
/**************************************************************************/
/**
 * @brief
 *  Deinitialize SPI peripheral.
 *  Turn off the SPI peripheral and disable SPI GPIO pins.
 *****************************************************************************/
@brief
Deinitialize SPI peripheral.
Turn off the SPI peripheral and disable SPI GPIO pins.
@brief Deinitialize SPI peripheral . Turn off the SPI peripheral and disable SPI GPIO pins .
void MICROSD_Deinit(void)
{
  USART_Reset(MICROSD_USART);
  GPIO_PinModeSet(MICROSD_GPIOPORT, MICROSD_MOSIPIN, gpioModeDisabled, 0);  
  GPIO_PinModeSet(MICROSD_GPIOPORT, MICROSD_MISOPIN, gpioModeDisabled, 0);  
  GPIO_PinModeSet(MICROSD_GPIOPORT, MICROSD_CSPIN, gpioModeDisabled, 0);    
  GPIO_PinModeSet(MICROSD_GPIOPORT, MICROSD_CLKPIN, gpioModeDisabled, 0);   
}
void MICROSD_Deinit ( void ) { USART_Reset ( MICROSD_USART ) ; GPIO_PinModeSet ( MICROSD_GPIOPORT , MICROSD_MOSIPIN , gpioModeDisabled , 0 ) ; GPIO_PinModeSet ( MICROSD_GPIOPORT , MICROSD_MISOPIN , gpioModeDisabled , 0 ) ; GPIO_PinModeSet ( MICROSD_GPIOPORT , MICROSD_CSPIN , gpioModeDisabled , 0 ) ; GPIO_PinModeSet ( MICROSD_GPIOPORT , MICROSD_CLKPIN , gpioModeDisabled , 0 ) ; }
@brief
  Deinitialize SPI peripheral.
@brief Deinitialize SPI peripheral .
/* IO configuration (USART 0, Location #0) */ /* MOSI */ /* MISO */ /* CS */ /* Clock */