Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
PixelBinner.h
Go to the documentation of this file.
1 /*
2  * PixelBinner.h
3  *
4  * Created on: Oct 29, 2014
5  * Author: mitycam
6  */
7 
8 #ifndef PIXELBINNER_H_
9 #define PIXELBINNER_H_
10 
11 #include <libfpga/fpgaregister.h>
12 #include "Types.h"
13 
14 namespace SocCamera {
15 
17 public:
22  tcPixelBinner(uint32 anBaseAddress);
23 
25 
30  bool initialized();
31 
37  int32 reset(bool abOn);
38 
45  int32 setBinningFactor(uint32 anBinFactor, uint32 anShiftFactor);
46 
52  int32 setBinningFactor(uint32 anBinFactor);
53 
59  int32 setShiftFactor(uint32 anShiftFactor);
60 
66 
72 
73 
74 private:
75  tcFPGARegister<uint32> mcRegister;
76 };
77 
78 } /* namespace SocCamera */
79 
80 #endif /* PIXELBINNER_H_ */
int32
int32_t int32
Definition: Types.h:8
SocCamera::tcPixelBinner::setBinningFactor
int32 setBinningFactor(uint32 anBinFactor, uint32 anShiftFactor)
Definition: PixelBinner.cpp:49
Types.h
SocCamera::tcPixelBinner::getBinningFactor
uint32 getBinningFactor()
Definition: PixelBinner.cpp:87
SocCamera::tcPixelBinner::initialized
bool initialized()
Definition: PixelBinner.cpp:31
SocCamera::tcPixelBinner::~tcPixelBinner
~tcPixelBinner()
Definition: PixelBinner.cpp:27
SocCamera::tcPixelBinner::getShiftFactor
uint32 getShiftFactor()
Definition: PixelBinner.cpp:92
SocCamera::tcPixelBinner::tcPixelBinner
tcPixelBinner(uint32 anBaseAddress)
Definition: PixelBinner.cpp:22
SocCamera::tcPixelBinner
Definition: PixelBinner.h:16
SocCamera::tcPixelBinner::setShiftFactor
int32 setShiftFactor(uint32 anShiftFactor)
Definition: PixelBinner.cpp:75
SocCamera::tcPixelBinner::reset
int32 reset(bool abOn)
Definition: PixelBinner.cpp:36
SocCamera
Definition: CameraTypes.h:7
uint32
uint32_t uint32
Definition: Types.h:11