drivers/src/microsd.c
int MICROSD_Select(void)
{
  GPIO->P[MICROSD_GPIOPORT].DOUTCLR = 1 << MICROSD_CSPIN;   /* CS pin low. */
  if (WaitReady() != 0xFF) {
    MICROSD_Deselect();
    return 0;
  }
  return 1;
}
/**************************************************************************/
/**
 * @brief Select the micro SD card and wait for the card to become ready.
 * @return 1:Successful, 0:Timeout.
 *****************************************************************************/
@brief Select the micro SD card and wait for the card to become ready.
@return 1:Successful, 0:Timeout.
@brief Select the micro SD card and wait for the card to become ready . @return 1 : Successful 0 : Timeout .
int MICROSD_Select(void)
{
  GPIO->P[MICROSD_GPIOPORT].DOUTCLR = 1 << MICROSD_CSPIN;   
  if (WaitReady() != 0xFF) {
    MICROSD_Deselect();
    return 0;
  }
  return 1;
}
int MICROSD_Select ( void ) { GPIO -> P [ MICROSD_GPIOPORT ] . DOUTCLR = 1 << MICROSD_CSPIN ; if ( WaitReady ( ) != 0xFF ) { MICROSD_Deselect ( ) ; return 0 ; } return 1 ; }
@brief Select the micro SD card and wait for the card to become ready.
@brief Select the micro SD card and wait for the card to become ready .
/* CS pin low. */