You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
339 B
25 lines
339 B
//
|
|
// Created by iflyt on 2025/3/20.
|
|
//
|
|
|
|
#ifndef UART_CONTROL_H
|
|
#define UART_CONTROL_H
|
|
|
|
#include "cmsis_os2.h"
|
|
/**
|
|
* Uart 控制类
|
|
*/
|
|
class UartControl {
|
|
public:
|
|
UartControl();
|
|
~UartControl();
|
|
|
|
bool start();
|
|
|
|
static void canParserTask(void *argument);
|
|
|
|
osThreadId_t parser_task_handle_;
|
|
};
|
|
|
|
|
|
#endif //UART_CONTROL_H
|