ECE 4760 Final Project
Main Page
Files
File List
Globals
All
Files
Functions
Variables
Enumerations
Enumerator
Macros
src
uart.h
Go to the documentation of this file.
1
/*
2
* ----------------------------------------------------------------------------
3
* "THE BEER-WARE LICENSE" (Revision 42):
4
* <joerg@FreeBSD.ORG> wrote this file. As long as you retain this notice you
5
* can do whatever you want with this stuff. If we meet some day, and you think
6
* this stuff is worth it, you can buy me a beer in return. Joerg Wunsch
7
* ----------------------------------------------------------------------------
8
*
9
* Stdio demo, UART declarations
10
*
11
* $Id: uart.h,v 1.1 2005/12/28 21:38:59 joerg_wunsch Exp $
12
*/
13
14
/*
15
* Perform UART startup initialization.
16
*/
17
void
uart_init
(
void
);
18
19
/*
20
* Send one character to the UART.
21
*/
22
int
uart_putchar
(
char
c, FILE *stream);
23
24
/*
25
* Size of internal line buffer used by uart_getchar().
26
*/
27
#define RX_BUFSIZE 80
28
29
/*
30
* Receive one character from the UART. The actual reception is
31
* line-buffered, and one character is returned from the buffer at
32
* each invokation.
33
*/
34
int
uart_getchar
(FILE *stream);
uart_init
void uart_init(void)
Definition:
uart.c:35
uart_getchar
int uart_getchar(FILE *stream)
Definition:
uart.c:102
uart_putchar
int uart_putchar(char c, FILE *stream)
Definition:
uart.c:51
Generated on Wed Dec 10 2014 16:33:34 for ECE 4760 Final Project by
1.8.7