00001 /* 00002 * ---------------------------------------------------------------------------- 00003 * "THE BEER-WARE LICENSE" (Revision 42): 00004 * <joerg@FreeBSD.ORG> wrote this file. As long as you retain this notice you 00005 * can do whatever you want with this stuff. If we meet some day, and you think 00006 * this stuff is worth it, you can buy me a beer in return. Joerg Wunsch 00007 * ---------------------------------------------------------------------------- 00008 * 00009 * Stdio demo, UART declarations 00010 * 00011 * $Id: uart.h,v 1.1 2005/12/28 21:38:59 joerg_wunsch Exp $ 00012 */ 00013 00014 #include "atom.h" 00015 00016 00017 /* 00018 * Perform UART startup initialization. 00019 */ 00020 int uart_init(uint32_t baudrate); 00021 00022 /* 00023 * Send one character to the UART. 00024 */ 00025 int uart_putchar(char c, FILE *stream);