This commit is contained in:
Олег Бородин
2024-08-20 18:12:45 +02:00
commit daac0e8e1f
24 changed files with 28759 additions and 0 deletions

21
uart.h Normal file
View File

@@ -0,0 +1,21 @@
/*
* Copyright 2017 Oleg Borodin <onborodin@gmail.com>
*
*/
#ifndef UART_H_QWERTY
#define UART_H_QWERTY
#include <stdio.h>
#include <fifo.h>
extern fifo_t uart_inbuf, uart_outbuf;
extern FILE uart_stream;
void uartio_init(void);
void uart_init(void);
int uart_putchar(char c, FILE * stream);
int uart_getchar(FILE * stream);
#endif