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.
14 lines
215 B
C
14 lines
215 B
C
3 years ago
|
|
||
|
#ifndef _P_USART_H_
|
||
|
#define _P_USART_H_
|
||
|
|
||
|
#include <hal_io.h>
|
||
|
#include <hal_usart_sync.h>
|
||
|
void p_usart_init(void);
|
||
|
|
||
|
int p_printf(const char* str, ...);
|
||
|
|
||
|
#define PDEBUG(f_, ...) p_printf((f_), ##__VA_ARGS__)
|
||
|
|
||
|
#endif
|