mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-15 16:52:38 +03:00
89a6c09a7a
* Documentation: add Doxyfile, prepare sources for doxygen. * Update ReadMe and remove obsolete CLA * Add contribution guide * Contributing: update text * Correct spelling
30 lines
420 B
C
30 lines
420 B
C
/**
|
|
* @file furi-hal-sd.h
|
|
* SD Card HAL API
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** Init SD card detect
|
|
*/
|
|
void hal_sd_detect_init(void);
|
|
|
|
/** Set SD card detect pin to low
|
|
*/
|
|
void hal_sd_detect_set_low(void);
|
|
|
|
/** Get SD card status
|
|
*
|
|
* @return true if SD card present, false if SD card not present
|
|
*/
|
|
bool hal_sd_detect(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|