summaryrefslogtreecommitdiff
path: root/src/serial.h
blob: 2fd66e5fb0fc2618aba78235340077fe2134041b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SERIAL_H
#define SERIAL_H

#include "port.h"

typedef struct {
	port_t port_3F8;
	port_t port_3FD;	
} serial_t;

void serial_init( serial_t *serial );
void serial_put_char( serial_t *serial, const char c );
void serial_put_string( serial_t *serial, const char *s );
void serial_put_newline( serial_t *serial );

#endif // SERIAL_H