Files
DTU-HMI/docs/绘图/.$SPI_Waveform_CPHA0.drawio.bkp

236 lines
15 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="app.diagrams.net" modified="2024-05-25T00:00:00.000Z" agent="AI" version="21.0.0" type="device">
<diagram name="SPI Waveform" id="spi_waveform">
<mxGraphModel dx="1000" dy="600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1000" pageHeight="600" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="grid" value="" style="points=[];gridColor=#e0e0e0;gridSize=20;spacingTop=20;spacingLeft=20;spacingBottom=20;spacingRight=20;html=1;" vertex="1" parent="1">
<mxGeometry x="0" y="0" width="1000" height="600" as="geometry"/>
</mxCell>
<mxCell id="title" value="SPI 全双工传输 (模式 0: CPOL=0, CPHA=0)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="300" y="20" width="400" height="30" as="geometry"/>
</mxCell>
<mxCell id="msb" value="MSB" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#666666;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="130" y="60" width="40" height="20" as="geometry"/>
</mxCell>
<mxCell id="lsb" value="LSB" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#666666;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="880" y="60" width="40" height="20" as="geometry"/>
</mxCell>
<mxCell id="label_cs" value="CS" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=14;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="20" y="85" width="50" height="20" as="geometry"/>
</mxCell>
<mxCell id="label_sclk" value="SCLK" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=14;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="20" y="185" width="50" height="20" as="geometry"/>
</mxCell>
<mxCell id="label_mosi" value="MOSI" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=14;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="20" y="275" width="50" height="20" as="geometry"/>
</mxCell>
<mxCell id="label_miso" value="MISO" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=14;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="20" y="365" width="50" height="20" as="geometry"/>
</mxCell>
<mxCell id="vl_150" value="" style="endArrow=none;html=1;strokeWidth=1;strokeColor=#CCCCCC;dashed=1;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="150" y="180" as="sourcePoint"/>
<mxPoint x="150" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="vl_250" value="" style="endArrow=none;html=1;strokeWidth=1;strokeColor=#CCCCCC;dashed=1;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="250" y="180" as="sourcePoint"/>
<mxPoint x="250" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="vl_350" value="" style="endArrow=none;html=1;strokeWidth=1;strokeColor=#CCCCCC;dashed=1;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="350" y="180" as="sourcePoint"/>
<mxPoint x="350" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="vl_450" value="" style="endArrow=none;html=1;strokeWidth=1;strokeColor=#CCCCCC;dashed=1;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="450" y="180" as="sourcePoint"/>
<mxPoint x="450" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="vl_550" value="" style="endArrow=none;html=1;strokeWidth=1;strokeColor=#CCCCCC;dashed=1;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="550" y="180" as="sourcePoint"/>
<mxPoint x="550" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="vl_650" value="" style="endArrow=none;html=1;strokeWidth=1;strokeColor=#CCCCCC;dashed=1;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="650" y="180" as="sourcePoint"/>
<mxPoint x="650" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="vl_750" value="" style="endArrow=none;html=1;strokeWidth=1;strokeColor=#CCCCCC;dashed=1;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="750" y="180" as="sourcePoint"/>
<mxPoint x="750" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="vl_850" value="" style="endArrow=none;html=1;strokeWidth=1;strokeColor=#CCCCCC;dashed=1;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="850" y="180" as="sourcePoint"/>
<mxPoint x="850" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="cs" value="" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#FF5722;rounded=0;endArrow=none;" edge="1" parent="1">
<mxGeometry relative="0" as="geometry">
<mxPoint x="80" y="80" as="sourcePoint"/>
<mxPoint x="920" y="80" as="targetPoint"/>
<Array as="points">
<mxPoint x="90" y="80"/>
<mxPoint x="90" y="110"/>
<mxPoint x="910" y="110"/>
<mxPoint x="910" y="80"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="sclk" value="" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#2196F3;rounded=0;endArrow=none;" edge="1" parent="1">
<mxGeometry relative="0" as="geometry">
<mxPoint x="80" y="210" as="sourcePoint"/>
<mxPoint x="920" y="210" as="targetPoint"/>
<Array as="points">
<mxPoint x="100" y="210"/>
<mxPoint x="150" y="210"/>
<mxPoint x="150" y="180"/>
<mxPoint x="190" y="180"/>
<mxPoint x="190" y="210"/>
<mxPoint x="250" y="210"/>
<mxPoint x="250" y="180"/>
<mxPoint x="290" y="180"/>
<mxPoint x="290" y="210"/>
<mxPoint x="350" y="210"/>
<mxPoint x="350" y="180"/>
<mxPoint x="390" y="180"/>
<mxPoint x="390" y="210"/>
<mxPoint x="450" y="210"/>
<mxPoint x="450" y="180"/>
<mxPoint x="490" y="180"/>
<mxPoint x="490" y="210"/>
<mxPoint x="550" y="210"/>
<mxPoint x="550" y="180"/>
<mxPoint x="590" y="180"/>
<mxPoint x="590" y="210"/>
<mxPoint x="650" y="210"/>
<mxPoint x="650" y="180"/>
<mxPoint x="690" y="180"/>
<mxPoint x="690" y="210"/>
<mxPoint x="750" y="210"/>
<mxPoint x="750" y="180"/>
<mxPoint x="790" y="180"/>
<mxPoint x="790" y="210"/>
<mxPoint x="850" y="210"/>
<mxPoint x="850" y="180"/>
<mxPoint x="890" y="180"/>
<mxPoint x="890" y="210"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="mosi" value="" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#4CAF50;rounded=0;endArrow=none;" edge="1" parent="1">
<mxGeometry relative="0" as="geometry">
<mxPoint x="80" y="310" as="sourcePoint"/>
<mxPoint x="920" y="310" as="targetPoint"/>
<Array as="points">
<mxPoint x="100" y="310"/>
<mxPoint x="190" y="310"/>
<mxPoint x="190" y="280"/>
<mxPoint x="290" y="280"/>
<mxPoint x="290" y="310"/>
<mxPoint x="390" y="310"/>
<mxPoint x="390" y="280"/>
<mxPoint x="490" y="280"/>
<mxPoint x="590" y="280"/>
<mxPoint x="590" y="310"/>
<mxPoint x="690" y="310"/>
<mxPoint x="690" y="280"/>
<mxPoint x="790" y="280"/>
<mxPoint x="790" y="310"/>
<mxPoint x="890" y="310"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="miso" value="" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#9C27B0;rounded=0;endArrow=none;" edge="1" parent="1">
<mxGeometry relative="0" as="geometry">
<mxPoint x="80" y="380" as="sourcePoint"/>
<mxPoint x="920" y="380" as="targetPoint"/>
<Array as="points">
<mxPoint x="100" y="380"/>
<mxPoint x="190" y="380"/>
<mxPoint x="190" y="410"/>
<mxPoint x="290" y="410"/>
<mxPoint x="290" y="380"/>
<mxPoint x="390" y="380"/>
<mxPoint x="390" y="410"/>
<mxPoint x="490" y="410"/>
<mxPoint x="590" y="410"/>
<mxPoint x="590" y="380"/>
<mxPoint x="690" y="380"/>
<mxPoint x="690" y="410"/>
<mxPoint x="790" y="410"/>
<mxPoint x="790" y="380"/>
<mxPoint x="890" y="380"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="m0" value="0" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#4CAF50;" vertex="1" parent="1">
<mxGeometry x="145" y="255" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="m1" value="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#4CAF50;" vertex="1" parent="1">
<mxGeometry x="240" y="255" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="m2" value="0" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#4CAF50;" vertex="1" parent="1">
<mxGeometry x="340" y="255" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="m3" value="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#4CAF50;" vertex="1" parent="1">
<mxGeometry x="440" y="255" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="m4" value="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#4CAF50;" vertex="1" parent="1">
<mxGeometry x="540" y="255" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="m5" value="0" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#4CAF50;" vertex="1" parent="1">
<mxGeometry x="640" y="255" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="m6" value="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#4CAF50;" vertex="1" parent="1">
<mxGeometry x="740" y="255" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="m7" value="0" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#4CAF50;" vertex="1" parent="1">
<mxGeometry x="840" y="255" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="s0" value="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#9C27B0;" vertex="1" parent="1">
<mxGeometry x="145" y="355" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="s1" value="0" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#9C27B0;" vertex="1" parent="1">
<mxGeometry x="240" y="355" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="s2" value="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#9C27B0;" vertex="1" parent="1">
<mxGeometry x="340" y="355" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="s3" value="0" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#9C27B0;" vertex="1" parent="1">
<mxGeometry x="440" y="355" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="s4" value="0" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#9C27B0;" vertex="1" parent="1">
<mxGeometry x="540" y="355" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="s5" value="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#9C27B0;" vertex="1" parent="1">
<mxGeometry x="640" y="355" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="s6" value="0" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#9C27B0;" vertex="1" parent="1">
<mxGeometry x="740" y="355" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="s7" value="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontColor=#9C27B0;" vertex="1" parent="1">
<mxGeometry x="840" y="355" width="20" height="20" as="geometry"/>
</mxCell>
<mxCell id="hex_mosi" value="0x5A" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=14;fontStyle=1;fontColor=#4CAF50;" vertex="1" parent="1">
<mxGeometry x="500" y="235" width="80" height="20" as="geometry"/>
</mxCell>
<mxCell id="hex_miso" value="0xA5" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=14;fontStyle=1;fontColor=#9C27B0;" vertex="1" parent="1">
<mxGeometry x="500" y="425" width="80" height="20" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>