backlight.h 477 B

12345678910111213141516171819202122232425
  1. //backlight.h
  2. #ifndef _BACKLIGHT_H
  3. #define _BACKLIGHT_H
  4. #include <inttypes.h>
  5. enum Backlight_Mode
  6. {
  7. BACKLIGHT_MODE_BRIGHT = 0,
  8. BACKLIGHT_MODE_DIM = 1,
  9. BACKLIGHT_MODE_AUTO = 2,
  10. };
  11. extern int16_t backlightLevel_HIGH;
  12. extern int16_t backlightLevel_LOW;
  13. extern uint8_t backlightMode;
  14. extern bool backlightSupport;
  15. extern void backlight_update();
  16. extern void backlight_init();
  17. extern void backlightTimer_reset();
  18. extern void backlight_save();
  19. #endif //_BACKLIGHT_H