]> git.karo-electronics.de Git - oswald.git/blobdiff - ui/oswald_hal.h
Power saving changes, add new fonts, bitmaps and screens
[oswald.git] / ui / oswald_hal.h
index ab1e7c0d9bf042a3b1520bafa37e5f65151957cf..d8d28cf38ffbfc196f97ce4883256b3371bb5d89 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,10 @@ 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);
-#endif
 
+void hal_accelerometer_enable(void);
+void hal_accelerometer_disable(void);
+
+uint16_t hal_amblight_get_val(void);
+
+#endif