2 Star 1 Fork 1

976717326 / Teacup_Firmware

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
sd.h 591 Bytes
一键复制 编辑 原始数据 按行查看 历史
/** \file Coordinating reading and writing of SD cards.
*/
#ifndef _SD_H
#define _SD_H
#include "config_wrapper.h"
#ifdef SD_CARD_SELECT_PIN
#define SD
#include "pff.h"
// Feature set of Petit FatFs is currently defined early in pff_conf.h.
/**
Test configuration.
*/
#ifdef __ARMEL__
#error SD card (SD_CARD_SELECT_PIN) not yet supported on ARM.
#endif
void sd_init(void);
void sd_mount(void);
void sd_unmount(void);
void sd_list(const char* path);
void sd_open(const char* filename);
uint8_t sd_read_gcode_line(void);
#endif /* SD_CARD_SELECT_PIN */
#endif /* _SD_H */
C
1
https://gitee.com/rhh/Teacup_Firmware.git
git@gitee.com:rhh/Teacup_Firmware.git
rhh
Teacup_Firmware
Teacup_Firmware
master

搜索帮助