Blame | Last modification | View Log | Download | RSS feed
#ifndef __uart_h#define __uart_h#define MAXUARTBUF 1#if (MAXUARTBUF > MSGLEN)#define MAXUARTBUF MSGLEN#endiftypedef struct __UART_DATA {unsigned char buffer[MAXUARTBUF];unsigned char buflen;} UART_DATA;void uart_init(void);void uart_recv_interrupt_handler(void);#endif