13 #ifndef LinuxUartDriver_HPP 14 #define LinuxUartDriver_HPP 43 #ifdef TGT_OS_TYPE_LINUX 100 PlatformIntType m_fd;
101 U32 m_allocationSize;
102 const char* m_device;
105 static void serialReadTaskEntry(
void* ptr);
110 bool m_quitReadThread;
static constexpr FwSizeType TASK_DEFAULT
Auto-generated base for LinuxUartDriver component.
void start(Os::Task::ParamType priority=Os::Task::TASK_DEFAULT, Os::Task::ParamType stackSize=Os::Task::TASK_DEFAULT, Os::Task::ParamType cpuAffinity=Os::Task::TASK_DEFAULT)
void quitReadThread()
Quit thread.
FwSizeType ParamType
backwards-compatible parameter type
LinuxUartDriver(const char *const compName)
UartBaudRate
Configure UART parameters.
PlatformIndexType FwIndexType
bool open(const char *const device, UartBaudRate baud, UartFlowControl fc, UartParity parity, U32 allocationSize)
Os::Task::Status join()
Join thread.