13 #ifndef LinuxUartDriver_HPP
14 #define LinuxUartDriver_HPP
43 #ifdef TGT_OS_TYPE_LINUX
46 BAUD_1000K=1000000000,
47 BAUD_1152K=1152000000,
48 BAUD_1500K=1500000000,
49 BAUD_2000K=2000000000,
51 BAUD_2500K=2500000000,
54 BAUD_3000K=3000000000,
57 BAUD_3500K=3500000000,
101 U32 m_allocationSize;
102 const char* m_device;
105 static void serialReadTaskEntry(
void* ptr);
110 bool m_quitReadThread;
PlatformIntType NATIVE_INT_TYPE
Auto-generated base for LinuxUartDriver component.
void quitReadThread()
Quit thread.
Os::Task::Status join()
Join thread.
LinuxUartDriver(const char *const compName)
UartBaudRate
Configure UART parameters.
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)
bool open(const char *const device, UartBaudRate baud, UartFlowControl fc, UartParity parity, U32 allocationSize)
Status returned by the send call.
FwSizeType ParamType
backwards-compatible parameter type
static constexpr FwSizeType TASK_DEFAULT