Cat
lbcat-cmake
CatCaloProto40MHz
inc
Proto40MHz_v1.h
Go to the documentation of this file.
1
// $Id: $
2
#ifndef INC_PROTO40MHZ_V1_H
3
#define INC_PROTO40MHZ_V1_H 1
4
5
// Include files
6
#include "
Element.h
"
7
#include "
UsbFTInterface.h
"
8
#include "
UsbI2cBus.h
"
9
#include "
UsbSpiBus.h
"
10
11
#include "
Phaser.h
"
12
#include "
A3PE.h
"
13
21
class
Proto40MHz_v1
:
public
Element
{
22
public
:
24
Proto40MHz_v1
( );
25
26
virtual
~Proto40MHz_v1
( );
27
31
void
help
() {
info
(
"Proto40MHz_v1 "
+
name
()+
". No help."
,
"Proto40MHz_v1::help"
); };
32
37
StatusCode
init
() {
38
return
StatusCode::SUCCESS
;
39
};
40
48
void
reset
() {
49
debug
(
"Proto40MHz_v1 "
+
name
()+
" reset."
,
"Proto40MHz_v1::reset"
);
50
a3pe
()->
reset
();
51
};
52
56
void
update
() {
info
(
"Proto40MHz_v1 "
+
name
()+
". Nothing to do."
,
"Proto40MHz_v1::update"
);};
57
58
UsbFTInterface
*
usb
(){
59
return
m_usb
;
60
}
61
62
Phaser
*
phaser0
(){
63
return
m_phaser0
;
64
}
65
66
Phaser
*
phaser1
(){
67
return
m_phaser1
;
68
}
69
70
Phaser
*
phaser2
(){
71
return
m_phaser2
;
72
}
73
74
A3PE
*
a3pe
(){
75
return
m_a3pe
;
76
}
77
78
protected
:
79
80
private
:
81
UsbFTInterface
*
m_usb
;
82
UsbI2cBus
*
m_usbi2c
;
83
UsbSpiBus
*
m_usbspi
;
84
Phaser
*
m_phaser0
;
85
Phaser
*
m_phaser1
;
86
Phaser
*
m_phaser2
;
87
Register
*
m_reg
;
88
A3PE
*
m_a3pe
;
89
};
90
#endif // INC_PROTO40MHZ_V1_H
Object::info
void info(std::string mymsg)
Definition:
Object.h:38
A3PE.h
UsbSpiBus.h
UsbFTInterface.h
UsbI2cBus.h
Phaser
Definition:
Phaser.h:19
Proto40MHz_v1::m_phaser0
Phaser * m_phaser0
Definition:
Proto40MHz_v1.h:84
Proto40MHz_v1::reset
void reset()
Definition:
Proto40MHz_v1.h:48
Proto40MHz_v1::phaser0
Phaser * phaser0()
Definition:
Proto40MHz_v1.h:62
Proto40MHz_v1::m_reg
Register * m_reg
Definition:
Proto40MHz_v1.h:87
Proto40MHz_v1::a3pe
A3PE * a3pe()
Definition:
Proto40MHz_v1.h:74
UsbFTInterface
Definition:
UsbFTInterface.h:40
A3PE::reset
void reset()
Definition:
A3PE.h:225
A3PE
Definition:
A3PE.h:20
Proto40MHz_v1::phaser1
Phaser * phaser1()
Definition:
Proto40MHz_v1.h:66
Proto40MHz_v1::m_phaser2
Phaser * m_phaser2
Definition:
Proto40MHz_v1.h:86
UsbI2cBus
Definition:
UsbI2cBus.h:16
Object::debug
void debug(std::string mymsg)
Definition:
Object.h:37
Proto40MHz_v1::usb
UsbFTInterface * usb()
Definition:
Proto40MHz_v1.h:58
Proto40MHz_v1::help
void help()
Definition:
Proto40MHz_v1.h:31
Proto40MHz_v1::phaser2
Phaser * phaser2()
Definition:
Proto40MHz_v1.h:70
Element
Definition:
Element.h:14
Proto40MHz_v1::m_usb
UsbFTInterface * m_usb
Definition:
Proto40MHz_v1.h:81
UsbSpiBus
Definition:
UsbSpiBus.h:17
Register
Definition:
Register.h:16
Proto40MHz_v1::m_a3pe
A3PE * m_a3pe
Definition:
Proto40MHz_v1.h:88
Object::name
std::string name() const
Definition:
Object.h:28
Proto40MHz_v1::~Proto40MHz_v1
virtual ~Proto40MHz_v1()
Destructor.
Definition:
Proto40MHz_v1.cpp:62
Proto40MHz_v1::init
StatusCode init()
Definition:
Proto40MHz_v1.h:37
Proto40MHz_v1
Definition:
Proto40MHz_v1.py:1
Proto40MHz_v1::m_usbi2c
UsbI2cBus * m_usbi2c
Definition:
Proto40MHz_v1.h:82
Proto40MHz_v1::m_usbspi
UsbSpiBus * m_usbspi
Definition:
Proto40MHz_v1.h:83
Proto40MHz_v1::Proto40MHz_v1
Proto40MHz_v1()
Standard constructor.
Definition:
Proto40MHz_v1.cpp:17
Phaser.h
StatusCode::SUCCESS
Definition:
StatusCode.h:20
Proto40MHz_v1::m_phaser1
Phaser * m_phaser1
Definition:
Proto40MHz_v1.h:85
StatusCode
Definition:
StatusCode.h:16
Proto40MHz_v1::update
void update()
Definition:
Proto40MHz_v1.h:56
Element.h
Generated by
1.8.13