go down to nanoseconds

This commit is contained in:
2023-03-27 17:42:54 +02:00
parent e10768386d
commit 1a0e632d2f
4 changed files with 9 additions and 7 deletions

View File

@ -76,7 +76,7 @@ class PapbVcInterface : public VirtualChannelIF {
*/
static const int DATA_REG_OFFSET = 256;
static constexpr uint32_t MAX_DELAY_PAPB_POLLING_US = 4;
static constexpr long int MAX_DELAY_PAPB_POLLING_NS = 40;
LinuxLibgpioIF* gpioComIF = nullptr;
@ -87,6 +87,7 @@ class PapbVcInterface : public VirtualChannelIF {
std::string uioFile;
int mapNum = 0;
struct timespec remDelay;
volatile uint32_t* vcBaseReg = nullptr;