| 123456789101112131415161718192021222324252627282930313233 |
- #ifndef USERPROGRAMME_VNA_H
- #define USERPROGRAMME_VNA_H
- #include "unistd.h"
- #include <cstdint>
- #include <vector>
- class vna {
- public :
- // Constructor
- vna() = default;
- // Destructor
- ~vna() = default;
- private:
- //Array of the 32-bit adc data
- std::vector<int> adcData = std::vector<int>(8);
- public:
- // Public methods
- void adcDataRead();
- static void cfgRegRead();
- void cfgRegWrite();
- void sendSettings();
- static uint32_t lsbToMsb(uint32_t reg);
- };
- #endif //USERPROGRAMME_VNA_H
|