Syncboot/include/kernel/serial.h
Jenny Curle e4fcbb20b4 Implement Serial Console messaging.
Intended to be used for debugging, but it's useful.
2019-04-07 15:34:15 +01:00

20 lines
445 B
C
Executable File

#pragma once
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*, ...);