Object for reading and writing to the EEPROM. More...
#include <AP_EEPROMB.h>
Classes | |
union | type_union |
Public Member Functions | |
AP_EEPROMB () | |
Constructor. | |
int | read_byte (int address) |
int | read_int (int address) |
long | read_long (int address) |
float | read_float (int address) |
void | write_byte (int address, int8_t value) |
void | write_int (int address, int16_t value) |
void | write_long (int address, int32_t value) |
void | write_float (int address, float value) |
Object for reading and writing to the EEPROM.
Definition at line 14 of file AP_EEPROMB.h.
AP_EEPROMB::AP_EEPROMB | ( | ) | [inline] |
Constructor.
Definition at line 17 of file AP_EEPROMB.h.
int AP_EEPROMB::read_byte | ( | int | address | ) |
Definition at line 43 of file AP_EEPROMB.cpp.
float AP_EEPROMB::read_float | ( | int | address | ) |
Definition at line 61 of file AP_EEPROMB.cpp.
int AP_EEPROMB::read_int | ( | int | address | ) |
Definition at line 49 of file AP_EEPROMB.cpp.
long AP_EEPROMB::read_long | ( | int | address | ) |
Definition at line 55 of file AP_EEPROMB.cpp.
void AP_EEPROMB::write_byte | ( | int | address, | |
int8_t | value | |||
) |
Definition at line 18 of file AP_EEPROMB.cpp.
void AP_EEPROMB::write_float | ( | int | address, | |
float | value | |||
) |
Definition at line 36 of file AP_EEPROMB.cpp.
void AP_EEPROMB::write_int | ( | int | address, | |
int16_t | value | |||
) |
void AP_EEPROMB::write_long | ( | int | address, | |
int32_t | value | |||
) |