APM:Libraries
Storage.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdint.h>
4 #include "AP_HAL_Namespace.h"
5 
7 public:
8  virtual void init() = 0;
9  virtual void read_block(void *dst, uint16_t src, size_t n) = 0;
10  virtual void write_block(uint16_t dst, const void* src, size_t n) = 0;
11  virtual void _timer_tick(void) {};
12 };
virtual void init()=0
virtual void _timer_tick(void)
Definition: Storage.h:11
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