]> mj.ucw.cz Git - home-hw.git/blob - Inc/app.h
Whoa! Interrupt-driven I2C is working!
[home-hw.git] / Inc / app.h
1 // main.c
2
3 // display.c
4
5 void display_init(void);
6 void display_counter(uint cnt);
7 void display_buffer(byte *buf);
8
9 // usbdev.c
10
11 extern byte rx_packet[64];
12 extern byte tx_packet[64];
13 extern volatile byte rx_packet_state, tx_packet_state;
14
15 void tx_packet_send(void);
16
17 // bmp085.c
18
19 extern s16 adjusted_temp;
20 extern s16 adjusted_press;
21
22 extern volatile byte *bmp_i2c_ptr;
23 extern volatile byte bmp_i2c_len;
24 extern volatile byte bmp_i2c_addr;
25
26 void bmp_init(void);
27 void bmp_step(void);