2020-03-11 12:45:02 -04:00
|
|
|
#Diagram of TWAI controller signal lines
|
2017-12-18 07:32:29 -05:00
|
|
|
|
2020-03-11 12:45:02 -04:00
|
|
|
blockdiag controller_signals_diagram {
|
2020-11-10 02:40:01 -05:00
|
|
|
|
2017-12-18 07:32:29 -05:00
|
|
|
orientation = portrait;
|
|
|
|
span_width = 80;
|
|
|
|
|
|
|
|
#Column 1 nodes
|
2020-03-11 12:45:02 -04:00
|
|
|
twai[label = "TWAI Controller", fontsize = 15, shape = roundedbox];
|
2017-12-18 07:32:29 -05:00
|
|
|
|
|
|
|
#Column 2 nodes
|
|
|
|
tx[label = "TX", shape = endpoint];
|
|
|
|
rx[label = "RX", shape = endpoint];
|
|
|
|
bus_off[label = "BUS-OFF", shape = endpoint];
|
|
|
|
clkout[label = "CLKOUT", shape = endpoint];
|
|
|
|
|
|
|
|
#Column 3 nodes
|
|
|
|
hide1 [shape = none];
|
|
|
|
hide2 [shape = none];
|
|
|
|
hide3 [shape = none];
|
|
|
|
hide4 [shape = none];
|
|
|
|
|
|
|
|
group {
|
|
|
|
orientation = portrait;
|
|
|
|
color = none;
|
|
|
|
|
|
|
|
#Group column 1 nodes vertically
|
2020-03-11 12:45:02 -04:00
|
|
|
twai;
|
2017-12-18 07:32:29 -05:00
|
|
|
}
|
|
|
|
group {
|
|
|
|
orientation = portrait;
|
|
|
|
color = none;
|
|
|
|
|
|
|
|
#Group column 2 nodes vertically
|
|
|
|
tx; rx; bus_off; clkout;
|
|
|
|
}
|
|
|
|
group {
|
|
|
|
orientation = portrait;
|
|
|
|
color = none;
|
|
|
|
label = "GPIO Matrix";
|
|
|
|
fontsize = 20;
|
|
|
|
shape = line;
|
|
|
|
|
|
|
|
#Group column 3 nodes vertically
|
|
|
|
hide1; hide2; hide3; hide4;
|
|
|
|
}
|
|
|
|
|
2020-03-11 12:45:02 -04:00
|
|
|
twai -> tx [folded];
|
|
|
|
twai -> rx [folded, dir = none];
|
|
|
|
twai -> bus_off [folded];
|
|
|
|
twai -> clkout [folded];
|
2017-12-18 07:32:29 -05:00
|
|
|
|
|
|
|
tx -> hide1 [folded];
|
2020-03-11 12:45:02 -04:00
|
|
|
rx <- hide2 [folded];
|
2017-12-18 07:32:29 -05:00
|
|
|
bus_off -> hide3 [folded, label = "Optional"];
|
|
|
|
clkout -> hide4 [folded, label = "Optional"];
|
2020-11-10 02:40:01 -05:00
|
|
|
}
|