Sync/include/kernel/serial.h

22 lines
487 B
C
Raw Normal View History

#pragma once
#include <stdint.h>
#include <stddef.h>
extern void init_serial();
extern void serial_set_baud_rate(uint16_t, uint16_t);
extern void serial_configure_line(uint16_t);
extern void serial_configure_buffers(uint16_t);
extern void serial_write(uint16_t, const char);
extern void serial_configure_modem(uint16_t);
extern int serial_check_tqueue(uint16_t);
extern void serial_print(uint16_t, const char*);
extern void serial_printf(const char*, ...);