]> git.karo-electronics.de Git - oswald.git/blobdiff - ui/oswald_hal.h
Shorten charger plug "tail"
[oswald.git] / ui / oswald_hal.h
index ab1e7c0d9bf042a3b1520bafa37e5f65151957cf..bc7a715f4f8f007aa5a15598de0cf24cae72d500 100644 (file)
@@ -5,7 +5,11 @@
  * these functions must be implemented for a concrete hardware
  */
 
-void hal_lcd_set_pixel(unsigned int x, unsigned int y, unsigned char state);
+const char *hal_get_version_string(void);
+const char *hal_get_buildno_string(void);
+const char *hal_get_radio_version_string(void);
+
+void hal_lcd_set_pixel(uint8_t x, uint8_t y, uint8_t color);
 void hal_lcd_clear_display(void);
 void hal_lcd_update_display(void);
 /* sets the backlight on/off, on=TRUE, off=FALSE */
@@ -32,5 +36,9 @@ uint8_t *hal_bluetooth_get_local_bdaddr(void);
 void hal_bluetooth_set_visible(boolean visible);
 boolean hal_bluetooth_get_visible(void);
 void hal_bluetooth_send_data(const void *mdat, uint16_t mlen);
+
+void hal_accelerometer_enable(void);
+void hal_accelerometer_disable(void);
+
 #endif