Subversion Repositories HomeAutomation

Rev

Rev 2022 | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed

  1. #ifndef SNS_HEATPOWER
  2. #define SNS_HEATPOWER
  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. #include <drivers/adc/adc.h>
  18. #include <drivers/mcu/pcint.h>
  19. #include <drivers/uart/uart.h>
  20.  
  21. void sns_heatPower_Init(void);
  22. void sns_heatPower_Process(void);
  23. void sns_heatPower_HandleMessage(StdCan_Msg_t *rxMsg);
  24. void sns_heatPower_List(uint8_t ModuleSequenceNumber);
  25.  
  26.  
  27. #ifndef sns_heatPower_USEEEPROM
  28. #define sns_heatPower_USEEEPROM 0
  29. #endif
  30.  
  31. #if sns_heatPower_USEEEPROM==1
  32.     struct sns_heatPower_Data{
  33.         ///TODO: Define EEPROM variables needed by the module
  34.         uint8_t x;
  35.         uint16_t y;
  36.     }; 
  37. #endif
  38.  
  39. #endif // SNS_HEATPOWER
  40.