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

#include <stdint.h>
#include <stdbool.h>

bool serr();
void init_serial();
void sout(char b);
void soutsz(char *s);
void soutsn(char *s, uint8_t n);
char sin();
void sinsn(char *s, uint8_t n);

#endif