μHAL
fmcpico1m_4ch.h
1#ifndef FMCPICO1M_4CH_H
2#define FMCPICO1M_4CH_H
3
4#include <memory>
5
6#include "controllers.h"
7#include "decoders.h"
8
9namespace fmcpico1m_4ch {
10
11extern const std::vector<std::string> range_list;
12
13struct fmcpico1m_4ch;
14
15class Core: public RegisterDecoder {
16 std::unique_ptr<struct fmcpico1m_4ch> regs_storage;
17 struct fmcpico1m_4ch &regs;
18
19 void decode() override;
20
21 public:
22 Core(struct pcie_bars &);
23 ~Core() override;
24};
25
27 std::unique_ptr<struct fmcpico1m_4ch> regs_storage;
28 struct fmcpico1m_4ch &regs;
29
30 Core dec;
31
32 void write_params() override;
33
34 public:
35 Controller(struct pcie_bars &);
37};
38
39} /* namespace fmcpico1m_4ch */
40
41#endif
Definition: controllers.h:35
Definition: decoders.h:97
Definition: fmcpico1m_4ch.h:26
void write_params() override
Definition: fmcpico1m_4ch.cc:72
Definition: fmcpico1m_4ch.h:15
void decode() override
Definition: fmcpico1m_4ch.cc:49
Definition: fmcpico1m_4ch.cc:10
Definition: pcie-defs.h:19