APM:Libraries
Public Member Functions | Private Member Functions | Private Attributes | List of all members
HALSITL::EEPROMStorage Class Reference

#include <Storage.h>

Inheritance diagram for HALSITL::EEPROMStorage:
[legend]
Collaboration diagram for HALSITL::EEPROMStorage:
[legend]

Public Member Functions

 EEPROMStorage ()
 
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)
 
- Public Member Functions inherited from AP_HAL::Storage
virtual void _timer_tick (void)
 

Private Member Functions

void _eeprom_open (void)
 

Private Attributes

int _eeprom_fd
 

Detailed Description

Definition at line 6 of file Storage.h.

Constructor & Destructor Documentation

◆ EEPROMStorage()

HALSITL::EEPROMStorage::EEPROMStorage ( )
inline

Definition at line 8 of file Storage.h.

Member Function Documentation

◆ _eeprom_open()

void EEPROMStorage::_eeprom_open ( void  )
private

Definition at line 13 of file Storage.cpp.

Referenced by read_block(), and write_block().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

void HALSITL::EEPROMStorage::init ( void  )
inlinevirtual

Implements AP_HAL::Storage.

Definition at line 11 of file Storage.h.

Here is the call graph for this function:

◆ read_block()

void EEPROMStorage::read_block ( void *  dst,
uint16_t  src,
size_t  n 
)
virtual

Implements AP_HAL::Storage.

Definition at line 21 of file Storage.cpp.

Referenced by init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_block()

void EEPROMStorage::write_block ( uint16_t  dst,
const void *  src,
size_t  n 
)
virtual

Implements AP_HAL::Storage.

Definition at line 28 of file Storage.cpp.

Referenced by init().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _eeprom_fd

int HALSITL::EEPROMStorage::_eeprom_fd
private

Definition at line 16 of file Storage.h.

Referenced by _eeprom_open(), EEPROMStorage(), read_block(), and write_block().


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