|
Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
Go to the documentation of this file.
8 #ifndef TESTPATTERNGENERATOR_H
9 #define TESTPATTERNGENERATOR_H
11 #include <libfpga/fpgaregister.h>
37 int32_t
reset(
bool abOn);
41 int setPatternTiming(uint16_t anWidth, uint16_t anHeight,
int anPixelsPerClock,
float anClockRateMHz,
42 const std::chrono::microseconds& anTargetFrameInterval,
unsigned int anVertBlankLines = 2);
50 tcFPGARegister<uint32_t> mcRegisters;
bool initialized()
check and ensure the core has been properly inialized
Definition: TestPatternGenerator.cpp:56
teTestPatternMode getPatternMode(void)
Definition: TestPatternGenerator.cpp:183
virtual ~tcTestPatternGenerator()
Destroy the tc Test Pattern Generator::tc Test Pattern Generator object.
Definition: TestPatternGenerator.cpp:45
@ eeDEAD
0x0000DEAD
Definition: TestPatternGenerator.h:29
teTestPatternMode
Definition: TestPatternGenerator.h:23
@ eeStaticCountUp
incrementing count for each new pixel in raster order. Count starts at static pixel value
Definition: TestPatternGenerator.h:26
@ eeGradientY
vertical gradient
Definition: TestPatternGenerator.h:25
void dumpState(void)
Dump state of CORE to INFO status text.
Definition: TestPatternGenerator.cpp:238
int setPassThru(bool abPassThru)
Definition: TestPatternGenerator.cpp:88
@ eeFrameNumberCountUp
incrementing count for each new pixel in raster order. Count starts at frames count
Definition: TestPatternGenerator.h:27
int setPatternMode(teTestPatternMode aeMode)
Definition: TestPatternGenerator.cpp:168
@ eeGradientX
horizontal gradient
Definition: TestPatternGenerator.h:24
int startTestPattern(bool abStart)
Definition: TestPatternGenerator.cpp:106
int setStaticVal(uint32_t val)
Definition: TestPatternGenerator.cpp:220
int setPatternTiming(uint16_t anWidth, uint16_t anHeight, int anPixelsPerClock, float anClockRateMHz, const std::chrono::microseconds &anTargetFrameInterval, unsigned int anVertBlankLines=2)
Definition: TestPatternGenerator.cpp:127
uint32_t getStaticVal(void)
Definition: TestPatternGenerator.cpp:229
@ eeStaticVal
constant pixel value
Definition: TestPatternGenerator.h:28
tcTestPatternGenerator(uint32_t anControlAddress)
Construct a new tc Test Pattern Generator::tc Test Pattern Generator object.
Definition: TestPatternGenerator.cpp:35
int32_t reset(bool abOn)
Definition: TestPatternGenerator.cpp:71
User Space Control Class for the MityCAM test_pattern_gen FPGA block.
Definition: TestPatternGenerator.h:18