APM:Libraries
|
#include <Storage.h>
Classes | |
struct | Item |
Public Member Functions | |
Storage () | |
void | init () |
void | read_block (void *dst, uint16_t src, size_t n) |
void | write_block (uint16_t dst, const void *src, size_t n) |
![]() | |
virtual void | _timer_tick (void) |
Static Public Member Functions | |
static void | late_init (bool defer) |
static uint8_t | read_byte (uint16_t loc) |
static void | write_byte (uint16_t loc, uint8_t value) |
Static Private Member Functions | |
static void | _write_byte (uint16_t loc, uint8_t value) |
static uint8_t | _read_byte (uint16_t loc) |
static void | write_word (uint16_t loc, uint16_t value) |
static void | do_on_disarm () |
static void | error_parse (uint16_t status) |
static void | write_thread () |
Static Private Attributes | |
static bool | write_deferred |
static volatile uint16_t | rd_ptr = 0 |
static volatile uint16_t | wr_ptr = 0 |
static Item | queue [EEPROM_QUEUE_LEN] |
static void * | _task |
static uint8_t eeprom_buffer [BOARD_STORAGE_SIZE] | IN_CCM |
Storage::Storage | ( | ) |
Definition at line 78 of file Storage.cpp.
|
staticprivate |
Definition at line 145 of file Storage.cpp.
Referenced by read_byte().
|
staticprivate |
Definition at line 202 of file Storage.cpp.
Referenced by write_block(), and write_byte().
|
staticprivate |
Definition at line 252 of file Storage.cpp.
Referenced by late_init().
|
staticprivate |
Definition at line 87 of file Storage.cpp.
Referenced by _read_byte(), _write_byte(), do_on_disarm(), init(), read_block(), write_thread(), and write_word().
|
virtual |
Implements AP_HAL::Storage.
Definition at line 113 of file Storage.cpp.
|
static |
|
virtual |
Implements AP_HAL::Storage.
Definition at line 161 of file Storage.cpp.
|
static |
Definition at line 136 of file Storage.cpp.
Referenced by read_block().
|
virtual |
Implements AP_HAL::Storage.
Definition at line 221 of file Storage.cpp.
|
static |
|
staticprivate |
Definition at line 294 of file Storage.cpp.
Referenced by init().
|
staticprivate |
Definition at line 268 of file Storage.cpp.
Referenced by _write_byte(), do_on_disarm(), and write_block().
|
staticprivate |
Definition at line 68 of file Storage.h.
Referenced by init(), and write_word().
|
staticprivate |
|
staticprivate |
Definition at line 67 of file Storage.h.
Referenced by write_thread(), and write_word().
|
staticprivate |
Definition at line 65 of file Storage.h.
Referenced by write_thread(), and write_word().
|
staticprivate |
Definition at line 66 of file Storage.h.
Referenced by write_thread(), and write_word().
|
staticprivate |
Definition at line 59 of file Storage.h.
Referenced by late_init(), write_block(), and write_byte().