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.
18 lines
189 B
C
18 lines
189 B
C
4 years ago
|
#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
|