first commit

This commit is contained in:
2025-05-27 16:03:52 +08:00
commit 2d22d07f60
223 changed files with 5842 additions and 0 deletions

View File

@@ -0,0 +1,134 @@
<mxfile host="Electron" modified="2023-06-10T13:51:33.323Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/21.3.7 Chrome/112.0.5615.204 Electron/24.5.0 Safari/537.36" etag="bxQyWASsNLXJ_UbsnA_H" version="21.3.7" type="device">
<diagram name="第 1 页" id="3iH2U7M1F-pdt02PPPwc">
<mxGraphModel dx="472" dy="827" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="LjnWuoztt-sNhJGu1yFB-1" target="mn3Y7Vkx2hNIEmu3ndRl-4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LjnWuoztt-sNhJGu1yFB-1" value="程序开始" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="360" y="80" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="LjnWuoztt-sNhJGu1yFB-2" target="mn3Y7Vkx2hNIEmu3ndRl-1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LjnWuoztt-sNhJGu1yFB-2" value="保存旧的中断向量" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="360" y="240" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="LjnWuoztt-sNhJGu1yFB-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="LjnWuoztt-sNhJGu1yFB-3" target="LjnWuoztt-sNhJGu1yFB-4" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LjnWuoztt-sNhJGu1yFB-3" value="设置中断屏蔽" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="360" y="400" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="LjnWuoztt-sNhJGu1yFB-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="LjnWuoztt-sNhJGu1yFB-4" target="LjnWuoztt-sNhJGu1yFB-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LjnWuoztt-sNhJGu1yFB-4" value="初始化8255芯片设置全输出" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="360" y="480" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="LjnWuoztt-sNhJGu1yFB-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="LjnWuoztt-sNhJGu1yFB-5" target="LjnWuoztt-sNhJGu1yFB-6" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LjnWuoztt-sNhJGu1yFB-5" value="启动ADC0809进行转换" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="360" y="560" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="LjnWuoztt-sNhJGu1yFB-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="LjnWuoztt-sNhJGu1yFB-6" target="LjnWuoztt-sNhJGu1yFB-7" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LjnWuoztt-sNhJGu1yFB-6" value="进入延时子程序,延时一小段时间" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="360" y="640" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="LjnWuoztt-sNhJGu1yFB-7" target="mn3Y7Vkx2hNIEmu3ndRl-6">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="LjnWuoztt-sNhJGu1yFB-7" value="使用ROR指令AL向右移一位" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="360" y="720" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mn3Y7Vkx2hNIEmu3ndRl-1" target="LjnWuoztt-sNhJGu1yFB-3">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-1" value="设置新的终端向量" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="320" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mn3Y7Vkx2hNIEmu3ndRl-4" target="LjnWuoztt-sNhJGu1yFB-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-4" value="初始化" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="360" y="160" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mn3Y7Vkx2hNIEmu3ndRl-6" target="mn3Y7Vkx2hNIEmu3ndRl-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-6" value="开始转换" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="560" y="160" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mn3Y7Vkx2hNIEmu3ndRl-8" target="mn3Y7Vkx2hNIEmu3ndRl-9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-8" value="设置转换次数" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="560" y="240" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-17" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mn3Y7Vkx2hNIEmu3ndRl-9" target="mn3Y7Vkx2hNIEmu3ndRl-11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-9" value="设置转换成功标志,置零" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="560" y="320" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mn3Y7Vkx2hNIEmu3ndRl-10" target="mn3Y7Vkx2hNIEmu3ndRl-12">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-10" value="延时" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="560" y="480" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-18" value="Y" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mn3Y7Vkx2hNIEmu3ndRl-11" target="mn3Y7Vkx2hNIEmu3ndRl-10">
<mxGeometry x="-0.5" y="10" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-29" value="N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="mn3Y7Vkx2hNIEmu3ndRl-11">
<mxGeometry x="-0.8995" y="10" relative="1" as="geometry">
<mxPoint x="620" y="400" as="targetPoint" />
<Array as="points">
<mxPoint x="720" y="420" />
<mxPoint x="720" y="380" />
<mxPoint x="621" y="380" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-11" value="判断是否转换成功" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="560" y="400" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mn3Y7Vkx2hNIEmu3ndRl-12" target="mn3Y7Vkx2hNIEmu3ndRl-13">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-12" value="重新启动ACD0809进行转换" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="560" y="560" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-22" value="Y" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mn3Y7Vkx2hNIEmu3ndRl-13" target="mn3Y7Vkx2hNIEmu3ndRl-21">
<mxGeometry x="-0.5" y="10" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-28" value="N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="mn3Y7Vkx2hNIEmu3ndRl-13" target="mn3Y7Vkx2hNIEmu3ndRl-11">
<mxGeometry x="-0.9545" y="10" relative="1" as="geometry">
<Array as="points">
<mxPoint x="720" y="660" />
<mxPoint x="720" y="380" />
<mxPoint x="620" y="380" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-13" value="判断转换次数是否用尽" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="560" y="640" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="mn3Y7Vkx2hNIEmu3ndRl-21" value="程序结束" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="560" y="720" width="120" height="40" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>