uart.hpp 209 Bytes
Newer Older
Xoaquin Castrelo's avatar
Xoaquin Castrelo committed
1
2
3
#ifndef UART_H
#define UART_H

Xoaquin Castrelo's avatar
Xoaquin Castrelo committed
4
5
#include <stdint.h>

Xoaquin Castrelo's avatar
Xoaquin Castrelo committed
6
7
8
9
10
/**
 * Initialises the UART logic.
 */
void initUart();

Xoaquin Castrelo's avatar
Xoaquin Castrelo committed
11
12
13
14
15
/**
 * Writes a character to the UART port.
 */
void writeUart(uint8_t value);

Xoaquin Castrelo's avatar
Xoaquin Castrelo committed
16
#endif /* UART_H */