forked from haraldwolff/avr-fw-modules
23 lines
274 B
C
Executable file
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);
|