<root>
<document scada='0' schema='103' license='1,62275680,KMKCXB' title='' description='' fcversion='590593' target='PIC32.32MX.32MX575F512H' >
	<config data='!0,7!20,1!40,0!60,0!80,1!a0,5!c0,1!e0,1!100,1!120,3!140,0!160,0!180,1!1a0,0!1c0,1!1e0,0!200,0!220,0!240,3!260,0!280,ff!2a0,1!2c0,1%0,7%20,1%40,0%60,0%80,1%a0,5%c0,1%e0,1%100,1%120,3%140,0%160,0%180,1%1a0,0%1c0,1%1e0,0%200,0%220,0%240,3%260,0%280,ff%2a0,1%2c0,1' clkspd='80000000' simspd='0' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<traces />
	<ghost >
		<FK2 >
			<data name='FK2D0' port='4294967295' pin='4294967295' />
			<data name='FK2D1' port='4294967295' pin='4294967295' />
			<data name='FK2D2' port='4294967295' pin='4294967295' />
			<data name='FK2D3' port='4294967295' pin='4294967295' />
			<data name='FK2D4' port='4294967295' pin='4294967295' />
			<data name='FK2D5' port='4294967295' pin='4294967295' />
			<data name='FK2D6' port='4294967295' pin='4294967295' />
			<data name='FK2D7' port='4294967295' pin='4294967295' />
			<data name='FK2D8' port='4294967295' pin='4294967295' />
			<data name='FK2D9' port='4294967295' pin='4294967295' />
			<data name='FK2D10' port='4294967295' pin='4294967295' />
			<data name='FK2D11' port='4294967295' pin='4294967295' />
			<data name='FK2D12' port='4294967295' pin='4294967295' />
			<data name='FK2D13' port='4294967295' pin='4294967295' />
			<data name='FK2D14' port='4294967295' pin='4294967295' />
			<data name='FK2D15' port='4294967295' pin='4294967295' />
			<data name='FK2A0' port='4294967295' pin='4294967295' />
			<data name='FK2A1' port='4294967295' pin='4294967295' />
			<data name='FK2A2' port='4294967295' pin='4294967295' />
			<data name='FK2A3' port='4294967295' pin='4294967295' />
			<data name='FK2A4' port='4294967295' pin='4294967295' />
			<data name='FK2A5' port='4294967295' pin='4294967295' />
		</FK2>
		<ICD >
			<data name='AnalogPrescaleValue' value='19' />
			<data name='DigitalSampleRate' value='100000' />
			<data name='BreakpointCount' value='8' />
			<data name='CallStackDepthCount' value='8' />
			<data name='ClockPort' value='1' />
			<data name='ClockPin' value='6' />
			<data name='DataPort' value='1' />
			<data name='DataPin' value='7' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='3' />
			<data name='CalculatedCommsDelay' value='3' />
			<data name='AnalogEB2PrescaleValue' value='2' />
			<data name='DigitalEB2SampleRate' value='100000' />
		</ICD>
		<pins >
			<digital A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
			<analog A='0' B='0' C='0' D='0' E='0' F='0' G='0' H='0' I='0' J='0' K='0' L='0' M='0' N='0' O='0' P='0' Q='0' R='0' S='0' T='0' U='0' V='0' W='0' X='0' Y='0' Z='0' />
		</pins>
	</ghost>
	<components >
		<settings autoimg='0' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='b9240d67-f3ec-40f7-88b1-6ce0ee384104' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' category2='' category3='' bIs2dOnly='0' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' iconpath='' />
		<gdiopts FullContainer='1' FullTransparency='1' ShowGdi='1' ShowOpengl='1' />
		<component class_type='root' codename='panel' x='0' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='0' poslock='0' comp2dType='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isHidden='0' isinit='1' usrinit='1' setinit='1' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='ms' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<param name='m' type='u16' description='' isconst='0' isHidden='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='delay' title='Ritardo' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' exp='.m' type='1' />
					</flowline>
				</macro>
				<macro >
					<flowline name='readcan' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' statediag='0' >
						<return name='Return' type='v0' description='' isconst='0' isHidden='0' isinit='0' usrinit='' setinit='' />
						<command class_type='loop' title='Ciclo' disable='1' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Chiamata Macro Componente' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='led_5mm1' macro='TurnOn' />
								<command class_type='call' title='Chiamata Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='ms' >
									<argument exp='1' />
								</command>
								<command class_type='call' title='Chiamata Macro Componente' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='led_5mm1' macro='TurnOff' />
								<command class_type='call' title='Chiamata Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='ms' >
									<argument exp='1' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Chiamata Macro Componente' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='PiezoSounder1' macro='BuzzerBeep' >
							<argument exp='100' />
							<argument exp='100' />
							<argument exp='1' />
							<argument exp='4000' />
						</command>
						<command class_type='call' title='Chiamata Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='ms' >
							<argument exp='500' />
						</command>
						<command class_type='native' title='Codice C' ccode='/////////////////////////////tx/////////////////////////
//----------------------Definizione messaggio di trasmissione------------------//
/* Create a CMSGSID data type. */ 
typedef struct 
{ 
    unsigned SID:11; 
    unsigned :21; 
}txcmsgsid;

/* Create a CMSGEID data type. */ 
typedef struct 
{ 
    unsigned DLC:4; 
    unsigned RB0:1; 
    unsigned :3; 
    unsigned RB1:1; 
    unsigned RTR:1; 
    unsigned EID:18; 
    unsigned IDE:1; 
    unsigned SRR:1; 
    unsigned :2; 
}txcmsgeid;

typedef struct 
{
    unsigned Byte0:8; 
    unsigned Byte1:8; 
    unsigned Byte2:8; 
    unsigned Byte3:8; 
}txcmsgdata0;                                    

typedef struct 
{
    unsigned Byte4:8; 
    unsigned Byte5:8; 
    unsigned Byte6:8; 
    unsigned Byte7:8; 
}txcmsgdata1;

typedef union uCANTxMessageBuffer 
{ 
    struct 
    { 
        txcmsgsid CMSGSID; 
        txcmsgeid CMSGEID;
        txcmsgdata0 CMSGDATA0; 
        txcmsgdata1 CMSGDATA1;
    }; 
    int messageWord[4]; 
}CANTxMessageBuffer;


static CANTxMessageBuffer *bufferTX; 
unsigned int CANFIFO[64];
typedef unsigned long _paddr_t; /* a physical address */


/////////////////////////////////RX////////////////////

//----------------------Definizione messaggio di ricezione------------------//
/* Create a CMSGSID data type. */ 
typedef struct 
{ 
    unsigned SID:11; 
    unsigned FILHIT:5; 
    unsigned CMSGTS:16; 
}rxcmsgsid;

/* Create a CMSGEID data type. */ 
typedef struct 
{ 
    unsigned DLC:4; 
    unsigned RB0:1; 
    unsigned :3; 
    unsigned RB1:1; 
    unsigned RTR:1; 
    unsigned EID:18; 
    unsigned IDE:1; 
    unsigned SRR:1; 
    unsigned :2; 
}rxcmsgeid;

typedef struct 
{
    unsigned Byte0:8; 
    unsigned Byte1:8; 
    unsigned Byte2:8; 
    unsigned Byte3:8; 
}rxcmsgdata0;                                    

typedef struct 
{
    unsigned Byte4:8; 
    unsigned Byte5:8; 
    unsigned Byte6:8; 
    unsigned Byte7:8; 
}rxcmsgdata1;

typedef union uCANRxMessageBuffer 
{ 
    struct 
    { 
        rxcmsgsid CMSGSID; 
        rxcmsgeid CMSGEID;
        rxcmsgdata0 CMSGDATA0; 
        rxcmsgdata1 CMSGDATA1;
    }; 
    int messageWord[4]; 
}CANRxMessageBuffer;


static CANRxMessageBuffer *bufferRX; 
uint16_t SID_RX;
uint16_t Lenght;
uint16_t BufferRead[8];' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
						<command class_type='native' title='Codice C' ccode='void CAN0_Initialize(void)
{	
    /* Switch the CAN module ON */
    C1CONbits.ON=1;
    /* Switch the CAN module to Configuration mode. Wait until the switch is complete */
    C1CONbits.REQOP=0b100;
    while(C1CONbits.OPMOD!=0b100);
    
    /* set Baud rate 250kbps*/
    //C1CFG=0x00029013;
    C1CFG=0x00029009;
    /* Assign the buffer area to the CAN module.
      In this case assign enough memory for 2
      channels, each with 8 message buffers.*/
    C1FIFOBA = ((_paddr_t)(CANFIFO) &amp; 0x1fffffff);//
    
    /* Set FIFO0 size to 1 messages. All other FIFOs at default size. */ 
    /* Configure FIFO0 for transmit.*/
    C1FIFOCON0bits.FSIZE = 0; 
    C1FIFOCON0SET = 0x00000080; /* Set the TXEN bit - Transmit FIFO */ 
    
    /* Set FIFO1 size to 1 messages. All other FIFOs at default size. */ 
    /* Configure FIFO1 for receive.*/
    C1FIFOCON1bits.FSIZE = 0; 
    C1FIFOCON1CLR = 0x00000080; /* Clear the TXEN bit - Receive FIFO */
    
    C1FLTCON0bits.FSEL0 = 1; /* Point to FIF01 */ 
    C1FLTCON0bits.MSEL0 = 0; /* Select Mask 0 */ 
    C1RXF0bits.SID = 0x579; /* Configure Filter 0. */ 
    C1RXF0bits.EXID = 0; 
    C1RXM0bits.SID = 0x579; /* Configure Mask 0. */ 
    C1RXM0bits.MIDE = 1; 
    C1FLTCON0SET = 0x00000080; /* Enable the filter. */
    
    /* Switch the CAN module to Normal mode. Wait until the switch is complete */
    C1CONbits.REQOP=0b000;
    while(C1CONbits.OPMOD!=0b000);
}

void CAN0_Transmit(void)
{       
    /* Set up a message buffer in FIFO0 */    
    bufferTX = (CANTxMessageBuffer *)((void *) ((C1FIFOUA0) | 0xa0000000));
    bufferTX-&gt;messageWord[0] = 0; 
    bufferTX-&gt;messageWord[1] = 0; 
    bufferTX-&gt;messageWord[2] = 0; 
    bufferTX-&gt;messageWord[3] = 0;

    bufferTX-&gt;CMSGSID.SID = 0x643;/* Message SID */ 
    bufferTX-&gt;CMSGEID.DLC = 0x8;  /* Data Length is 8 */ 
    bufferTX-&gt;CMSGDATA0.Byte0 = &apos;0&apos;;      /* Byte 0 Data */ 
    bufferTX-&gt;CMSGDATA0.Byte1 = &apos;0&apos;;      /* Byte 1 Data */ 
    bufferTX-&gt;CMSGDATA0.Byte2 = &apos;0&apos;;      /* Byte 2 Data */ 
    bufferTX-&gt;CMSGDATA0.Byte3 = &apos;0&apos;;      /* Byte 3 Data */ 
    bufferTX-&gt;CMSGDATA1.Byte4 = &apos;0&apos;;      /* Byte 4 Data */ 
    bufferTX-&gt;CMSGDATA1.Byte5 = &apos;0&apos;;      /* Byte 5 Data */ 
    bufferTX-&gt;CMSGDATA1.Byte6 = &apos;0&apos;;      /* Byte 6 Data */ 
    bufferTX-&gt;CMSGDATA1.Byte7 = &apos;0&apos;;      /* Byte 7 Data */ 

    C1FIFOCON0SET = 0x00002008; /* Set the UINC and TXREQ bit (Trasmissione partita)*/  
}

void CAN0_Receive(void)
{
    while(C1FIFOINT1bits.RXNEMPTYIF == 1) 
    {
        /* Get the address of the message buffer to read from the C1FIFOUA1 */ 
        /* register. Convert this physical address to virtual address. */
        bufferRX = (CANRxMessageBuffer *)((void *) ((C1FIFOUA1) | 0xa0000000));    


        SID_RX=bufferRX-&gt;CMSGSID.SID;/* Message SID */ 
        Lenght=bufferRX-&gt;CMSGEID.DLC;  /* Data Length is 8 */ 
        BufferRead[0]=bufferRX-&gt;CMSGDATA0.Byte0;      /* Byte 0 Data */ 
        BufferRead[1]=bufferRX-&gt;CMSGDATA0.Byte1;      /* Byte 1 Data */ 
        BufferRead[2]=bufferRX-&gt;CMSGDATA0.Byte2;      /* Byte 2 Data */ 
        BufferRead[3]=bufferRX-&gt;CMSGDATA0.Byte3;;      /* Byte 3 Data */ 
        BufferRead[4]=bufferRX-&gt;CMSGDATA1.Byte4;      /* Byte 4 Data */ 
        BufferRead[5]=bufferRX-&gt;CMSGDATA1.Byte5;      /* Byte 5 Data */ 
        BufferRead[6]=bufferRX-&gt;CMSGDATA1.Byte6;      /* Byte 6 Data */ 
        BufferRead[7]=bufferRX-&gt;CMSGDATA1.Byte7;      /* Byte 7 Data */ 
        
        /* Set the UINC bit to tell the CAN module that * a message has been read. */ 
        C1FIFOCON1SET = 0x00002000; /* Set the UINC and TXREQ bit (Trasmissione partita)*/
    } 	
}' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
						<command class_type='native' title='Codice C' ccode='CAN0_Initialize();' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
						<command class_type='call' title='Chiamata Macro Componente' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='can1' macro='Initialise' />
						<command class_type='call' title='Chiamata Macro Componente' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='PiezoSounder1' macro='BuzzerBeep' >
							<argument exp='100' />
							<argument exp='100' />
							<argument exp='1' />
							<argument exp='4000' />
						</command>
						<command class_type='interrupt' title='Interrupt' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' enable='1' name='TMR1' call='readcan' >
							<settings timer='1' prescale='1' postscale='-1' rollover='65536' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='65536' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
								<option value='-1' />
							</settings>
						</command>
						<command class_type='loop' title='Ciclo' cmdcolor='4767473' cmdcolor_sec='11337727' cmdcolor_txt='0' cmdgradient='4' cmdopacity='1' type='0' exp='1' >
							<flowline >
								<command class_type='call' title='Chiamata Macro Componente' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='led_5mm1' macro='TurnOn' />
								<command class_type='call' title='Chiamata Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='ms' >
									<argument exp='100' />
								</command>
								<command class_type='call' title='Chiamata Macro Componente' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='can1' macro='SetTxIDSimple' >
									<argument exp='0' />
									<argument exp='0x600' />
								</command>
								<command class_type='call' title='Chiamata Macro Componente' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='can1' macro='SetTxData' >
									<argument exp='0' />
									<argument exp='8' />
									<argument exp='1' />
									<argument exp='2' />
									<argument exp='3' />
									<argument exp='4' />
									<argument exp='5' />
									<argument exp='6' />
									<argument exp='7' />
									<argument exp='8' />
								</command>
								<command class_type='call' title='Chiamata Macro Componente' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='can1' macro='SendBuffer' >
									<argument exp='0' />
								</command>
								<command class_type='native' title='Codice C' disable='1' ccode='CAN0_Transmit();' cmdcolor='4206456' cmdcolor_sec='10785756' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' language='C' />
								<command class_type='call' title='Chiamata Macro Componente' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' component='led_5mm1' macro='TurnOff' />
								<command class_type='call' title='Chiamata Macro' cmdcolor='4487093' cmdcolor_sec='11066367' cmdcolor_txt='16777215' cmdgradient='4' cmdopacity='1' macro='ms' >
									<argument exp='100' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='70ec3aee-f273-4b0e-8ee6-e2b3a8b693af' vmin='0' vmaj='1' codename='PiezoSounder1' x='-20' y='-10' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTD.4' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d92e8259-f3a8-4176-a8c4-fe7ca42b2c3f' vmin='1' vmaj='1' codename='led_5mm1' x='-96.3625' y='-14.7635' z='0' xsz='6.00459' ysz='6.00459' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTB.15' />
					<value target='polarity' data='001' />
					<value target='on_color' data='10551200' />
					<value target='length' data='4.000000' />
					<value target='show_label' data='002' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='26732594-ad79-472f-80ff-95d365b3b252' vmin='2' vmaj='1' codename='sw_push_pcb1' x='-200' y='0' z='0' xsz='1' ysz='1' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTF.0' />
					<value target='polarity' data='001' />
					<value target='debounce' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='da332928-6342-4c2c-afc7-eaf33917d33e' vmin='10' vmaj='2' codename='can1' x='50' y='-10' z='0' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' scadavisible='1' interactive='1' solid='1' layer='1' poslock='0' comp2dType='0' >
				<resources />
				<properties />
				<values >
					<value target='CHANNEL_CAN' data='001' />
					<value target='EXT_OSC' data='0' />
					<value target='BUS_RATE' data='003' />
					<value target='SJW' data='000' />
					<value target='SAMPLE' data='001' />
					<value target='cal_can::CCFG' data='167945' />
					<value target='EXID' data='000' />
					<value target='OSM' data='001' />
					<value target='REF' data='0' />
					<value target='OSC' data='80000000' />
					<value target='BAUD1' data='0' />
					<value target='BAUD2' data='209' />
					<value target='BAUD3' data='3' />
					<value target='cal_spi::CHANNEL' data='000' />
					<value target='cal_spi::MOSI' data='$PORTE.5' />
					<value target='cal_spi::MOSIPins' data='000' />
					<value target='cal_spi::MISO' data='$PORTE.6' />
					<value target='cal_spi::MISOPins' data='086' />
					<value target='cal_spi::CLK' data='$PORTE.7' />
					<value target='cal_spi::CLKPins' data='001' />
					<value target='cal_spi::SS' data='$PORTC.2' />
					<value target='cal_spi::PR_SCALE' data='016' />
					<value target='cal_spi::SMP' data='001' />
					<value target='CONFIG_DELAY' data='000' />
					<value target='TXPin' data='$PORTF.1' />
					<value target='TXRemap' data='001' />
					<value target='RXPin' data='$PORTF.0' />
					<value target='RXRemap' data='001' />
					<value target='TXB0ID' data='1' />
					<value target='TXB0LEN' data='1' />
					<value target='TXB0DB0' data='1' />
					<value target='TXB0DB1' data='0' />
					<value target='TXB0DB2' data='0' />
					<value target='TXB0DB3' data='0' />
					<value target='TXB0DB4' data='0' />
					<value target='TXB0DB5' data='0' />
					<value target='TXB0DB6' data='0' />
					<value target='TXB0DB7' data='0' />
					<value target='TXB1ID' data='2' />
					<value target='TXB1LEN' data='2' />
					<value target='TXB1DB0' data='2' />
					<value target='TXB1DB1' data='2' />
					<value target='TXB1DB2' data='0' />
					<value target='TXB1DB3' data='0' />
					<value target='TXB1DB4' data='0' />
					<value target='TXB1DB5' data='0' />
					<value target='TXB1DB6' data='0' />
					<value target='TXB1DB7' data='0' />
					<value target='TXB2ID' data='3' />
					<value target='TXB2LEN' data='3' />
					<value target='TXB2DB0' data='3' />
					<value target='TXB2DB1' data='3' />
					<value target='TXB2DB2' data='3' />
					<value target='TXB2DB3' data='0' />
					<value target='TXB2DB4' data='0' />
					<value target='TXB2DB5' data='0' />
					<value target='TXB2DB6' data='0' />
					<value target='TXB2DB7' data='0' />
					<value target='RXB0CFG' data='002' />
					<value target='RXM0' data='1807' />
					<value target='RXF0' data='697' />
					<value target='Filter0' data='0x0209
0x0219
0x0229
0x0239
0x0249
0x0259
0x0269
0x0279
0x0289
0x0299
0x02a9
0x02b9
0x02c9
0x02d9
0x02e9
0x02f9
' />
					<value target='RXF1' data='697' />
					<value target='Filter1' data='0x0209
0x0219
0x0229
0x0239
0x0249
0x0259
0x0269
0x0279
0x0289
0x0299
0x02a9
0x02b9
0x02c9
0x02d9
0x02e9
0x02f9
' />
					<value target='RXB1CFG' data='000' />
					<value target='RXM1' data='1807' />
					<value target='RXF2' data='697' />
					<value target='Filter2' data='0x0209
0x0219
0x0229
0x0239
0x0249
0x0259
0x0269
0x0279
0x0289
0x0299
0x02a9
0x02b9
0x02c9
0x02d9
0x02e9
0x02f9
' />
					<value target='RXF3' data='0' />
					<value target='Filter3' data='0x00
0x10
0x20
0x30
0x40
0x50
0x60
0x70
0x80
0x90
0xa0
0xb0
0xc0
0xd0
0xe0
0xf0
' />
					<value target='RXF4' data='0' />
					<value target='Filter4' data='0x00
0x10
0x20
0x30
0x40
0x50
0x60
0x70
0x80
0x90
0xa0
0xb0
0xc0
0xd0
0xe0
0xf0
' />
					<value target='RXF5' data='0' />
					<value target='Filter5' data='0x00
0x10
0x20
0x30
0x40
0x50
0x60
0x70
0x80
0x90
0xa0
0xb0
0xc0
0xd0
0xe0
0xf0
' />
					<value target='MIAC' data='0' />
					<value target='label' data='CAN Bus' />
					<value target='SimComms' data='0' />
					<value target='cal_spi::ScopeTraces' data='1' />
					<value target='cal_spi::ConsoleData' data='1' />
					<value target='cal_spi::Injector' data='000' />
					<value target='cal_spi1::InjectorCS' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='7292207' img='' style='0' />
		<camera xe='0' ye='0' ze='2213.48' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<viewport dx='1595' dy='136' zoom='87.1906' fix_topleft='0' />
		<page x='1000' y='1000' show='0' rgb='7360576' />
	</panel2d>
	<panel3d shadows='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='0' />
		<camera xe='0' ye='0' ze='781.66' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAATAQAAJYCAAA' zoom='65' scrollx='0' scrolly='956' flags='0' />
	</layout>
</document>
</root>
