mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 13:37:03 +03:00
19 lines
366 B
Protocol Buffer
19 lines
366 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package sys;
|
|
import "GPIO.proto";
|
|
import "nanopb.proto";
|
|
option (nanopb_fileopt).enum_to_string = true;
|
|
|
|
enum I2CPortEnum {
|
|
UNSPECIFIED_PORT = 0;
|
|
I2CPort0 = 1;
|
|
I2CPort1 = 2;
|
|
}
|
|
message I2CBus {
|
|
option (nanopb_msgopt).msgid = 10034;
|
|
I2CPortEnum port = 1 ;
|
|
int32 speed = 2 [(nanopb).int_size = IS_16];
|
|
GPIO sda = 3;
|
|
GPIO scl = 4;
|
|
} |