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

135 lines
2.9 KiB
XML

<?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>
<x>465</x>
<y>165</y>
<w>30</w>
<h>30</h>
</coordinates>
<panel_attributes>type=initial</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLState</id>
<coordinates>
<x>405</x>
<y>255</y>
<w>150</w>
<h>60</h>
</coordinates>
<panel_attributes>STCA_WAIT</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>465</x>
<y>180</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>Relation</id>
<coordinates>
<x>465</x>
<y>300</y>
<w>180</w>
<h>105</h>
</coordinates>
<panel_attributes>lt=-&gt;
evCaNewMsg</panel_attributes>
<additional_attributes>10.0;10.0;10.0;50.0</additional_attributes>
</element>
<element>
<id>UMLState</id>
<coordinates>
<x>330</x>
<y>375</y>
<w>285</w>
<h>105</h>
</coordinates>
<panel_attributes>STCA_READ
-
-.
/entry: processCan</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>495</x>
<y>270</y>
<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>
<x>450</x>
<y>555</y>
<w>60</w>
<h>60</h>
</coordinates>
<panel_attributes>type=decision</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>465</x>
<y>465</y>
<w>45</w>
<h>120</h>
</coordinates>
<panel_attributes>lt=-&gt;
</panel_attributes>
<additional_attributes>10.0;10.0;10.0;60.0</additional_attributes>
</element>
<element>
<id>Relation</id>
<coordinates>
<x>225</x>
<y>390</y>
<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>
<x>750</x>
<y>300</y>
<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>
</diagram>