X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=Inc%2Fapp.h;h=acae0ae4800437aa238b8edbd9875574581a94f3;hb=47323abef3896f85d87aadf3d6ef849176cd44d8;hp=bd81ad08a567b270adb177126c7d5e6c55966681;hpb=4b65af0c3b9e7d965515044e5761ba3003ee38aa;p=home-hw.git diff --git a/Inc/app.h b/Inc/app.h index bd81ad0..acae0ae 100644 --- a/Inc/app.h +++ b/Inc/app.h @@ -1,4 +1,27 @@ +// main.c + // display.c void display_init(void); void display_counter(uint cnt); +void display_buffer(byte *buf); + +// usbdev.c + +extern byte rx_packet[64]; +extern byte tx_packet[64]; +extern volatile byte rx_packet_state, tx_packet_state; + +void tx_packet_send(void); + +// bmp085.c + +extern s16 adjusted_temp; +extern s16 adjusted_press; + +extern volatile byte *bmp_i2c_ptr; +extern volatile byte bmp_i2c_len; +extern volatile byte bmp_i2c_addr; + +void bmp_init(void); +void bmp_step(void);