Subversion Repositories HomeAutomation

Rev

Rev 1062 | Rev 1125 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed

  1. #ifndef <TEMPLATE>
  2. #define <TEMPLATE>
  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.  
  17. void <template>_Init(void);
  18. void <template>_Process(void);
  19. void <template>_HandleMessage(StdCan_Msg_t *rxMsg);
  20. void <template>_List(uint8_t ModuleSequenceNumber);
  21.  
  22.  
  23. #ifdef <template>_USEEEPROM
  24.     struct <template>_Data{
  25.         ///TODO: Define EEPROM variables needed by the module
  26.         uint8_t x;
  27.         uint16_t y;
  28.     }; 
  29. #endif
  30.  
  31. #endif // <TEMPLATE>
  32.