Details | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 19 | jimmy | 1 | #ifndef UART_H_ |
| 2 | #define UART_H_ |
||
| 3 | |||
| 4 | #include <avr/io.h> |
||
| 5 | #include <avr/signal.h> |
||
| 6 | #include <avr/pgmspace.h> |
||
| 7 | |||
| 8 | void uartInit(unsigned char baudrate); |
||
| 9 | int uartPutChar(char c); |
||
| 10 | int uartGetChar (void); |
||
| 11 | void uartPutString(char* str); |
||
| 12 | void uartPutUInt8(uint8_t number, uint8_t base); |
||
| 13 | void uartPutUInt16(uint16_t number, uint8_t base); |
||
| 14 | void uartNewLine(void); |
||
| 15 | |||
| 16 | #endif /*UART_H_*/ |