mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-11 14:07:11 +03:00
Start of 5.X work
This commit is contained in:
29
components/platform_config/test/DAC_test_extra.proto
Normal file
29
components/platform_config/test/DAC_test_extra.proto
Normal file
@@ -0,0 +1,29 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user