This repository has been archived on 2024-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
SummerSchool2-Controller/UML/can.uxf

225 lines
4.8 KiB
Plaintext
Raw Normal View History

2023-08-22 13:53:38 +00:00
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="15.0.0">
<zoom_level>15</zoom_level>
<element>
<id>UMLSpecialState</id>
<coordinates>
2023-08-22 15:51:19 +00:00
<x>450</x>
<y>150</y>
2023-08-22 13:53:38 +00:00
<w>30</w>
<h>30</h>
</coordinates>
<panel_attributes>type=initial</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLState</id>
<coordinates>
2023-08-22 15:51:19 +00:00
<x>390</x>
<y>240</y>
2023-08-22 13:53:38 +00:00
<w>150</w>
<h>60</h>
</coordinates>
<panel_attributes>STCA_WAIT</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
2023-08-22 15:51:19 +00:00
<x>450</x>
<y>165</y>
<w>120</w>
2023-08-22 13:53:38 +00:00
<h>105</h>
</coordinates>
<panel_attributes>lt=-&gt;
2023-08-22 15:51:19 +00:00
evCAinit
2023-08-22 13:53:38 +00:00
</panel_attributes>
<additional_attributes>10.0;10.0;10.0;50.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
2023-08-22 15:51:19 +00:00
<x>450</x>
<y>285</y>
<w>165</w>
2023-08-22 13:53:38 +00:00
<h>105</h>
</coordinates>
<panel_attributes>lt=-&gt;
2023-08-22 15:51:19 +00:00
evCAnewMsg</panel_attributes>
2023-08-22 13:53:38 +00:00
<additional_attributes>10.0;10.0;10.0;50.0</additional_attributes>
</element>
<element>
<id>UMLState</id>
<coordinates>
2023-08-22 15:51:19 +00:00
<x>315</x>
<y>360</y>
2023-08-22 13:53:38 +00:00
<w>285</w>
<h>105</h>
</coordinates>
<panel_attributes>STCA_READ
-
-.
/entry: processCan</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
2023-08-22 15:51:19 +00:00
<x>480</x>
<y>255</y>
2023-08-22 13:53:38 +00:00
<w>225</w>
<h>360</h>
</coordinates>
<panel_attributes>lt=-&gt;
m1=[queue empty]
</panel_attributes>
<additional_attributes>10.0;210.0;130.0;210.0;130.0;10.0;40.0;10.0</additional_attributes>
</element>
<element>
<id>UMLSpecialState</id>
<coordinates>
2023-08-22 15:51:19 +00:00
<x>435</x>
<y>540</y>
2023-08-22 13:53:38 +00:00
<w>60</w>
<h>60</h>
</coordinates>
<panel_attributes>type=decision</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
2023-08-22 15:51:19 +00:00
<x>450</x>
<y>450</y>
<w>135</w>
2023-08-22 13:53:38 +00:00
<h>120</h>
</coordinates>
<panel_attributes>lt=-&gt;
2023-08-22 15:51:19 +00:00
evCAdone</panel_attributes>
2023-08-22 13:53:38 +00:00
<additional_attributes>10.0;10.0;10.0;60.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
2023-08-22 15:51:19 +00:00
<x>210</x>
<y>375</y>
2023-08-22 13:53:38 +00:00
<w>255</w>
<h>240</h>
</coordinates>
<panel_attributes>lt=-&gt;
m1=[else]
</panel_attributes>
<additional_attributes>150.0;130.0;10.0;130.0;10.0;10.0;70.0;10.0</additional_attributes>
</element>
<element>
<id>UMLNote</id>
<coordinates>
2023-08-22 15:51:19 +00:00
<x>90</x>
<y>630</y>
2023-08-22 13:53:38 +00:00
<w>615</w>
<h>270</h>
</coordinates>
<panel_attributes>_*How to use*_
*In Factory_build: *
ECAN_SetRXBnInterruptHandler(CANINTERFACE_newMsg);
CANINTERFACE_onProcessCan(&amp;processCan);
*Somewhere:*
void processCan(uint32_t canId, uint32_t canData) {
.....
}</panel_attributes>
<additional_attributes/>
</element>
2023-08-22 15:51:19 +00:00
<element>
<id>Relation</id>
<coordinates>
<x>900</x>
<y>225</y>
<w>90</w>
<h>105</h>
</coordinates>
<panel_attributes>lt=-&gt;
evInit
</panel_attributes>
<additional_attributes>10.0;10.0;10.0;50.0</additional_attributes>
</element>
<element>
<id>UMLSpecialState</id>
<coordinates>
<x>900</x>
<y>210</y>
<w>30</w>
<h>30</h>
</coordinates>
<panel_attributes>type=initial</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLState</id>
<coordinates>
<x>840</x>
<y>300</y>
<w>150</w>
<h>60</h>
</coordinates>
<panel_attributes>STCS_WAIT</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLState</id>
<coordinates>
<x>810</x>
<y>420</y>
<w>210</w>
<h>90</h>
</coordinates>
<panel_attributes>STCS_SEND
--
-.
/entry sendCan</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>900</x>
<y>345</y>
<w>135</w>
<h>105</h>
</coordinates>
<panel_attributes>lt=-&gt;
evCSsend
</panel_attributes>
<additional_attributes>10.0;10.0;10.0;50.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>900</x>
<y>315</y>
<w>270</w>
<h>270</h>
</coordinates>
<panel_attributes>lt=-&gt;
evCSdone
</panel_attributes>
<additional_attributes>10.0;130.0;10.0;160.0;100.0;160.0;100.0;10.0;60.0;10.0</additional_attributes>
</element>
<element>
<id>UMLNote</id>
<coordinates>
<x>765</x>
<y>630</y>
<w>645</w>
<h>150</h>
</coordinates>
<panel_attributes>_*How to use*_
CANSENDER_send(uint32_t id, uint32_t data);
or
CANSENDER_send(CANSENDER *me, uint8_t id, uint32_t data);</panel_attributes>
<additional_attributes/>
</element>
2023-08-22 13:53:38 +00:00
</diagram>