board_cnf.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef __BOARD_CNF_H_
  2. #define __BOARD_CNF_H_
  3. #define PRJ_BASE_DC_8 0
  4. #define PRJ_ADC_V_DC_8 0
  5. #define PRJ_ADC_V_DC_7_1 0
  6. #define PRJ_ADC_V_DC_4_4 1
  7. #if PRJ_BASE_DC_8
  8. #define RELAY_ChN_default 8
  9. #define SUPPORT_IM1253E 1
  10. #elif PRJ_ADC_V_DC_8
  11. #define RELAY_ChN_default 8
  12. #define SUPPORT_ADC_GATHER_V 1
  13. #define SUPPORT_ALL_ON_ALL_OFF 1
  14. #define SUPPORT_2_V_GA_CHN 1
  15. #elif PRJ_ADC_V_DC_7_1
  16. #define RELAY_ChN_default 7
  17. #define SUPPORT_ADC_GATHER_V 1
  18. #define SUPPORT_ALL_ON_ALL_OFF 1
  19. #define SUPPORT_EIGHT_LIGHT 1
  20. #define SUPPORT_2_V_GA_CHN 1
  21. #elif PRJ_ADC_V_DC_4_4
  22. #define RELAY_ChN_default 8
  23. #define SURPPOT_ALL_ON_ALL_OFF 1
  24. #define SUPPORT_DETECTION 1
  25. #define SUPPORT_STM32_ADC 1
  26. #endif
  27. #endif