Commit | Line | Data |
---|---|---|
21c4e167 H |
1 | #include <avr/pgmspace.h> |
2 | ||
3 | uint8_t internal_eeprom_read(uint16_t addr); | |
4 | void internal_eeprom_write(uint16_t addr, uint8_t data); | |
5 | void delay_ms(uint16_t ms); | |
6 | void uart_init(uint16_t baud); | |
7 | void uart_putchar(char c) ; | |
8 | char uart_getchar(void); | |
9 | char uart_getch(void); | |
10 | void putnum_ud(uint16_t n); | |
11 | void putnum_uh(uint16_t n); | |
12 | void printhex(uint8_t hex); | |
13 | void ROM_putstring(const char *str, uint8_t) ; | |
14 | void RAM_putstring(char *str, uint8_t) ; | |
15 | uint16_t uart_read16(void); | |
16 | void print_div(void); | |
17 | ||
18 | #define putstring(x) ROM_putstring(PSTR(x), 0) | |
19 | #define putstrings(x) ROM_putstring(PSTR(x), 1) | |
20 | //#define putstring(x) RAM_putstring(x) | |
21 | ||
22 | #define NOP __asm__ __volatile__ ("nop") | |
23 |