Driver section separation
This commit is contained in:
12
src/drivers/serial.h
Normal file
12
src/drivers/serial.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef INCLUDE_SERIAL_H
|
||||
#define INCLUDE_SERIAL_H
|
||||
|
||||
#define PORT 0x3f8 //COM1
|
||||
|
||||
int init_serial();
|
||||
int is_transmit_empty();
|
||||
void write_serial(const char a);
|
||||
void serial_puts(const char* str);
|
||||
void log(const char* str, const int errlevel);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user