mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
17 lines
325 B
C
17 lines
325 B
C
#ifndef _DRIVERS_SERIAL_H
|
|
#define _DRIVERS_SERIAL_H
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
#include <stdbool.h>
|
|
|
|
#define COM1_PORT 0x3F8
|
|
|
|
void serial_init(void);
|
|
void serial_write_char(char c);
|
|
void serial_write_string(const char* str);
|
|
char serial_read_char(void);
|
|
bool serial_received(void);
|
|
|
|
#endif // _DRIVERS_SERIAL_H
|