Avionics
Core avionics package for CURE flight computers
Loading...
Searching...
No Matches
DataSaverSPI.h File Reference
#include "ArduinoHAL.h"
#include "data_handling/DataPoint.h"
#include "data_handling/DataSaver.h"
#include <array>
#include <cstdlib>
#include <limits>
Include dependency graph for DataSaverSPI.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Record_t
struct  TimestampRecord_t
class  DataSaverSPI
 SPI flash implementation of IDataSaver with timestamp compression. More...

Variables

constexpr uint32_t kMetadataStartAddress = 0x000000
constexpr uint32_t kDataStartAddress = 0x001000
constexpr uint32_t kPostLaunchFlagAddress = 0x000000
constexpr uint32_t kLaunchStartAddressAddress = 0x000001
constexpr uint8_t kPostLaunchFlagTrue = 0x00
constexpr uint8_t kPostLaunchFlagFalse = 0x01
constexpr uint8_t kEmptyPageValue = 0xFF

Variable Documentation

◆ kDataStartAddress

uint32_t kDataStartAddress = 0x001000
constexpr

Definition at line 13 of file DataSaverSPI.h.

◆ kEmptyPageValue

uint8_t kEmptyPageValue = 0xFF
constexpr

Definition at line 20 of file DataSaverSPI.h.

◆ kLaunchStartAddressAddress

uint32_t kLaunchStartAddressAddress = 0x000001
constexpr

Definition at line 15 of file DataSaverSPI.h.

◆ kMetadataStartAddress

uint32_t kMetadataStartAddress = 0x000000
constexpr

Definition at line 12 of file DataSaverSPI.h.

◆ kPostLaunchFlagAddress

uint32_t kPostLaunchFlagAddress = 0x000000
constexpr

Definition at line 14 of file DataSaverSPI.h.

◆ kPostLaunchFlagFalse

uint8_t kPostLaunchFlagFalse = 0x01
constexpr

Definition at line 18 of file DataSaverSPI.h.

◆ kPostLaunchFlagTrue

uint8_t kPostLaunchFlagTrue = 0x00
constexpr

Definition at line 17 of file DataSaverSPI.h.