/* ======================================== * * Copyright YOUR COMPANY, THE YEAR * All Rights Reserved * UNPUBLISHED, LICENSED SOFTWARE. * * CONFIDENTIAL AND PROPRIETARY INFORMATION * WHICH IS THE PROPERTY OF your company. * * ======================================== */ #ifndef _SD_SPI_H_ #define _SD_SPI_H_ #include #include "sd_card.h" bool sd_spi_transfer(sd_card_t *this, const uint8_t *tx, uint8_t *rx, size_t length); uint8_t sd_spi_write(sd_card_t *this, const uint8_t value); void sd_spi_select(sd_card_t *this); void sd_spi_deselect(sd_card_t *this); void sd_spi_acquire(sd_card_t *this); void sd_spi_release(sd_card_t *this); //void sd_spi_select(sd_card_t *this); //void sd_spi_deselect(sd_card_t *this); void sd_spi_go_low_frequency(sd_card_t *this); void sd_spi_go_high_frequency(sd_card_t *this); bool sd_spi_init(sd_card_t *this); #endif /* [] END OF FILE */