Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
#pragma once
#include <string>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
using namespace std;
namespace CTAG::SAPI{
class SerialAPI final {
public:
SerialAPI() = delete;
static void StartSerialAPI();
private:
static void processAPICommand(const string &cmd);
static void sendString(const string &s);
static void sendString(const char* s);
static void initUART();
static void serialTask(void*);
static TaskHandle_t hSerialTask;
static const char stx;
static const char etx;
};
}
a2633ed18This file is pinned to the selected release. Download the original to open it in your design tool.