console.h 415 Bytes
Newer Older
1
/*
2
 * Copyright (c) 2013-2017, ARM Limited and Contributors. All rights reserved.
3
 *
dp-arm's avatar
dp-arm committed
4
 * SPDX-License-Identifier: BSD-3-Clause
5
6
7
8
9
 */

#ifndef __CONSOLE_H__
#define __CONSOLE_H__

10
11
12
#include <stdint.h>

int console_init(uintptr_t base_addr,
13
		unsigned int uart_clk, unsigned int baud_rate);
14
void console_uninit(void);
15
16
int console_putc(int c);
int console_getc(void);
17
int console_flush(void);
18
19
20

#endif /* __CONSOLE_H__ */