|
ArduinoMega2560_SPI 1.0
|
Provides diagnostic utilities for testing and managing EEPROM memory. Más...
#include <diagnosticsEEPROM.h>
Métodos públicos estáticos | |
| static bool | runTest (int address=0) |
| Runs a diagnostic test on the EEPROM at the specified address. Writes a test value, reads it back, and verifies integrity. | |
| static int | getFreeMemory () |
| Estimates the amount of free RAM available on the system. Works on AVR-based boards like Arduino Mega 2560. | |
Métodos privados estáticos | |
| static void | clearEEPROM (int address) |
| Clears the EEPROM at the specified address by writing 0xFF. | |
Atributos estáticos privados | |
| static const byte | testValue = 123 |
| Value used for EEPROM testing. | |
Provides diagnostic utilities for testing and managing EEPROM memory.
Definición en la línea 11 del archivo diagnosticsEEPROM.h.
|
staticprivate |
Clears the EEPROM at the specified address by writing 0xFF.
Limpia la EEPROM en la dirección indicada escribiendo 0xFF.
| address | EEPROM address to clear. |
Tras limpiar, lee nuevamente el valor para verificar la operación.
| address | Dirección de EEPROM a limpiar. |
Definición en la línea 62 del archivo diagnosticsEEPROM.cpp.

|
static |
Estimates the amount of free RAM available on the system. Works on AVR-based boards like Arduino Mega 2560.
Estima la cantidad de memoria RAM libre disponible en el sistema.
Este método funciona en placas basadas en AVR como Arduino Mega 2560. Calcula la memoria libre comparando la posición actual de la pila con el heap.
Definición en la línea 82 del archivo diagnosticsEEPROM.cpp.

|
static |
Runs a diagnostic test on the EEPROM at the specified address. Writes a test value, reads it back, and verifies integrity.
Ejecuta un test de diagnóstico sobre la EEPROM en la dirección indicada.
| address | EEPROM address to test (default is 0). |
El procedimiento realiza:
| address | Dirección de EEPROM a probar (por defecto 0). |
Definición en la línea 16 del archivo diagnosticsEEPROM.cpp.


|
staticprivate |
Value used for EEPROM testing.
Definición en la línea 34 del archivo diagnosticsEEPROM.h.