gens
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good

This commit is contained in:
2023-10-13 15:24:06 +02:00
parent 4431883b4d
commit b8beddc11b
14 changed files with 61 additions and 23 deletions

View File

@ -50,6 +50,8 @@ class PapbVcInterface : public VirtualChannelIF {
void cancelTransfer() override;
bool writeActive() const override;
ReturnValue_t initialize() override;
private:
@ -95,12 +97,11 @@ class PapbVcInterface : public VirtualChannelIF {
std::vector<uint8_t> packetBuf;
std::string uioFile;
int mapNum = 0;
bool writeActive = false;
bool writeActiveStatus = false;
size_t currentPacketIndex = 0;
size_t currentPacketSize = 0;
mutable struct timespec nextDelay = {.tv_sec = 0, .tv_nsec = 0};
const struct timespec BETWEEN_POLL_DELAY = {.tv_sec = 0, .tv_nsec = 10};
mutable struct timespec remDelay;
volatile uint32_t* vcBaseReg = nullptr;