This repository has been archived on 2024-01-25. You can view files and clone it, but cannot push or open issues or pull requests.

23 lines
570 B
C
Raw Normal View History

2023-08-27 17:39:45 +02:00
/**
2023-08-27 21:35:19 +02:00
* @author R<EFBFBD>mi Heredero
2023-08-27 17:39:45 +02:00
* @version 1.0.0
* @date August 2023
* @file eeprom_interface.h
*/
#ifndef EEPROM_INTERFACE_H
#define EEPROM_INTERFACE_H
2023-08-27 21:35:19 +02:00
#include <stdint.h> // usage of standard types
#include <stdbool.h> // usage of boolean types
#include "../mcc_generated_files/mcc.h"
2023-08-28 12:57:16 +02:00
void MEM_init();
2023-08-29 15:50:04 +02:00
void MEM_reset();
2023-08-28 12:57:16 +02:00
void MEM_write_1_byte(uint8_t address, uint8_t data);
void MEM_write_4_byte(uint8_t address, uint32_t data);
uint8_t MEM_read_1_byte(uint8_t address);
uint32_t MEM_read_4_byte(uint8_t address);
2023-08-27 17:39:45 +02:00
#endif /* EEPROM_INTERFACE_H */