Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
PixelShift.h
Go to the documentation of this file.
1 #ifndef PIXELSHIFT_H
2 #define PIXELSHIFT_H
3 
4 
5 #include <libfpga/fpgaregister.h>
6 
8 {
9 
10 public:
12  eeLeft = 0,
13  eeRight = 1,
14  };
15 
16  tcPixelShift(uint32_t anBaseAddress);
17  ~tcPixelShift();
18 
22  bool initialized();
23 
28  void reset(bool abReset);
29 
35 
41  uint8_t getShift(void);
42 
50  bool setShift(teShiftDirection aeDir, uint8_t anShift);
51 
52 protected:
54 
55  tcFPGARegister<uint32_t> maRegs;
56 };
57 
58 #endif // PIXELSHIFT_H
tcPixelShift
Definition: PixelShift.h:7
tcPixelShift::getShiftDirection
teShiftDirection getShiftDirection(void)
Definition: PixelShift.cpp:44
tcPixelShift::mbInitialized
bool mbInitialized
Definition: PixelShift.h:53
tcPixelShift::maRegs
tcFPGARegister< uint32_t > maRegs
Definition: PixelShift.h:55
tcPixelShift::getShift
uint8_t getShift(void)
Definition: PixelShift.cpp:49
tcPixelShift::setShift
bool setShift(teShiftDirection aeDir, uint8_t anShift)
Definition: PixelShift.cpp:54
tcPixelShift::initialized
bool initialized()
Definition: PixelShift.cpp:30
tcPixelShift::tcPixelShift
tcPixelShift(uint32_t anBaseAddress)
Definition: PixelShift.cpp:19
tcPixelShift::~tcPixelShift
~tcPixelShift()
Definition: PixelShift.cpp:25
tcPixelShift::teShiftDirection
teShiftDirection
Definition: PixelShift.h:11
tcPixelShift::reset
void reset(bool abReset)
Definition: PixelShift.cpp:35
tcPixelShift::eeRight
@ eeRight
Definition: PixelShift.h:13
tcPixelShift::eeLeft
@ eeLeft
Definition: PixelShift.h:12