Prusa3d Marlin fork
uart2.h
1
//uart2.h
2
#ifndef _UART2_H
3
#define _UART2_H
4
5
#include <inttypes.h>
6
#include <stdio.h>
7
8
9
#if defined(__cplusplus)
10
extern
"C"
{
11
#endif
//defined(__cplusplus)
12
13
14
extern
FILE _uart2io;
15
#define uart2io (&_uart2io)
16
17
18
extern
void
uart2_init(uint32_t baudRate);
19
20
extern
int8_t uart2_rx_str_P(
const
char
* str);
21
22
23
#if defined(__cplusplus)
24
}
25
#endif
//defined(__cplusplus)
26
#endif
//_UART2_H
Generated by
1.9.1