unleashed-firmware/firmware/targets/api-hal-include/api-hal-sd.h
gornekich 610f4f5d73
[FL-41] api-hal doxygen documentation (#387)
* targets/api-hal: rework documentation in doxygen style
* core/api-hal: rework documentation in doxygen style
* core/furi: rework documentation in doxygen style
* drivers: rework documentation in doxygen style

Co-authored-by: あく <alleteam@gmail.com>
2021-03-24 12:35:33 +03:00

23 lines
372 B
C

#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
* @return false if SD card not present
*/
bool hal_sd_detect(void);
#ifdef __cplusplus
}
#endif