compilation errors fixed, debug now!
[my-code/arm.git] / betty / uart.h
1 /*
2  * uart.h - uart0/1 api header file
3  *
4  * author: hackbard@hackdaworld.org
5  *
6  */
7
8 #ifndef UART_H
9 #define UART_H
10
11 #include "lpc2xxx.h"
12 #include "types.h"
13
14 /* function prototypes */
15 void uart0_init(void);
16 void uart0_send_string(char *txbuf);
17 void uart0_send_buf16(u16 *buf,int len);
18 void uart0_send_buf32(u32 *buf,int len);
19 void uart0_send_byte(u8 send);
20 u8 uart0_get_byte(void);
21
22 #endif