board_cfg.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /*********************************************************************************************************
  2. * Module : board_cfg
  3. * Abstract : controller board expecil configuration !!!!
  4. * Version : 1.0.0
  5. * Author : Leopul(COPYRIGHT 2025 ~ 2027 Leopul. All rights reserved.)
  6. * Complete : 2025-02-16
  7. * Content : None
  8. * Note : None
  9. *********************************************************************************************************/
  10. #ifndef __BOARD_CFG_H_
  11. #define __BOARD_CFG_H_
  12. #define OPEN_WATCH_DOG 1
  13. #define OPEN_NOT_READ_EN 1
  14. #define POWER_DC 0
  15. #define POWER_AC 1
  16. #define POWER_AC_3_3 4
  17. #define POWER_AC_3_1 2
  18. #define POWER_AC_3_2 3
  19. #define INPUT_PT_NONE 0 /* detect module count */
  20. #define INPUT_PT_1 1
  21. #define INPUT_PT_2 2
  22. #define INPUT_PT_3 3
  23. #define ZERO_LINE_CTRL_NO 0
  24. #define ZERO_LINE_CTRL_YES 1
  25. #define OUTPUT_CTRL_NO 0 /* */
  26. #define OUTPUT_CTRL_YES 1
  27. #define PT_SUB_COUNT_3 3
  28. #define PT_SUB_COUNT_4 4
  29. #define PRJ_6_OLD 1
  30. #define PRJ_3_4 0
  31. #define PRJ_3_2 0
  32. #define PRJ_DC_8 0
  33. #define PRJ_8_CHONGQING 0
  34. #if PRJ_6_OLD
  35. #define RelaySlaveChaNum 6
  36. #define RELAY_REMENBER 1
  37. #define SURPPORT_2_PT 1
  38. #define SUPPORT_ALL_ON_OFF 0
  39. #define PT_SUB_COUNT (PT_SUB_COUNT_3)
  40. #define SUPPORT_DETECTION 1
  41. #define ACSingCurrid 1
  42. #endif
  43. #endif