Added experimental makepkg-update-checksums.sh
[mirrors/Programs.git] / c / tv-b-gone / util.h
CommitLineData
21c4e167
H
1#include <avr/pgmspace.h>
2
3uint8_t internal_eeprom_read(uint16_t addr);
4void internal_eeprom_write(uint16_t addr, uint8_t data);
5void delay_ms(uint16_t ms);
6void uart_init(uint16_t baud);
7void uart_putchar(char c) ;
8char uart_getchar(void);
9char uart_getch(void);
10void putnum_ud(uint16_t n);
11void putnum_uh(uint16_t n);
12void printhex(uint8_t hex);
13void ROM_putstring(const char *str, uint8_t) ;
14void RAM_putstring(char *str, uint8_t) ;
15uint16_t uart_read16(void);
16void 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
This page took 0.30767 seconds and 4 git commands to generate.