Loading files
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" data-diagram-type="SEQUENCE" height="896px" preserveAspectRatio="none" style="width:1175px;height:896px;background:#FFFFFF;" version="1.1" viewBox="0 0 1175 896" width="1175px" zoomAndPan="magnify"><title>Main Sequence Diagram</title><defs/><g><text fill="#000000" font-family="Verdana" font-size="22" font-weight="bold" lengthAdjust="spacing" textLength="300.9961" x="435.7698" y="35.4209">Main Sequence Diagram</text><rect fill="#D3D3D3" height="302.1953" style="stroke:#000000;stroke-width:1;" width="1017.6772" x="140.8584" y="406.9688"/><g><title>User</title><rect fill="#000000" fill-opacity="0.00000" height="597.2578" width="8" x="24.9551" y="128.9063"/><line style="stroke:#000000;stroke-width:1;" x1="28" x2="28" y1="128.9063" y2="726.1641"/></g><g><title>main</title><rect fill="#000000" fill-opacity="0.00000" height="597.2578" width="8" x="181.3481" y="128.9063"/><line style="stroke:#000000;stroke-width:1;" x1="184.8584" x2="184.8584" y1="128.9063" y2="726.1641"/></g><g><title>app_builder</title><rect fill="#000000" fill-opacity="0.00000" height="597.2578" width="8" x="320.0947" y="128.9063"/><line style="stroke:#000000;stroke-width:1;" x1="324.021" x2="324.021" y1="128.9063" y2="726.1641"/></g><g><title>data_acquisition</title><rect fill="#000000" fill-opacity="0.00000" height="597.2578" width="8" x="490.4082" y="128.9063"/><line style="stroke:#000000;stroke-width:1;" x1="494.1777" x2="494.1777" y1="128.9063" y2="726.1641"/></g><g><title>user_interface</title><rect fill="#000000" fill-opacity="0.00000" height="597.2578" width="8" x="653.54" y="128.9063"/><line style="stroke:#000000;stroke-width:1;" x1="656.5522" x2="656.5522" y1="128.9063" y2="726.1641"/></g><g><title>data_logger</title><rect fill="#000000" fill-opacity="0.00000" height="597.2578" width="8" x="789.0938" y="128.9063"/><line style="stroke:#000000;stroke-width:1;" x1="792.5278" x2="792.5278" y1="128.9063" y2="726.1641"/></g><g><title>clk_conf</title><rect fill="#000000" fill-opacity="0.00000" height="597.2578" width="8" x="903.0391" y="128.9063"/><line style="stroke:#000000;stroke-width:1;" x1="906.6597" x2="906.6597" y1="128.9063" y2="726.1641"/></g><g><title>timer_conf</title><rect fill="#000000" fill-opacity="0.00000" height="597.2578" width="8" x="1012.6436" y="128.9063"/><line style="stroke:#000000;stroke-width:1;" x1="1016.4185" x2="1016.4185" y1="128.9063" y2="726.1641"/></g><g><title>TIM1</title><rect fill="#000000" fill-opacity="0.00000" height="597.2578" width="8" x="1110.7021" y="128.9063"/><line style="stroke:#000000;stroke-width:1;" x1="1113.8687" x2="1113.8687" y1="128.9063" y2="726.1641"/></g><g class="participant participant-head" data-participant="User"><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="31.9102" x="10" y="125.6045">User</text><ellipse cx="28.9551" cy="60.6094" fill="#FFFFFF" rx="8" ry="8" style="stroke:#000000;stroke-width:1;"/><path d="M28.9551,68.6094 L28.9551,95.6094 M15.9551,76.6094 L41.9551,76.6094 M28.9551,95.6094 L15.9551,110.6094 M28.9551,95.6094 L41.9551,110.6094" fill="none" style="stroke:#000000;stroke-width:1;"/></g><g class="participant participant-tail" data-participant="User"><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="31.9102" x="10" y="738.1592">User</text><ellipse cx="28.9551" cy="750.4609" fill="#FFFFFF" rx="8" ry="8" style="stroke:#000000;stroke-width:1;"/><path d="M28.9551,758.4609 L28.9551,785.4609 M15.9551,766.4609 L41.9551,766.4609 M28.9551,785.4609 L15.9551,800.4609 M28.9551,785.4609 L41.9551,800.4609" fill="none" style="stroke:#000000;stroke-width:1;"/></g><g class="participant participant-head" data-participant="Main"><rect fill="#ADD8E6" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="48.9795" x="160.8584" y="97.6094"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="34.9795" x="167.8584" y="117.6045">main</text></g><g class="participant participant-tail" data-participant="Main"><rect fill="#ADD8E6" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="48.9795" x="160.8584" y="725.1641"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="34.9795" x="167.8584" y="745.1592">main</text></g><g class="participant participant-head" data-participant="AppBuilder"><rect fill="#ADD8E6" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="96.1475" x="276.021" y="97.6094"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="82.1475" x="283.021" y="117.6045">app_builder</text></g><g class="participant participant-tail" data-participant="AppBuilder"><rect fill="#ADD8E6" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="96.1475" x="276.021" y="725.1641"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="82.1475" x="283.021" y="745.1592">app_builder</text></g><g class="participant participant-head" data-participant="DataAcquisition"><rect fill="#ADD8E6" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="128.4609" x="430.1777" y="97.6094"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="114.4609" x="437.1777" y="117.6045">data_acquisition</text></g><g class="participant participant-tail" data-participant="DataAcquisition"><rect fill="#ADD8E6" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="128.4609" x="430.1777" y="725.1641"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="114.4609" x="437.1777" y="745.1592">data_acquisition</text></g><g class="participant participant-head" data-participant="UI"><rect fill="#90EE90" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="113.9756" x="600.5522" y="97.6094"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="99.9756" x="607.5522" y="117.6045">user_interface</text></g><g class="participant participant-tail" data-participant="UI"><rect fill="#90EE90" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="113.9756" x="600.5522" y="725.1641"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="99.9756" x="607.5522" y="745.1592">user_interface</text></g><g class="participant participant-head" data-participant="DataLogger"><rect fill="#90EE90" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="97.1318" x="744.5278" y="97.6094"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="83.1318" x="751.5278" y="117.6045">data_logger</text></g><g class="participant participant-tail" data-participant="DataLogger"><rect fill="#90EE90" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="97.1318" x="744.5278" y="725.1641"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="83.1318" x="751.5278" y="745.1592">data_logger</text></g><g class="participant participant-head" data-participant="Clock"><rect fill="#FFA500" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="70.7588" x="871.6597" y="97.6094"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="56.7588" x="878.6597" y="117.6045">clk_conf</text></g><g class="participant participant-tail" data-participant="Clock"><rect fill="#FFA500" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="70.7588" x="871.6597" y="725.1641"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="56.7588" x="878.6597" y="745.1592">clk_conf</text></g><g class="participant participant-head" data-participant="Timer"><rect fill="#FFA500" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="88.4502" x="972.4185" y="97.6094"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="74.4502" x="979.4185" y="117.6045">timer_conf</text></g><g class="participant participant-tail" data-participant="Timer"><rect fill="#FFA500" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="88.4502" x="972.4185" y="725.1641"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="74.4502" x="979.4185" y="745.1592">timer_conf</text></g><g class="participant participant-head" data-participant="TIM1"><rect fill="#FFFF00" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="47.667" x="1090.8687" y="97.6094"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="33.667" x="1097.8687" y="117.6045">TIM1</text></g><g class="participant participant-tail" data-participant="TIM1"><rect fill="#FFFF00" height="30.2969" rx="2.5" ry="2.5" style="stroke:#000000;stroke-width:1;" width="47.667" x="1090.8687" y="725.1641"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="33.667" x="1097.8687" y="745.1592">TIM1</text></g><g class="message" data-participant-1="User" data-participant-2="Main"><polygon fill="#000000" points="173.3481,156.0391,183.3481,160.0391,173.3481,164.0391,177.3481,160.0391" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="28.9551" x2="179.3481" y1="160.0391" y2="160.0391"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="132.3931" x="35.9551" y="154.9731">Power on the device</text></g><g class="message" data-participant-1="Main" data-participant-2="AppBuilder"><polygon fill="#000000" points="312.0947,185.1719,322.0947,189.1719,312.0947,193.1719,316.0947,189.1719" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="185.3481" x2="318.0947" y1="189.1719" y2="189.1719"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="113.4834" x="192.3481" y="184.106">app_builder_init()</text></g><g class="message" data-participant-1="AppBuilder" data-participant-2="Clock"><polygon fill="#000000" points="895.0391,214.3047,905.0391,218.3047,895.0391,222.3047,899.0391,218.3047" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="324.0947" x2="901.0391" y1="218.3047" y2="218.3047"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="89.9082" x="331.0947" y="213.2388">clk_conf_init()</text></g><g class="message" data-participant-1="AppBuilder" data-participant-2="UI"><polygon fill="#000000" points="645.54,243.4375,655.54,247.4375,645.54,251.4375,649.54,247.4375" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="324.0947" x2="651.54" y1="247.4375" y2="247.4375"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="130.0381" x="331.0947" y="242.3716">user_interface_init()</text></g><g class="message" data-participant-1="AppBuilder" data-participant-2="Timer"><polygon fill="#000000" points="1004.6436,272.5703,1014.6436,276.5703,1004.6436,280.5703,1008.6436,276.5703" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="324.0947" x2="1010.6436" y1="276.5703" y2="276.5703"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="106.3359" x="331.0947" y="271.5044">timer_conf_init()</text></g><g class="message" data-participant-1="Timer" data-participant-2="TIM1"><polygon fill="#000000" points="1102.7021,286.5703,1112.7021,290.5703,1102.7021,294.5703,1106.7021,290.5703" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="1016.6436" x2="1108.7021" y1="290.5703" y2="290.5703"/></g><g class="message" data-participant-1="AppBuilder" data-participant-2="DataLogger"><polygon fill="#000000" points="781.0938,315.7031,791.0938,319.7031,781.0938,323.7031,785.0938,319.7031" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="324.0947" x2="787.0938" y1="319.7031" y2="319.7031"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="114.3975" x="331.0947" y="314.6372">data_logger_init()</text></g><g class="message" data-participant-1="AppBuilder" data-participant-2="DataAcquisition"><polygon fill="#000000" points="482.4082,344.8359,492.4082,348.8359,482.4082,352.8359,486.4082,348.8359" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="324.0947" x2="488.4082" y1="348.8359" y2="348.8359"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="143.4888" x="331.0947" y="343.77">data_acquisition_init()</text></g><rect fill="#FFFFFF" height="3" style="stroke:#FFFFFF;stroke-width:1;" width="1163.5356" x="5" y="377.4023"/><line style="stroke:#000000;stroke-width:0.5;" x1="5" x2="1168.5356" y1="377.4023" y2="377.4023"/><line style="stroke:#000000;stroke-width:0.5;" x1="5" x2="1168.5356" y1="380.4023" y2="380.4023"/><rect fill="#FFFFFF" height="23.1328" style="stroke:#000000;stroke-width:1;" width="93.9233" x="539.8062" y="366.8359"/><text fill="#000000" font-family="Verdana" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="75.3975" x="545.8062" y="382.9028">Main Loop</text><path d="M140.8584,406.9688 L217.4824,406.9688 L217.4824,414.1016 L207.4824,424.1016 L140.8584,424.1016 L140.8584,406.9688" fill="#FFFFFF" style="stroke:#000000;stroke-width:1;"/><rect fill="none" height="302.1953" style="stroke:#000000;stroke-width:1;" width="1017.6772" x="140.8584" y="406.9688"/><text fill="#000000" font-family="Verdana" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="31.624" x="155.8584" y="420.0356">loop</text><g class="message" data-participant-1="Main" data-participant-2="AppBuilder"><polygon fill="#000000" points="312.0947,441.2344,322.0947,445.2344,312.0947,449.2344,316.0947,445.2344" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="185.3481" x2="318.0947" y1="445.2344" y2="445.2344"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="114.7466" x="192.3481" y="440.1685">app_builder_run()</text></g><g class="message" data-participant-1="AppBuilder" data-participant-2="AppBuilder"><line style="stroke:#000000;stroke-width:1;" x1="324.0947" x2="366.0947" y1="474.3672" y2="474.3672"/><line style="stroke:#000000;stroke-width:1;" x1="366.0947" x2="366.0947" y1="474.3672" y2="487.3672"/><line style="stroke:#000000;stroke-width:1;" x1="325.0947" x2="366.0947" y1="487.3672" y2="487.3672"/><polygon fill="#000000" points="335.0947,483.3672,325.0947,487.3672,335.0947,491.3672,331.0947,487.3672" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="114.6895" x="331.0947" y="469.3013">Enter Sleep Mode</text></g><g class="message" data-participant-1="TIM1" data-participant-2="AppBuilder"><polygon fill="#000000" points="335.0947,512.5,325.0947,516.5,335.0947,520.5,331.0947,516.5" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="329.0947" x2="1113.7021" y1="516.5" y2="516.5"/><text fill="#000000" font-family="Verdana" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="106.9326" x="341.0947" y="511.4341">TIM1 Interrupt</text><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="64.8921" x="452.1597" y="511.4341">(wake up)</text></g><g class="message" data-participant-1="AppBuilder" data-participant-2="AppBuilder"><line style="stroke:#000000;stroke-width:1;" x1="324.0947" x2="366.0947" y1="545.6328" y2="545.6328"/><line style="stroke:#000000;stroke-width:1;" x1="366.0947" x2="366.0947" y1="545.6328" y2="558.6328"/><line style="stroke:#000000;stroke-width:1;" x1="325.0947" x2="366.0947" y1="558.6328" y2="558.6328"/><polygon fill="#000000" points="335.0947,554.6328,325.0947,558.6328,335.0947,562.6328,331.0947,558.6328" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="116.3081" x="331.0947" y="540.5669">app_builder_tick()</text></g><g class="message" data-participant-1="AppBuilder" data-participant-2="UI"><polygon fill="#000000" points="645.54,583.7656,655.54,587.7656,645.54,591.7656,649.54,587.7656" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="324.0947" x2="651.54" y1="587.7656" y2="587.7656"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="198.7832" x="331.0947" y="582.6997">user_interface_indicate_alive()</text></g><g class="message" data-participant-1="AppBuilder" data-participant-2="DataAcquisition"><polygon fill="#000000" points="482.4082,612.8984,492.4082,616.8984,482.4082,620.8984,486.4082,616.8984" style="stroke:#000000;stroke-width:1;"/><line style="stroke:#000000;stroke-width:1;" x1="324.0947" x2="488.4082" y1="616.8984" y2="616.8984"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="146.3135" x="331.0947" y="611.8325">data_acquisition_tick()</text></g><g class="message" data-participant-1="DataAcquisition" data-participant-2="DataAcquisition"><line style="stroke:#000000;stroke-width:1;" x1="494.4082" x2="536.4082" y1="646.0313" y2="646.0313"/><line style="stroke:#000000;stroke-width:1;" x1="536.4082" x2="536.4082" y1="646.0313" y2="659.0313"/><line style="stroke:#000000;stroke-width:1;" x1="495.4082" x2="536.4082" y1="659.0313" y2="659.0313"/><polygon fill="#000000" points="505.4082,655.0313,495.4082,659.0313,505.4082,663.0313,501.4082,659.0313" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="136.1636" x="501.4082" y="640.9653">Measure sensor data</text></g><g class="message" data-participant-1="DataAcquisition" data-participant-2="DataAcquisition"><line style="stroke:#000000;stroke-width:1;" x1="494.4082" x2="536.4082" y1="688.1641" y2="688.1641"/><line style="stroke:#000000;stroke-width:1;" x1="536.4082" x2="536.4082" y1="688.1641" y2="701.1641"/><line style="stroke:#000000;stroke-width:1;" x1="495.4082" x2="536.4082" y1="701.1641" y2="701.1641"/><polygon fill="#000000" points="505.4082,697.1641,495.4082,701.1641,505.4082,705.1641,501.4082,701.1641" style="stroke:#000000;stroke-width:1;"/><text fill="#000000" font-family="Verdana" font-size="13" lengthAdjust="spacing" textLength="149.1318" x="501.4082" y="683.0981">Process and store data</text></g><rect fill="none" height="75.1875" rx="7.5" ry="7.5" style="stroke:#000000;stroke-width:1;" width="214.5107" x="479.0125" y="808.4609"/><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="204.5107" x="484.0125" y="826.4561">Application Layer : blue color</text><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="184.6455" x="484.0125" y="842.7529">Device Layer : green color</text><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="188.3779" x="484.0125" y="859.0498">Driver Layer : orange color</text><text fill="#000000" font-family="Verdana" font-size="14" lengthAdjust="spacing" textLength="164.6436" x="484.0125" y="875.3467">Peripheral : yelow color</text><!--SRC=[ZPJ1QkCm48RlUehPvf84zh1NGmhTpHu22GJQdirKdZeYYgJASaFUlYF9tjh6Ivj3i3J_vvdvHzQFSA8BWTEeZ1111Kq577W1Z_JMaf44MuMrnuiGcceobNXmJYk9GLa3UxoHXm9UT4iWhRPUREbTCTL7Qaza-f1NxxpPXwn7K_VOaRno9_AeEN8ZRQzTW5D2brcW3DR3SyEu40vzK58vD07kBbpo7M2JQrzeLPz2B6giGkVAbrRfYdmISok_y_A_I8K1IvHlhMfKR3bnMzvy-DmRmcEwvL9BPGBvLvIKsETT9q_Ep2JJjgwx-cAUVLgE63798lMvbDQy9kQFjl8CYspkM1VKXSlvftoAotdbq-xmAslu0HOy3nw84Cdvd_VPv0AEzifhxfyF4LHfxYA5M3Amje21x-o62ikL6CHPdOikeEzaNiNM5J2sT5wOEolWi-5UboDHmerDg87R1Gn6CPzZUWOwP71KUaviDjcnlRKEDXl-ak93Fr6y2U3VbyRvriINHUsuaX7nDpe3Zvh8mS5MbFHfYbFbUfssTn7mhGlhDIolU2PetIfHNwKQ5iT7vxnSpH3pCwlY1K8bQhuGPh5lk3j8cVwcoEnR3eHDwmaQCWrV9V6btuUFtafg6a2-aXg-YIZpV3Lz0000]--></g></svg>b1cc3914aThis file is pinned to the selected release. Download the original to open it in your design tool.