Subversion Repositories Code-Repo

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
107 Kevin 1
#ifndef __uart_h
2
#define __uart_h
3
 
4
#define MAXUARTBUF 1
5
#if (MAXUARTBUF > MSGLEN)
6
#define MAXUARTBUF MSGLEN
7
#endif
8
 
9
typedef struct __UART_DATA {
10
    unsigned char buffer[MAXUARTBUF];
11
    unsigned char buflen;
12
} UART_DATA;
13
 
14
void uart_init(UART_DATA *);
15
void uart_recv_interrupt_handler(void);
16
 
17
#endif