New rewritten serial driver + dev interface
This commit is contained in:
12
kernel/drivers/serial/serial.h
Normal file
12
kernel/drivers/serial/serial.h
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef DRIVERS_SERIAL_SERIAL_H_
|
||||
#define DRIVERS_SERIAL_SERIAL_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void serial_init(void);
|
||||
int serial_recvready(void);
|
||||
uint8_t serial_recvb(void);
|
||||
int serial_sendready(void);
|
||||
void serial_sendb(uint8_t b);
|
||||
|
||||
#endif // DRIVERS_SERIAL_SERIAL_H_
|
Reference in New Issue
Block a user