2019-07-17 14:12:48 +00:00
|
|
|
/************************
|
|
|
|
*** Team Kitty, 2019 ***
|
|
|
|
*** Sync ***
|
|
|
|
***********************/
|
|
|
|
|
2019-04-07 14:34:15 +00:00
|
|
|
#pragma once
|
2019-04-07 15:36:51 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <stddef.h>
|
2019-04-07 14:34:15 +00:00
|
|
|
|
2019-06-27 18:57:54 +00:00
|
|
|
void init_serial();
|
2019-04-07 14:34:15 +00:00
|
|
|
|
2019-06-27 18:57:54 +00:00
|
|
|
void serial_set_baud_rate(uint16_t, uint16_t);
|
2019-04-07 14:34:15 +00:00
|
|
|
|
2019-06-27 18:57:54 +00:00
|
|
|
void serial_configure_line(uint16_t);
|
2019-04-07 14:34:15 +00:00
|
|
|
|
2019-06-27 18:57:54 +00:00
|
|
|
void serial_configure_buffers(uint16_t);
|
2019-04-07 14:34:15 +00:00
|
|
|
|
2019-06-27 18:57:54 +00:00
|
|
|
void serial_write(uint16_t, const char);
|
2019-04-07 14:34:15 +00:00
|
|
|
|
2019-06-27 18:57:54 +00:00
|
|
|
void serial_configure_modem(uint16_t);
|
2019-04-07 14:34:15 +00:00
|
|
|
|
2019-06-27 18:57:54 +00:00
|
|
|
int serial_check_tqueue(uint16_t);
|
2019-04-07 14:34:15 +00:00
|
|
|
|
2019-06-27 18:57:54 +00:00
|
|
|
void serial_print(uint16_t, const char*);
|
2019-04-07 14:34:15 +00:00
|
|
|
|
2019-06-27 18:57:54 +00:00
|
|
|
void serial_printf(uint16_t, const char*, ...);
|