#include <SIMRAMStreamer.h>
◆ tcSIMRAMStreamer()
tcSIMRAMStreamer::tcSIMRAMStreamer |
( |
| ) |
|
◆ ~tcSIMRAMStreamer()
tcSIMRAMStreamer::~tcSIMRAMStreamer |
( |
| ) |
|
|
virtual |
◆ allocBuffer()
void * tcSIMRAMStreamer::allocBuffer |
( |
uint8_t * |
apBuffer, |
|
|
uint32_t |
anBlockSize, |
|
|
uint32_t |
anOffset |
|
) |
| |
◆ clearInterrupt()
void tcSIMRAMStreamer::clearInterrupt |
( |
| ) |
|
|
overridevirtual |
Clears the Interrupt Status bit.
Reimplemented from tcRAMStreamer.
◆ getBuffer()
virtual uint8_t* tcSIMRAMStreamer::getBuffer |
( |
void |
| ) |
|
|
inlinevirtual |
◆ getBufferSize()
virtual uint32_t tcSIMRAMStreamer::getBufferSize |
( |
void |
| ) |
|
|
inlinevirtual |
◆ getInterruptLevel()
unsigned int tcSIMRAMStreamer::getInterruptLevel |
( |
| ) |
|
|
overridevirtual |
Returns the currently set level of interrupt.
- Returns
- the number of frames to go before generating an interrupt.
Reimplemented from tcRAMStreamer.
◆ getPackingMode()
◆ initialize()
bool tcSIMRAMStreamer::initialize |
( |
| ) |
|
|
overridevirtual |
◆ isPacking()
bool tcSIMRAMStreamer::isPacking |
( |
| ) |
|
|
overridevirtual |
DEPRECATED - use tePackingMode getPackingMode() instead. Returns if packing pixels is turned on.
- Returns
- true if packing is turned on; false otherwise.
Reimplemented from tcRAMStreamer.
◆ isReady()
bool tcSIMRAMStreamer::isReady |
( |
| ) |
|
|
overridevirtual |
Tests whether the stream is complete by looking at the Interrupt Status bit.
- Returns
- true if the stream is complete. false otherwise.
Reimplemented from tcRAMStreamer.
◆ reset()
void tcSIMRAMStreamer::reset |
( |
bool |
abReset | ) |
|
|
overridevirtual |
Set the reset bit.
- Parameters
-
abReset | - the state of the reset bit. |
Reimplemented from tcRAMStreamer.
◆ setEndAddr()
void tcSIMRAMStreamer::setEndAddr |
( |
unsigned int |
anAddr | ) |
|
|
overridevirtual |
Set the end address of where to wrap around. This should be set by the IO Channel on a frame boundary.
- Parameters
-
anAddr | - the address to stream to. |
Reimplemented from tcRAMStreamer.
◆ setFrameSize()
void tcSIMRAMStreamer::setFrameSize |
( |
unsigned int |
anNumBytes | ) |
|
|
overridevirtual |
Sets the frame size register.
- Parameters
-
anNumBytes | - the number of bytes to set. |
Reimplemented from tcRAMStreamer.
◆ setFramesToCapture()
void tcSIMRAMStreamer::setFramesToCapture |
( |
unsigned short |
anNumFrames | ) |
|
|
overridevirtual |
Sets the number of images to capture; set to 0 for continuous capture.
- Parameters
-
numCapture | - the number of images to capture; 0 for continuous capture. |
Reimplemented from tcRAMStreamer.
◆ setInterruptEnable()
void tcSIMRAMStreamer::setInterruptEnable |
( |
bool |
abEnable | ) |
|
|
overridevirtual |
Sets the state of the interrupt enable bit.
- Parameters
-
abEnable | - true to enable interrupts; false to disable them. |
Reimplemented from tcRAMStreamer.
◆ setInterruptLevel()
void tcSIMRAMStreamer::setInterruptLevel |
( |
unsigned int |
anNumFrames | ) |
|
|
overridevirtual |
Sets the number of frames to be streamed to RAM before generating an interrupt.
Reimplemented from tcRAMStreamer.
◆ setPacking()
void tcSIMRAMStreamer::setPacking |
( |
bool |
abEnable | ) |
|
|
overridevirtual |
◆ setPackingMode()
virtual void tcSIMRAMStreamer::setPackingMode |
( |
tePackingMode |
aeMode | ) |
|
|
inlineoverridevirtual |
◆ setStartAddr()
void tcSIMRAMStreamer::setStartAddr |
( |
unsigned int |
anAddr | ) |
|
|
overridevirtual |
Set the start address of where to stream to. This should be set by the IO Channel.
- Parameters
-
anAddr | - the address to stream to. |
Reimplemented from tcRAMStreamer.
◆ tickFrameCtr()
void tcSIMRAMStreamer::tickFrameCtr |
( |
uint32_t |
cnt = 1 | ) |
|
◆ mbInterruptEnabled
bool tcSIMRAMStreamer::mbInterruptEnabled |
|
protected |
◆ mbPacking
bool tcSIMRAMStreamer::mbPacking |
|
protected |
◆ mePackingMode
◆ mnBlocksize
uint32_t tcSIMRAMStreamer::mnBlocksize |
|
protected |
◆ mnFrameInt
uint32_t tcSIMRAMStreamer::mnFrameInt |
|
protected |
◆ mnFramesToCapture
uint32_t tcSIMRAMStreamer::mnFramesToCapture |
|
protected |
◆ mnFrameTotal
uint32_t tcSIMRAMStreamer::mnFrameTotal |
|
protected |
◆ mnInterruptLevel
uint32_t tcSIMRAMStreamer::mnInterruptLevel |
|
protected |
◆ mnOffset
uint32_t tcSIMRAMStreamer::mnOffset |
|
protected |
◆ mpBuffer
uint8_t* tcSIMRAMStreamer::mpBuffer |
|
protected |
The documentation for this class was generated from the following files: