EdgePulseEnums.h 803 B

1234567891011121314151617181920212223242526272829303132333435
  1. // // ******************************************************************
  2. // // /\ /| @File EdgePulseEnums.h
  3. // // \ V/ @Brief
  4. // // | "") @Author lijinwen, ghz005@uni-trend.com.cn
  5. // // / | @Creation 2024-3-14
  6. // // / \\ @Modified 2024-5-13
  7. // // *(__\_\
  8. // // ******************************************************************
  9. #pragma once
  10. #include <cstdint>
  11. namespace Protocol
  12. {
  13. enum class ThreeLevelEdgePulseStatusType : uint8_t
  14. {
  15. High = 0b11,
  16. Middle = 0b01,
  17. Low = 0b00,
  18. None = 0b10,
  19. };
  20. enum class TwoLevelEdgePulseStatusType
  21. {
  22. Low,
  23. High,
  24. None,
  25. };
  26. enum class SignType
  27. {
  28. SingleEnded,
  29. Diff
  30. };
  31. }