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;
static constexpr FwSizeType TASK_DEFAULT
PlatformIntType NATIVE_INT_TYPE
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)
Status returned by the send call.
UartBaudRate
Configure UART parameters.
bool open(const char *const device, UartBaudRate baud, UartFlowControl fc, UartParity parity, U32 allocationSize)
Os::Task::Status join()
Join thread.