blob: 4f665b2b9b0ccb4b29c07e68519ea51b61ff200c (
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 serial_t {
port8_t port_3F8;
port8_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
|