pdec ad frame config, wip

This commit is contained in:
Jakob Meier
2023-02-15 10:21:35 +01:00
parent 60c99fdbfb
commit a13ae7abcc
5 changed files with 29 additions and 11 deletions

View File

@ -1,7 +1,7 @@
#ifndef LINUX_OBC_PDECCONFIG_H_
#define LINUX_OBC_PDECCONFIG_H_
#include <cstring>
#include <string>
#include "bsp_q7s/memory/LocalParameterHandler.h"
#include "bsp_q7s/fs/SdCardManager.h"
@ -49,6 +49,7 @@ class PdecConfig {
uint8_t getNegativeWindow();
private:
// TC transfer frame configuration parameters
static const uint8_t VERSION_ID = 0;
// BD Frames
@ -95,13 +96,6 @@ class PdecConfig {
bool enableTcAbortIrq = true;
bool enableNewFarIrq = true;
NVMParameterBase persistenParams;
// Parameters to control the FARM for AD frames
// Set here for future use
uint8_t positiveWindow = 10;
uint8_t negativeWindow = 151;
void writeFrameHeaderFirstOctet();
void writeFrameHeaderSecondOctet();
void writeMapConfig();