13 #ifndef LinuxUartDriver_HPP 14 #define LinuxUartDriver_HPP 43 #ifdef TGT_OS_TYPE_LINUX 106 PlatformIntType m_fd;
107 U32 m_allocationSize;
108 const char* m_device;
111 static void serialReadTaskEntry(
void* ptr);
116 bool m_quitReadThread;
static constexpr FwSizeType TASK_DEFAULT
Auto-generated base for LinuxUartDriver component.
void start(FwTaskPriorityType priority=Os::Task::TASK_PRIORITY_DEFAULT, Os::Task::ParamType stackSize=Os::Task::TASK_DEFAULT, Os::Task::ParamType cpuAffinity=Os::Task::TASK_DEFAULT)
static constexpr FwTaskPriorityType TASK_PRIORITY_DEFAULT
void quitReadThread()
Quit thread.
PlatformTaskPriorityType FwTaskPriorityType
The type of task priorities used.
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.