|
Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
Go to the documentation of this file.
19 tcUioIrq(std::string acName, std::string acUioPath = std::string());
26 std::string
name() {
return mcName; }
27 std::string
path() {
return mcUioPath; }
33 void set_irq_handler(std::function<
void(
int)> apIrqHandler) { mpIrqHandler = apIrqHandler; }
37 std::string get_uio_path()
const;
38 void monitor_thread();
41 std::string mcUioPath;
46 std::thread mcMonitorThread;
47 bool mbShutdownThread;
48 std::function<void(
int)> mpIrqHandler;
bool enable_irq_monitor(bool abEnable)
Definition: UioIrq.cpp:207
virtual ~tcUioIrq()
Definition: UioIrq.cpp:47
bool opened() const
Definition: UioIrq.cpp:109
bool initialize()
Definition: UioIrq.cpp:57
std::string name()
Definition: UioIrq.h:26
void set_irq_handler(std::function< void(int)> apIrqHandler)
Definition: UioIrq.h:33
tcUioIrq(std::string acName, std::string acUioPath=std::string())
Definition: UioIrq.cpp:38
std::string path()
Definition: UioIrq.h:27
int waitForInterrupt(std::chrono::microseconds anTimeout)
tcUioIrq::waitForInterrupt Wait for the Uio device to generate an interrupt
Definition: UioIrq.cpp:155
int write_enable_irq()
Definition: UioIrq.cpp:139
void close_fd()
Definition: UioIrq.cpp:97