28 #ifndef DIRECT_MEMORY_LOGGER_H_
29 #define DIRECT_MEMORY_LOGGER_H_
33 #define DML_BUF_SIZE 128
void direct_memory_logger_periodic(void)
#define DML_BUF_SIZE
The read buffer size.
enum DMLStatus status
The status of the Direct Memory Logger.
uint8_t buffer[DML_BUF_SIZE]
The buffer for writing and reading.
void direct_memory_logger_set(uint8_t val)
@ DML_START
The DML is starting the logger.
@ DML_STOP
The DML is busy stopping.
@ DML_INIT
The DML is initializing.
@ DML_IDLE
The DML is idle.
@ DML_ERASE
The DML is busy erasing itself.
@ DML_READ
The DML is busy starting read.
@ DML_LOGGING
The DML is busy logging.
@ DML_READING
The DML is busy reading.
void direct_memory_logger_init(void)
struct DirectMemoryLogger dml
struct SST25VFxxxx sst
The memory chip.
Driver for the SST25Vxxxx flash chips.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.