mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 11:36:59 +03:00
29 lines
790 B
Protocol Buffer
29 lines
790 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package sys.dac.extra;
|
|
import "DAC.proto";
|
|
import "GPIO.proto";
|
|
import "I2CBus.proto";
|
|
import "DacControlSet.proto";
|
|
import "customoptions.proto";
|
|
import "nanopb.proto";
|
|
option (nanopb_fileopt).enum_to_string = true;
|
|
|
|
message config {
|
|
option (nanopb_msgopt).packed_struct = true;
|
|
option (nanopb_msgopt).msgid = 80008;
|
|
int32 bck = 1 [(cust_field).v_int32=-1];
|
|
int32 ws = 2 [(cust_field).v_int32=-1];
|
|
int32 dout = 3 [(cust_field).v_int32=-1];
|
|
MCK mck = 4;
|
|
gpio.pinmute = 5 [(cust_field).v_msg='{"pin":-1,"level":"LOW"}'];
|
|
Models model = 6;
|
|
I2CBus i2c = 7;
|
|
dac.control.Set daccontrolset = 8;
|
|
bool jack_mutes_amp = 9;
|
|
uint32 addr = 10;
|
|
int32 din = 11 [(cust_field).v_int32=-1];
|
|
int32 dummy1 = 20;
|
|
int64 dummy2 = 21;
|
|
gpio.pindummy3 = 22;
|
|
} |