Subversion Repositories HomeAutomation

Rev

Blame | Last modification | View Log | SVN | RSS feed

  1. #ifndef ACT_LCD_EG2401
  2. #define ACT_LCD_EG2401
  3.  
  4. /*-----------------------------------------------------------------------------
  5.  * Includes
  6.  *---------------------------------------------------------------------------*/
  7. /* system files */
  8. #include <avr/io.h>
  9. #include <avr/interrupt.h>
  10. #include <stdio.h>
  11. /* lib files */
  12. #include <config.h>
  13. #include <bios.h>
  14. #include <drivers/can/stdcan.h>
  15. #include <drivers/timer/timer.h>
  16. #include <drivers/mcu/gpio.h>
  17.  
  18. //to use PCINT lib. uncomment the line below
  19. //#include <drivers/mcu/pcint.h>
  20. #include <avr/pgmspace.h>
  21.  
  22. void act_lcd_eg2401_Init(void);
  23. void act_lcd_eg2401_Process(void);
  24. void act_lcd_eg2401_HandleMessage(StdCan_Msg_t *rxMsg);
  25. void act_lcd_eg2401_List(uint8_t ModuleSequenceNumber);
  26.  
  27. extern uint8_t lcd_framebuffer[256];
  28.  
  29.  
  30. #ifdef act_lcd_eg2401_USEEEPROM
  31.     struct act_lcd_eg2401_Data{
  32.         ///TODO: Define EEPROM variables needed by the module
  33.         uint8_t x;
  34.         uint16_t y;
  35.     }; 
  36. #endif
  37.  
  38. #endif // ACT_LCD_EG2401
  39.