/*
do not edit:
auto-generated by github.com/seamia/protodot
*/
digraph protodot {
/* package: platform */
/* source: C:/Users/sle11/Documents/VSCode/squeezelite-esp32/protobuf/proto/DAC.proto */
/* selection: * */
rankdir=LR;
label="platform";
tooltip="platform";
bgcolor="transparent"
node [
shape=plaintext
fontsize=10
fontname="Ubuntu"
];
/* ------ nodes ------ */
Node_Ja_114 [shape=plaintext tooltip="platform.RegisterAction" label=<
| RegisterAction |
| 1 | reg | int32 |
| 2 | val | int32 |
| 3 | mode | Mode |
>];
Node_Ja_117 [shape=plaintext tooltip="platform.DelayAction" label=<>];
Node_Ja_110 [shape=plaintext tooltip="platform.DacControlSet" label=<| DacControlSet |
| [...] | 1 | commands | ControlCommand |
>];
Node_Ja_119 [shape=plaintext tooltip="I2CPortEnum" label=<| enum I2CPortEnum |
| UNSPECIFIED_PORT | 0 |
| I2CPort0 | 1 |
| I2CPort1 | 2 |
>];
Node_Ja_116 [shape=plaintext tooltip="platform.GpioAction" label=<| GpioAction |
| 1 | gpio | int32 |
| 2 | level | GpioActionLevel |
>];
Node_Ja_104 [shape=plaintext tooltip="platform.GPIO" label=<>];
Node_Ja_120 [shape=plaintext tooltip="platform.I2CBus" label=<| I2CBus |
| 1 | port | I2CPortEnum |
| 2 | speed | int32 |
| 3 | sda | GPIO |
| 4 | scl | GPIO |
>];
Node_Ja_111 [shape=plaintext tooltip="platform.ControlCommand" label=<| ControlCommand |
| 1 | type | ControlCommandType |
| [...] | 2 | items | ControlItem |
>];
Node_Ja_115 [shape=plaintext tooltip="GpioActionLevel" label=<| enum GpioActionLevel |
| ACTION_LEVEL_UNDEFINED | 0 |
| ACTION_LEVEL_1 | 1 |
| ACTION_LEVEL_0 | 2 |
>];
Node_Ja_112 [shape=plaintext tooltip="ControlCommandType" label=<| enum ControlCommandType |
| INIT | 0 |
| POWER_ON | 1 |
| POWER_OFF | 2 |
| SPEAKER_ON | 3 |
| SPEAKER_OFF | 4 |
| HEADSET_ON | 5 |
| HEADSET_OFF | 6 |
>];
Node_Ja_118 [shape=plaintext tooltip="Mode" label=<| enum Mode |
| REG_MODE_NOTHING | 0 |
| REG_MODE_OR | 1 |
| REG_MODE_AND | 2 |
>];
Node_Ja_123 [shape=plaintext tooltip="platform.DAC" label=<| DAC |
| 1 | bck | GPIO |
| 2 | ws | GPIO |
| 3 | dout | GPIO |
| 4 | mck | MCKEnum |
| 5 | mute | GPIO |
| 6 | model | DACModelEnum |
| 7 | i2c | I2CBus |
| 8 | daccontrolset | DacControlSet |
>];
Node_Ja_121 [shape=plaintext tooltip="DACModelEnum" label=<| enum DACModelEnum |
| UNSPECIFIED_MODEL | 0 |
| TAS57xx | 1 |
| TAS5713 | 2 |
| AC101 | 3 |
| WM8978 | 4 |
| ES8388 | 5 |
| I2S | 6 |
>];
Node_Ja_122 [shape=plaintext tooltip="MCKEnum" label=<| enum MCKEnum |
| UNSPECIFIED_MCK | 0 |
| MCK0 | 1 |
| MCK1 | 2 |
| MCK2 | 3 |
>];
Node_Ja_113 [shape=plaintext tooltip="platform.ControlItem" label=<| ControlItem |
| item_type |
| 1 | reg_action | RegisterAction |
| 2 | gpio_action | GpioAction |
| 3 | delay_action | DelayAction |
|
>];
/* ------ connections ------ */
Node_Ja_114:pomode:e -> Node_Ja_118 [color="#008000" tooltip="Ja_114 --> Ja_118"];
Node_Ja_123:pomute:e -> Node_Ja_104:header [color="#000000" tooltip="Ja_123 --> Ja_104"];
Node_Ja_123:pomodel:e -> Node_Ja_121 [color="#008000" tooltip="Ja_123 --> Ja_121"];
Node_Ja_123:pomck:e -> Node_Ja_122 [color="#008000" tooltip="Ja_123 --> Ja_122"];
Node_Ja_110:pocommands:e -> Node_Ja_111:header [color="#000000" tooltip="Ja_110 --> Ja_111"];
Node_Ja_120:poport:e -> Node_Ja_119 [color="#008000" tooltip="Ja_120 --> Ja_119"];
Node_Ja_113:poreg_action:e -> Node_Ja_114:header [color="#000000" tooltip="Ja_113 --> Ja_114"];
Node_Ja_120:posda:e -> Node_Ja_104:header [color="#000000" tooltip="Ja_120 --> Ja_104"];
Node_Ja_111:poitems:e -> Node_Ja_113:header [color="#000000" tooltip="Ja_111 --> Ja_113"];
Node_Ja_113:pogpio_action:e -> Node_Ja_116:header [color="#000000" tooltip="Ja_113 --> Ja_116"];
Node_Ja_113:podelay_action:e -> Node_Ja_117:header [color="#000000" tooltip="Ja_113 --> Ja_117"];
Node_Ja_116:polevel:e -> Node_Ja_115 [color="#008000" tooltip="Ja_116 --> Ja_115"];
Node_Ja_123:pobck:e -> Node_Ja_104:header [color="#000000" tooltip="Ja_123 --> Ja_104"];
Node_Ja_123:podaccontrolset:e -> Node_Ja_110:header [color="#000000" tooltip="Ja_123 --> Ja_110"];
Node_Ja_123:podout:e -> Node_Ja_104:header [color="#000000" tooltip="Ja_123 --> Ja_104"];
Node_Ja_123:poi2c:e -> Node_Ja_120:header [color="#000000" tooltip="Ja_123 --> Ja_120"];
Node_Ja_120:poscl:e -> Node_Ja_104:header [color="#000000" tooltip="Ja_120 --> Ja_104"];
Node_Ja_123:pows:e -> Node_Ja_104:header [color="#000000" tooltip="Ja_123 --> Ja_104"];
Node_Ja_111:potype:e -> Node_Ja_112 [color="#008000" tooltip="Ja_111 --> Ja_112"];
/* generated by github.com/seamia/protodot on Friday, 24-Nov-23 14:36:16 EST */
}