drivers/storage/spi_sdcard.c
/*
 * sd_spi_write - write a byte using the SPI and return one
 *
 * @data - the byte that we want to send
 *
 * This method sends a byte on the SPI and returns the received one.
 */
write a byte using the SPI and return one
@data - the byte that we want to send

This method sends a byte on the SPI and returns the received one.
write a byte using the SPI and return one @data - the byte that we want to send This method sends a byte on the SPI and returns the received one .
static uint8_t sd_spi_write(uint8_t data)
{
  uint8_t recv = 0;
  spi_send_recv(g_sd_spi, &data, sizeof(uint8_t), &recv, sizeof(uint8_t));
  return recv;
}
static uint8_t sd_spi_write ( uint8_t data ) { uint8_t recv = 0 ; spi_send_recv ( g_sd_spi , & data , sizeof ( uint8_t ) , & recv , sizeof ( uint8_t ) ) ; return recv ; }
sd_spi_write - write a byte using the SPI and return one
 @data - the byte that we want to send
sd_spi_write - write a byte using the SPI and return one @data - the byte that we want to send