Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
#include <PollingInterruptThread.h>
Public Member Functions | |
tcPollingInterruptThread (tcRAMStreamer *apStreamer) | |
virtual | ~tcPollingInterruptThread () |
void | setStreamer (tcRAMStreamer *apStreamer) |
virtual void * | run () |
void | setEnable (bool abEnable) |
Public Member Functions inherited from tcThread | |
tcThread () | |
virtual | ~tcThread () |
void | join () |
virtual void | start () |
virtual void | stop () |
Public Member Functions inherited from tcObservable | |
tcObservable () | |
void | registerObserver (tcObserver *apObs) |
void | unregisterObserver (tcObserver *apObs) |
void | notifyChange (tsUpdate asMessage) |
Additional Inherited Members | |
Static Public Attributes inherited from tcThread | |
static const int | HIGHEST_PRIORITY = -2 |
static const int | HIGH_PRIORITY = -1 |
static const int | NORMAL_PRIORITY = 0 |
static const int | LOW_PRIORITY = 1 |
static const int | LOWEST_PRIORITY = 2 |
Protected Member Functions inherited from tcThread | |
void | setPriority (int anRelativePriority) |
Protected Attributes inherited from tcThread | |
bool | mbKillThread |
The tcPollingInterruptThread class provides a thread that monitors /dev/uio0 for interrupts from a StreamToSdramRaster or StreamToSdramCIS2521 FPGA DMA core. This is the primary delivery mechanism of frames from a MityCAM FPGA pipeline to DDR for the ARM to process / transmit over ARM managed interfaces (e.g., ethernet, or queued transmission to USB 3.0, etc.).
tcPollingInterruptThread::tcPollingInterruptThread | ( | tcRAMStreamer * | apStreamer | ) |
Constructor.
[in] | apStreamer | pointer to constructed/initialized tcRAMStreamer management class |
|
virtual |
|
virtual |
The run() method is the main thread for monitoring the /dev/uio0 interrupt driver for the attached StreamToSDRAMRaster or StreamToSDRAMCIS2521 core.
Implements tcThread.
void tcPollingInterruptThread::setEnable | ( | bool | abEnable | ) |
void tcPollingInterruptThread::setStreamer | ( | tcRAMStreamer * | apStreamer | ) |