Subversion Repositories HomeAutomation

Rev

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

  1. #ifndef SNS_INPUT
  2. #define SNS_INPUT
  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.  
  21. void sns_input_Init(void);
  22. void sns_input_Process(void);
  23. void sns_input_HandleMessage(StdCan_Msg_t *rxMsg);
  24. void sns_input_List(uint8_t ModuleSequenceNumber);
  25.  
  26. #ifndef sns_input_CH0PCA95xxIO
  27. #define sns_input_CH0PCA95xxIO 0
  28. #endif
  29. #ifndef sns_input_CH1PCA95xxIO
  30. #define sns_input_CH1PCA95xxIO 0
  31. #endif
  32. #ifndef sns_input_CH2PCA95xxIO
  33. #define sns_input_CH2PCA95xxIO 0
  34. #endif
  35. #ifndef sns_input_CH3PCA95xxIO
  36. #define sns_input_CH3PCA95xxIO 0
  37. #endif
  38. #ifndef sns_input_CH4PCA95xxIO
  39. #define sns_input_CH4PCA95xxIO 0
  40. #endif
  41. #ifndef sns_input_CH5PCA95xxIO
  42. #define sns_input_CH5PCA95xxIO 0
  43. #endif
  44. #ifndef sns_input_CH6PCA95xxIO
  45. #define sns_input_CH6PCA95xxIO 0
  46. #endif
  47. #ifndef sns_input_CH7PCA95xxIO
  48. #define sns_input_CH7PCA95xxIO 0
  49. #endif
  50.  
  51.  
  52. #endif // SNS_INPUT
  53.