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