avr-fw-modules/core/include/hwo/logcsr.h

23 lines
274 B
C
Executable File

#pragma once
#include <stdint.h>
#include <hwo/eeprom.h>
union u_log_csr
{
avrEEPROM eeprom;
struct
{
uint8_t wp;
uint8_t res[15];
uint8_t mcucsr[16];
};
};
typedef union u_log_csr LogCSR;
void log_csr(void);
uint8_t get_csr(void);
LogCSR* get_csr_log(void);