fdhwlib
2.0.25
|
#include <FltTestPattern.h>
The test pattern memory uses a special address technique.
With every access the address pointer is incremented. The prefered access will be the block transfer. In single access mode it is necessary to prevent two processes to access the test pattern memory at the same time. (Solution: High level semaphore for the test pattern memory!.)
+ The end of the actual test pattern is marked to allow a cyclic interpretation of the test pattern.
Changes:
Definition at line 50 of file FltTestPattern.h.
FltTestPattern::FltTestPattern | ( | const char * | name, |
int | slotID, | ||
int | regID, | ||
int | r, | ||
int | w, | ||
int | len | ||
) |
int FltTestPattern::read | ( | unsigned long * | data | ) |
Read the test pattern memory.
The command allays reads the complete test pattern memory and returns the length of the test pattern given by the (first) end mark.
unsigned long FltTestPattern::readFirst | ( | ) |
Performs a reset both access pointers and reads the first pattern.
unsigned long FltTestPattern::readNext | ( | ) |
Read a single pattern and increment the read-access pointer.
void FltTestPattern::rewind | ( | ) |
Set the read and write access pointer to the begin of the test pattern memory.
void FltTestPattern::setMode | ( | int | mode | ) |
Set the mode of the test pattern generation.
void FltTestPattern::write | ( | unsigned long * | data | ) |
Write the test pattern memory.
The complete memory is used to store the test pattern.
Reimplemented from FltPixRegister.
void FltTestPattern::write | ( | unsigned long * | data, |
int | n | ||
) |
Write a test pattern of n words length.
The last word is marked as the end of the test pattern memory.
void FltTestPattern::writeFirst | ( | unsigned long | data | ) |
Performs a reset of both access pointers and writes the first pattern.
void FltTestPattern::writeNext | ( | unsigned long | data | ) |
Write a single pattern and increment the write-access pointer.