You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
1.1 KiB

1 year ago
#ifndef EEPROM_FAST_H_
#define EEPROM_FAST_H_
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#include <inttypes.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include "IDIBUS_IMPL.h"
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#define EEPROM_BUF_SIZE 32
uint16_t EEPROM_ADDR;
uint8_t EEPROM_BUF[EEPROM_BUF_SIZE];
uint8_t EEPROM_BUF_COUNT;
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
void EEPROM_WriteEepBuf(uint8_t count, uint16_t addr);
//-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#endif /* EEPROM_FAST_H_ */