APM:Libraries
Public Member Functions | List of all members
AP_HAL::Storage Class Referenceabstract

#include <Storage.h>

Inheritance diagram for AP_HAL::Storage:
[legend]

Public Member Functions

virtual void init ()=0
 
virtual void read_block (void *dst, uint16_t src, size_t n)=0
 
virtual void write_block (uint16_t dst, const void *src, size_t n)=0
 
virtual void _timer_tick (void)
 

Detailed Description

Definition at line 6 of file Storage.h.

Member Function Documentation

◆ _timer_tick()

virtual void AP_HAL::Storage::_timer_tick ( void  )
inlinevirtual

Reimplemented in ChibiOS::Storage, PX4::PX4Storage, VRBRAIN::VRBRAINStorage, and Linux::Storage.

Definition at line 11 of file Storage.h.

Referenced by Linux::Scheduler::_io_task(), VRBRAIN::VRBRAINScheduler::_storage_thread(), PX4::PX4Scheduler::_storage_thread(), and ChibiOS::Scheduler::_storage_thread().

Here is the caller graph for this function:

◆ init()

virtual void AP_HAL::Storage::init ( )
pure virtual

Implemented in ChibiOS::Storage, F4Light::Storage, PX4::PX4Storage, VRBRAIN::VRBRAINStorage, Linux::Storage, HALSITL::EEPROMStorage, and Empty::Storage.

Referenced by HAL_F4Light::run(), and setup().

Here is the caller graph for this function:

◆ read_block()

virtual void AP_HAL::Storage::read_block ( void *  dst,
uint16_t  src,
size_t  n 
)
pure virtual

Implemented in ChibiOS::Storage, F4Light::Storage, PX4::PX4Storage, VRBRAIN::VRBRAINStorage, Linux::Storage, HALSITL::EEPROMStorage, and Empty::Storage.

Referenced by StorageAccess::read_block(), and setup().

Here is the caller graph for this function:

◆ write_block()

virtual void AP_HAL::Storage::write_block ( uint16_t  dst,
const void *  src,
size_t  n 
)
pure virtual

Implemented in ChibiOS::Storage, F4Light::Storage, PX4::PX4Storage, VRBRAIN::VRBRAINStorage, Linux::Storage, HALSITL::EEPROMStorage, and Empty::Storage.

Referenced by StorageManager::erase(), and StorageAccess::write_block().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: