You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifndef _USART_H_
|
|
#define _USART_H_
|
|
|
|
|
|
class Usart
|
|
{
|
|
public:
|
|
Usart();
|
|
~Usart();
|
|
|
|
void Write(const char* arr);
|
|
void Read(char* arr, int max_len);
|
|
private:
|
|
hal_usart _usart;
|
|
|
|
};
|
|
|
|
#endif |