summaryrefslogtreecommitdiff
path: root/kernel/include/comus/drivers/uart.h
blob: 9a2d70a8f7fa901b09223c219ca3ab835b785157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 * @file uart.h
 *
 * @author Freya Murphy <freya@freyacat.org>
 *
 * Serial interface
 */

#ifndef UART_H_
#define UART_H_

#include <stdint.h>

int uart_init(void);
uint8_t uart_in(void);
void uart_out(uint8_t ch);
void uart_out_str(const char *str);

#endif /* uart.h */