-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChipControl_Architecture.drawio
More file actions
127 lines (127 loc) · 15.7 KB
/
Copy pathChipControl_Architecture.drawio
File metadata and controls
127 lines (127 loc) · 15.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<mxfile host="65bd71144e">
<diagram name="Page-1" id="YSngG0qGiOhu6M7bXhyd">
<mxGraphModel dx="4084" dy="2234" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="uFqVLY0AYo3u75sG4OVG-23" value="<div style="line-height: 150%; font-size: 16px;"><span style="background-color: initial; color: rgb(255, 255, 255); font-size: 36px;">Target Device</span><br style="font-size: 16px;"></div>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#003366;strokeColor=#6c8ebf;gradientColor=none;align=left;arcSize=18;fontSize=16;spacingTop=-250;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="-280" y="-420" width="1380" height="870" as="geometry"/>
</mxCell>
<mxCell id="AsTAmV6llMDFFiS0ubSx-2" value="<div style="line-height: 150%; font-size: 16px;"><span style="background-color: initial; color: rgb(255, 255, 255); font-size: 16px;">ChipControl&nbsp;</span><br style="font-size: 16px;"></div>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#003300;strokeColor=#6c8ebf;gradientColor=none;align=left;arcSize=18;fontSize=16;spacingTop=-250;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="-202.5" y="-90" width="1252.5" height="370" as="geometry"/>
</mxCell>
<mxCell id="AsTAmV6llMDFFiS0ubSx-3" value="<font color="#ffffff" style="font-size: 16px;">LTC 2943 Device Driver</font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#4D4D4D;strokeColor=#6c8ebf;gradientColor=none;align=left;arcSize=18;fontSize=16;spacingTop=-79;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="310" y="170" width="190" height="110" as="geometry"/>
</mxCell>
<mxCell id="AsTAmV6llMDFFiS0ubSx-7" 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;startArrow=classic;startFill=1;strokeWidth=4;fontSize=42;fontStyle=1" parent="1" source="AsTAmV6llMDFFiS0ubSx-4" target="uFqVLY0AYo3u75sG4OVG-24" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="AsTAmV6llMDFFiS0ubSx-8" value="<font size="1" style=""><b style="font-size: 17px;">I2C Commands and Telemetry</b></font>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="AsTAmV6llMDFFiS0ubSx-7" vertex="1" connectable="0">
<mxGeometry x="-0.1829" y="4" relative="1" as="geometry">
<mxPoint x="-4" y="5" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="AsTAmV6llMDFFiS0ubSx-4" value="<font color="#ffffff">Device I2C Driver</font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#CCCCCC;strokeColor=#6c8ebf;gradientColor=none;align=left;arcSize=18;" parent="1" vertex="1">
<mxGeometry x="350" y="240" width="110" height="40" as="geometry"/>
</mxCell>
<mxCell id="AsTAmV6llMDFFiS0ubSx-5" value="<font color="#ffffff" style="font-size: 16px;">LTC 2943</font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e51400;strokeColor=#B20000;align=center;arcSize=18;fontColor=#ffffff;fontSize=16;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="287.5" y="590" width="235" height="150" as="geometry"/>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-9" 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;endArrow=classic;endFill=1;startArrow=classic;startFill=1;strokeWidth=5;strokeColor=#FFFFFF;" parent="1" source="AsTAmV6llMDFFiS0ubSx-9" target="AsTAmV6llMDFFiS0ubSx-3" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="AsTAmV6llMDFFiS0ubSx-9" value="<font color="#ffffff" style="font-size: 13px;"><b style="font-size: 13px;">ChipControl_Init</b>()<br style="font-size: 13px;"><br style="font-size: 13px;">Initialize LTC 2943 Device Driver</font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#004C99;strokeColor=#FFFFFF;gradientColor=none;align=left;arcSize=18;strokeWidth=3;fontSize=13;" parent="1" vertex="1">
<mxGeometry x="-80" y="-90" width="170" height="90" as="geometry"/>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-3" value="<div style="line-height: 150%; font-size: 16px;"><span style="background-color: initial; color: rgb(255, 255, 255); font-size: 16px;">Application Code</span><br style="font-size: 16px;"></div>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#003300;strokeColor=#6c8ebf;gradientColor=none;align=left;arcSize=18;spacingTop=-65;fontSize=16;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="315" y="-360" width="180" height="120" as="geometry"/>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-5" value="<font color="#ffffff" style="font-size: 13px;"><b style="font-size: 13px;">ChipControl_Mode</b>()<br style="font-size: 13px;"><br style="font-size: 13px;">Change the LTC ADC Mode<br style="font-size: 13px;"></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#004C99;strokeColor=#FFFFFF;gradientColor=none;align=left;arcSize=18;strokeWidth=3;fontSize=13;" parent="1" vertex="1">
<mxGeometry x="110" y="-90" width="170" height="90" as="geometry"/>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-6" value="<font color="#ffffff" style="font-size: 13px;"><b style="font-size: 13px;">ChipControl_Temperature_Alert</b>()<br style="font-size: 13px;"><br style="font-size: 13px;">Change the LTC ADC Mode<br style="font-size: 13px;"></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#004C99;strokeColor=#FFFFFF;gradientColor=none;align=left;arcSize=18;strokeWidth=3;fontSize=13;" parent="1" vertex="1">
<mxGeometry x="297.5" y="-90" width="215" height="90" as="geometry"/>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-7" value="<font color="#ffffff" style="font-size: 13px;"><b style="font-size: 13px;">ChipControl_Get_Charge_Status</b>()<br style="font-size: 13px;"><br style="font-size: 13px;">Check that charge is within thresholds<br style="font-size: 13px;"></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#004C99;strokeColor=#FFFFFF;gradientColor=none;align=left;arcSize=18;strokeWidth=3;fontSize=13;" parent="1" vertex="1">
<mxGeometry x="790" y="-90" width="220" height="90" as="geometry"/>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-8" value="<font color="#ffffff" style="font-size: 13px;"><b style="font-size: 13px;">ChipControl_Set_Charge_Thresholds</b>()<br style="font-size: 13px;"><br style="font-size: 13px;">Set the Charge Thresholds<br style="font-size: 13px;"></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#004C99;strokeColor=#FFFFFF;gradientColor=none;align=left;arcSize=18;strokeWidth=3;fontSize=13;" parent="1" vertex="1">
<mxGeometry x="530" y="-90" width="250" height="90" as="geometry"/>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;endArrow=classic;endFill=1;startArrow=classic;startFill=1;strokeWidth=5;strokeColor=#FFFFFF;" parent="1" source="uFqVLY0AYo3u75sG4OVG-5" target="AsTAmV6llMDFFiS0ubSx-3" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="15" y="-10" as="sourcePoint"/>
<mxPoint x="320" y="235" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-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;endArrow=classic;endFill=1;startArrow=classic;startFill=1;strokeWidth=5;strokeColor=#FFFFFF;" parent="1" source="uFqVLY0AYo3u75sG4OVG-6" target="AsTAmV6llMDFFiS0ubSx-3" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="25" as="sourcePoint"/>
<mxPoint x="330" y="245" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=classic;endFill=1;startArrow=classic;startFill=1;strokeWidth=5;strokeColor=#FFFFFF;" parent="1" source="AsTAmV6llMDFFiS0ubSx-3" target="uFqVLY0AYo3u75sG4OVG-8" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="35" y="10" as="sourcePoint"/>
<mxPoint x="340" y="255" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;endArrow=classic;endFill=1;startArrow=classic;startFill=1;strokeWidth=5;strokeColor=#FFFFFF;" parent="1" source="uFqVLY0AYo3u75sG4OVG-7" target="AsTAmV6llMDFFiS0ubSx-3" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="45" y="20" as="sourcePoint"/>
<mxPoint x="350" y="265" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-24" value="<font color="#ffffff" style="font-size: 17px;">I2C Peripheral</font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#6666FF;strokeColor=#6666FF;gradientColor=none;align=center;arcSize=18;fontStyle=1;fontSize=17;" parent="1" vertex="1">
<mxGeometry x="300" y="380" width="210" height="70" as="geometry"/>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;startArrow=classic;startFill=1;strokeWidth=4;fontSize=42;fontStyle=1" parent="1" source="uFqVLY0AYo3u75sG4OVG-24" target="AsTAmV6llMDFFiS0ubSx-5" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="415" y="460" as="sourcePoint"/>
<mxPoint x="415" y="560" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-27" value="<font size="1" style=""><b style="font-size: 17px;">I2C Commands and Telemetry</b></font>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="uFqVLY0AYo3u75sG4OVG-26" vertex="1" connectable="0">
<mxGeometry x="-0.1829" y="4" relative="1" as="geometry">
<mxPoint x="-4" y="5" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;startArrow=classic;startFill=1;strokeWidth=4;fontSize=42;fontStyle=1;dashed=1;" edge="1" parent="1" source="uFqVLY0AYo3u75sG4OVG-3" target="uFqVLY0AYo3u75sG4OVG-5">
<mxGeometry relative="1" as="geometry">
<mxPoint x="30" y="-310" as="sourcePoint"/>
<mxPoint x="30" y="-160" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;startArrow=classic;startFill=1;strokeWidth=4;fontSize=42;fontStyle=1;dashed=1;" edge="1" parent="1" source="uFqVLY0AYo3u75sG4OVG-3" target="AsTAmV6llMDFFiS0ubSx-9">
<mxGeometry relative="1" as="geometry">
<mxPoint x="415" y="-230" as="sourcePoint"/>
<mxPoint x="205" y="-80" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;startArrow=classic;startFill=1;strokeWidth=4;fontSize=42;fontStyle=1;dashed=1;" edge="1" parent="1" source="uFqVLY0AYo3u75sG4OVG-3" target="uFqVLY0AYo3u75sG4OVG-8">
<mxGeometry relative="1" as="geometry">
<mxPoint x="425" y="-220" as="sourcePoint"/>
<mxPoint x="215" y="-70" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;startArrow=classic;startFill=1;strokeWidth=4;fontSize=42;fontStyle=1;dashed=1;" edge="1" parent="1" source="uFqVLY0AYo3u75sG4OVG-3" target="uFqVLY0AYo3u75sG4OVG-7">
<mxGeometry relative="1" as="geometry">
<mxPoint x="435" y="-210" as="sourcePoint"/>
<mxPoint x="225" y="-60" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-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;startArrow=classic;startFill=1;strokeWidth=4;fontSize=42;fontStyle=1;dashed=1;" parent="1" source="uFqVLY0AYo3u75sG4OVG-3" target="uFqVLY0AYo3u75sG4OVG-6" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="850" y="-370" as="sourcePoint"/>
<mxPoint x="850" y="-214" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="uFqVLY0AYo3u75sG4OVG-15" value="<font size="1" style=""><b style="font-size: 17px;">API Calls and Responses</b></font>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="uFqVLY0AYo3u75sG4OVG-14" vertex="1" connectable="0">
<mxGeometry x="-0.1829" y="4" relative="1" as="geometry">
<mxPoint x="-4" y="-21" as="offset"/>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>