ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
Loading...
Searching...
No Matches
microsd.h File Reference

MicroSD interface implementation with the esp32. More...

#include <stddef.h>
#include <stdint.h>
#include "../../user_config.h"

Go to the source code of this file.

Functions

uint32_t ControllerMicroSDSave (const uint8_t *data, const uint16_t num_bytes)
 Save data to the microSD card. Appends data to already-created files, otherwise creates a new file.
 
uint32_t ControllerMicroSDUserConfig (UserConfiguration *uc, const char *filename)
 Send the UserConfig to the ESP32 and saves a file on the microSD with the UserConfig contents.
 
uint32_t ControllerMicroSDLog (const char *msg, const char *base)
 Append a line of plain text to the log file on the microSD card.
 

Detailed Description

MicroSD interface implementation with the esp32.

Date
2025-07-30
Author
Jack Lin jlin1.nosp@m.43@u.nosp@m.csc.e.nosp@m.du

Definition in file microsd.h.