13 #ifndef LinuxUartDriver_HPP 14 #define LinuxUartDriver_HPP 81 bool open(
const char*
const device,
130 const char* m_device;
133 static void serialReadTaskEntry(
void* ptr);
137 std::atomic<FwSizeType> m_bytesSent;
138 std::atomic<FwSizeType> m_bytesReceived;
139 bool m_quitReadThread;
static constexpr FwSizeType TASK_DEFAULT
PlatformSizeType FwSizeType
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
bool open(const char *const device, UartBaudRate baud, UartFlowControl fc, UartParity parity, FwSizeType allocationSize)
Status returned by the send call.
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
Os::Task::Status join()
Join thread.