aboutsummaryrefslogtreecommitdiff
path: root/machine/uart_litex.h
blob: a10dc57ffc344db9fea81aaf6da8be9142f8e128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// See LICENSE for license details.

#ifndef _RISCV_UARTLR_H
#define _RISCV_UARTLR_H

#include <stdint.h>

extern volatile unsigned int *uart_litex;

void uart_litex_putchar(uint8_t ch);
int uart_litex_getchar();
void query_uart_litex(uintptr_t dtb);

#endif