summaryrefslogtreecommitdiff
path: root/controller/fw/src/con_usart.h
blob: a1ad963eed30509f7090d380af0326a1870fb6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __CON_USART_H__
#define __CON_USART_H__

#include "serial.h"

extern volatile struct usart_desc con_usart;

#define con_printf(...) usart_printf(&con_usart, __VA_ARGS__)

#ifndef CON_USART_BAUDRATE
#define CON_USART_BAUDRATE 115200
#endif

void con_usart_init(void);

#endif /* __CON_USART_H__ */