15 SD_STATE_DISABLED = 0,
16 SD_STATE_INSERT_CARD = 1,
17 SD_STATE_MOUNTING = 2,
18 SD_STATE_OPENING_FILE = 3,
19 SD_STATE_READY2LOG = 4,
20 SD_STATE_CLOSING_FILE = 5,
21 SD_STATE_UNMOUNTING = 6,
22 SD_STATE_RECOVERING = 7,
26static constexpr uint32_t SD_FSM_PERIOD_MS = 50;
27void sd_card_periodic(
void);
28void sd_power_loss_callback(
void);
Wrapper macros for FreeRTOS constructs (tasks, queues, semaphores) to simplify static memory allocati...