Subversion Repositories Code-Repo

Compare Revisions

Ignore whitespace Rev 112 → Rev 113

/Classwork/ECE4534 - Embedded Systems/PIC 26J11/uart.h
0,0 → 1,17
#ifndef __uart_h
#define __uart_h
 
#define MAXUARTBUF 1
#if (MAXUARTBUF > MSGLEN)
#define MAXUARTBUF MSGLEN
#endif
 
typedef struct __UART_DATA {
unsigned char buffer[MAXUARTBUF];
unsigned char buflen;
} UART_DATA;
 
void uart_init(void);
void uart_recv_interrupt_handler(void);
 
#endif