|
Namespaces |
namespace | AVRCpp |
namespace | AVRCpp::EEPROM |
namespace | AVRCpp::EEPROM::Internal |
Classes |
struct | AVRCpp::EEPROM::ReadyInterrupt |
| The EEPROM Ready interrupt generates a constant interrupt when the write access time has elapsed. More...
|
Defines |
#define | __EEPROM_SIMPLE__ 0x00 |
#define | __EEPROM_ERASEBLE__ 0x01 |
#define | __EEPROM_NEW_NAMES__ 0x02 |
#define | __EEPROM_OLD_FLASH__ 0x04 |
#define | __EEPROM_LONG_FLASH__ 0x08 |
#define | __EEPROM_PROPERTIES__ (__EEPROM_SIMPLE__ | __EEPROM_OLD_FLASH__) |
#define | EEPROM_SIZE E2END |
#define | EE_RDY_ns EEPROM |
#define | EE_RDY_struct EE_RDY_ns::ReadyInterrupt |
#define | __EEMPE__ _EEMWE |
#define | __EEPE__ _EEWE |
#define | __SPMEN__ _SPMEN |
#define | __SPMCSR__ _SPMCR |
Functions |
bool | AVRCpp::EEPROM::IsWriting () |
| Returns true if writing proccess is taking place.
|
void | AVRCpp::EEPROM::WaitWhileWriting () |
| Blocks while writing proccess is present.
|
void | AVRCpp::EEPROM::SetAddressUnsafe (uint16_t address) |
| Tries to set address even if previous writing operation has not finished.
|
void | AVRCpp::EEPROM::SetAddress (uint16_t address) |
| Waits for previous writing operation to finish, then sets address.
|
uint16_t | AVRCpp::EEPROM::GetAddress () |
| Returns current address.
|
void | AVRCpp::EEPROM::Write (uint8_t data) |
| Writes data to previously set address. It must not be interrupted by another request to read or write.
|
void | AVRCpp::EEPROM::Write (uint16_t address, uint8_t data) |
| Writes data to given address. It must not be interrupted by another request to read or write.
|
bool | AVRCpp::EEPROM::MoveNext () |
| Increments current address unless it is pointing to the last byte in EEPROM memory.
|
uint8_t | AVRCpp::EEPROM::Read () |
| Read one byte from previously set (current) address.
|
uint8_t | AVRCpp::EEPROM::Read (uint16_t address) |
| Read one byte from given address.
|
bool | AVRCpp::EEPROM::Internal::LoadingProcess (uint16_t lastByteAddr, uint8_t *uint8Data) |
bool | AVRCpp::EEPROM::Internal::SavingProcess (uint16_t lastByteAddr, uint8_t *uint8Data) |
template<typename T> |
static bool | AVRCpp::EEPROM::Internal::LoadSaveOperation (bool isSaving, T *data, uint16_t elementsCount) |
template<typename T> |
bool | AVRCpp::EEPROM::Save (T data) |
| Saves data to EEPROM to the current address.
|
template<typename T> |
bool | AVRCpp::EEPROM::Load (T &data) |
| Reads data from EEPROM from the current address.
|
template<typename T> |
bool | AVRCpp::EEPROM::SaveArray (T *data, uint16_t elementsCount) |
| Save array of data to previously set address.
|
template<typename T> |
bool | AVRCpp::EEPROM::LoadArray (T *data, uint16_t elementsCount) |
| Load array of data from previously set address.
|