cursada_mc2
Base de control de temperatura para EDU-CIAA-NXP
Loading...
Searching...
No Matches
eeprom_driver.h
Go to the documentation of this file.
1
6#if !defined(EEPROM_DRIVER_H_)
7#define EEPROM_DRIVER_H_
8
9#include <stdbool.h>
10#include <stdint.h>
11
13#define DRIVER_EEPROM_REGION_SIZE 256U
14
21bool driver_eeprom_init(void);
22
32bool driver_eeprom_read(void* destino, uint32_t cantidad);
33
43bool driver_eeprom_write(const void* origen, uint32_t cantidad);
44
45#endif // EEPROM_DRIVER_H_
bool driver_eeprom_read(void *destino, uint32_t cantidad)
Lee un bloque desde la region reservada de EEPROM.
bool driver_eeprom_write(const void *origen, uint32_t cantidad)
Escribe un bloque dentro de la region reservada de EEPROM.
bool driver_eeprom_init(void)
Inicializa el periferico EEPROM.