23 lines
552 B
C
23 lines
552 B
C
#ifndef __SERIAL_H__
|
|
#define __SERIAL_H__
|
|
|
|
/* $(CPU)/serial.c */
|
|
int serial_init (void);
|
|
void serial_addr (unsigned int);
|
|
void serial_setbrg (void);
|
|
void serial_putc (const char);
|
|
void serial_putc_raw(const char);
|
|
void serial_puts (const char *);
|
|
int serial_getc (void);
|
|
int serial_tstc (void);
|
|
|
|
void _serial_setbrg (const int);
|
|
void _serial_putc (const char, const int);
|
|
void _serial_putc_raw(const char, const int);
|
|
void _serial_puts (const char *, const int);
|
|
int _serial_getc (const int);
|
|
int _serial_tstc (const int);
|
|
|
|
|
|
#endif
|