Cat
lbcat-cmake
CatCaloUpgrade
inc
UsbMLSpiBus.h
Go to the documentation of this file.
1
// $Id: $
2
#ifndef INC_USBMLSPIBUS_H
3
#define INC_USBMLSPIBUS_H 1
4
5
// Include files
6
#include "
Element.h
"
7
#include "
Register.h
"
8
16
class
UsbMLSpiBus
:
public
Element
{
17
public
:
18
typedef
unsigned
long
U32
;
19
typedef
unsigned
short
U16
;
20
typedef
unsigned
char
U8
;
21
22
UsbMLSpiBus
( );
23
virtual
~UsbMLSpiBus
( );
24
28
void
help
() {
info
(
"UsbMLSpiBus "
+
name
()+
". No help."
,
"UsbMLSpiBus::help"
); };
29
35
virtual
StatusCode
init
();
36
45
void
reset
() {
46
info
(
"UsbMLSpiBus "
+
name
()+
" reset."
,
"UsbMLSpiBus::reset"
);
47
};
48
53
void
update
() {
54
info
(
"UsbMLSpiBus "
+
name
()+
". Nothing to do."
,
"UsbMLSpiBus::update"
);
55
};
56
57
/*
58
virtual StatusCode read(IOdata*);
59
virtual StatusCode write(IOdata*);
60
*/
61
62
private
:
63
64
protected
:
65
66
};
67
#endif // INC_USBSPIBUS_H
Object::info
void info(std::string mymsg)
Definition:
Object.h:38
UsbMLSpiBus::help
void help()
Definition:
UsbMLSpiBus.h:28
UsbMLSpiBus::U8
unsigned char U8
Definition:
UsbMLSpiBus.h:20
UsbMLSpiBus::init
virtual StatusCode init()
Definition:
UsbMLSpiBus.cpp:32
UsbMLSpiBus::U32
unsigned long U32
Definition:
UsbMLSpiBus.h:18
Register.h
UsbMLSpiBus::reset
void reset()
Definition:
UsbMLSpiBus.h:45
UsbMLSpiBus::~UsbMLSpiBus
virtual ~UsbMLSpiBus()
Standard constructor.
Definition:
UsbMLSpiBus.cpp:24
Element
Definition:
Element.h:14
UsbMLSpiBus
Definition:
UsbMLSpiBus.h:16
UsbMLSpiBus::update
void update()
Definition:
UsbMLSpiBus.h:53
Object::name
std::string name() const
Definition:
Object.h:28
UsbMLSpiBus::UsbMLSpiBus
UsbMLSpiBus()
Definition:
UsbMLSpiBus.cpp:17
StatusCode
Definition:
StatusCode.h:16
Element.h
UsbMLSpiBus::U16
unsigned short U16
Definition:
UsbMLSpiBus.h:19
Generated by
1.8.13