<root>
<file schema='103' />
<macros >
<macro >
<flowline name='CANRx0_V4' description='' statediag='0' >
<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
<local name='Buffer' type='u8' description='' isconst='0' isHidden='0' isinit='1' usrinit='0' setinit='0' />
<local name='ByteCount' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
<command class_type='call' title='Call Component Macro' cmdcolor='65280' cmdcolor_sec='16772075' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' component='can1' macro='CheckRx' >
<return exp='CAN_Buffer0' />
<argument exp='0' />
</command>
<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='can1' macro='SetRxFilter' >
<argument exp='0' />
<argument exp='0x3A0' />
</command>
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='CAN_Exit = 0' />
</command>
<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' type='1' exp='CAN_Exit = 1' start='0' >
<flowline >
<command class_type='call' title='Call Component Macro' cmdcolor='65280' cmdcolor_sec='16772075' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' component='can1' macro='CheckRx' >
<return exp='CAN_Buffer0' />
<argument exp='0' />
</command>
<command class_type='decision' title='Data Recieved in CAN Buffer?' cmdcolor='65280' cmdcolor_sec='16772075' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' cmdAuto_color='0' cmdcustom_color='1' exp='CAN_Buffer0 &lt;&gt; 0' swap='0' >
<flowline >
<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='can1' macro='GetRxIDSimple' >
<return exp='CAN_Rx0_Id' />
<argument exp='0' />
</command>
<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='can1' macro='GetRxDataCount' >
<return exp='CAN_Rx0_DLC' />
<argument exp='0' />
</command>
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='.ByteCount = 0' />
<exp exp='' />
</command>
<command class_type='switch' title='Switch' textarea='36,25,36,25' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='CAN_Rx0_Id' >
<case >
<flowline />
</case>
<case exp='0x3A0' >
<flowline >
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='CAN_RxCount_A = CAN_RxCount_A + 1' />
</command>
<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' type='1' exp='.ByteCount &gt;= CAN_Rx0_DLC' start='0' >
<flowline >
<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='can1' macro='GetRxData' >
<return exp='CAN_RxData_A[.ByteCount]' />
<argument exp='0' />
<argument exp='.ByteCount' />
</command>
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='.ByteCount = .ByteCount + 1' />
</command>
</flowline>
</command>
<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='can1' macro='SetRxFilter' >
<argument exp='0' />
<argument exp='0x3A1' />
</command>
</flowline>
</case>
<case exp='0x3A1' >
<flowline >
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='CAN_RxCount_B = CAN_RxCount_B + 1' />
</command>
<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' type='1' exp='.ByteCount &gt;= CAN_Rx0_DLC' start='0' >
<flowline >
<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='can1' macro='GetRxData' >
<return exp='CAN_RxData_B[.ByteCount]' />
<argument exp='0' />
<argument exp='.ByteCount' />
</command>
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='.ByteCount = .ByteCount + 1' />
</command>
</flowline>
</command>
<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='can1' macro='SetRxFilter' >
<argument exp='0' />
<argument exp='0x380' />
</command>
</flowline>
</case>
<case exp='0x380' >
<flowline >
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='CAN_RxCount_C = CAN_RxCount_C + 1' />
</command>
<command class_type='loop' title='Loop' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' type='1' exp='.ByteCount &gt;= CAN_Rx0_DLC' start='0' >
<flowline >
<command class_type='call' title='Call Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='can1' macro='GetRxData' >
<return exp='CAN_RxData_C[.ByteCount]' />
<argument exp='0' />
<argument exp='.ByteCount' />
</command>
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='.ByteCount = .ByteCount + 1' />
</command>
</flowline>
</command>
<command class_type='call' title='Component Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' component='can1' macro='SetRxFilter' >
<argument exp='0' />
<argument exp='0x3A0' />
</command>
<command class_type='calculation' title='Calculation' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' >
<exp exp='CAN_Exit = 1' />
</command>
</flowline>
</case>
</command>
<command class_type='delay' title='Delay' disable='1' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='0.64' exp='100' type='1' />
</flowline>
<flowline />
</command>
</flowline>
</command>
</flowline>
</macro>
</macros>
<variables >
<variable public='0' >
<def class_type='variable' name='CAN_Buffer0' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
</variable>
<variable public='0' >
<def class_type='variable' name='CAN_RxCount_C' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
</variable>
<variable public='0' >
<def class_type='variable' name='CAN_RxCount_B' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
</variable>
<variable public='0' >
<def class_type='variable' name='CAN_RxCount_A' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
</variable>
<variable public='0' >
<def class_type='variable' name='CAN_Exit' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
</variable>
<variable public='0' >
<def class_type='variable' name='CAN_Rx0_DLC' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
</variable>
<variable public='0' >
<def class_type='variable' name='CAN_Rx0_Id' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
</variable>
<variable public='0' >
<def class_type='variable' name='CAN_RxData_C' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
<array size='8' />
</def>
</variable>
<variable public='0' >
<def class_type='variable' name='CAN_RxData_B' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
<array size='8' />
</def>
</variable>
<variable public='0' >
<def class_type='variable' name='CAN_RxData_A' type='u8' description='' isconst='0' isHidden='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
<array size='8' />
</def>
</variable>
</variables>
</root>
