Common.proto 293 B

123456789101112131415161718192021222324
  1. syntax = "proto3";
  2. package sys.dev.common;
  3. import "nanopb.proto";
  4. option (nanopb_fileopt).enum_to_string = true;
  5. enum types {
  6. UNKNOWN = 0;
  7. SPI = 1;
  8. I2C = 2;
  9. RMII = 3;
  10. }
  11. enum ports {
  12. UNSPECIFIED = 0;
  13. SYSTEM = 1;
  14. DAC = 2;
  15. }
  16. enum hosts {
  17. NONE = 0;
  18. Host0 = 1;
  19. Host1 = 2;
  20. }