Files
pa50contr/uart.h
Олег Бородин daac0e8e1f import
2024-08-20 18:12:45 +02:00

22 lines
341 B
C

/*
* 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