MAX_CARLINK_A270S/MXC_A27-PCB4.5-270T/ArkmicroFiles/libcpu-amt630hv100/include/sd.h

24 lines
485 B
C

#ifndef _SD_H
#define _SD_H
#include "FreeRTOS.h"
#include "mmcsd_host.h"
#ifdef __cplusplus
extern "C" {
#endif
int mmcsd_send_if_cond(struct mmcsd_host *host, uint32_t ocr);
int mmcsd_send_app_op_cond(struct mmcsd_host *host, uint32_t ocr, uint32_t *rocr);
int mmcsd_get_card_addr(struct mmcsd_host *host, uint32_t *rca);
int32_t mmcsd_get_scr(struct mmcsd_card *card, uint32_t *scr);
int32_t init_sd(struct mmcsd_host *host, uint32_t ocr);
#ifdef __cplusplus
}
#endif
#endif