Rev | Line | |
---|
[128] | 1 | #ifndef _COMUART_H_
|
---|
| 2 | #define _COMUART_H_
|
---|
| 3 |
|
---|
| 4 | #include "de0_nano.h"
|
---|
| 5 |
|
---|
| 6 | extern void comuart_init(void);
|
---|
| 7 | extern void comuart_pputc(unsigned char c);
|
---|
| 8 | extern int comuart_get_rxcnt(void);
|
---|
| 9 | extern boolean comuart_receive(unsigned char *data, int len);
|
---|
| 10 | extern boolean comuart_send(const unsigned char *data, int len);
|
---|
| 11 | extern void comuart_pputc(unsigned char c);
|
---|
| 12 | extern void WaitCOMUartEvent(void);
|
---|
| 13 |
|
---|
| 14 | #endif /* _COMUART_H_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.