<root>
<document scada='0' schema='102' license='1,Dev User,H1YQFU' title='' description='' fcversion='524801' target='PIC.18F.ECIO-28' >
	<config data='' clkspd='48000000' simspd='1' usewdt='0' constif='0' Use3V3='0' />
	<plugins >
		<dll_models enabled='1' />
		<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='2' />
			<data name='ClockPin' value='4' />
			<data name='DataPort' value='0' />
			<data name='DataPin' value='5' />
			<data name='UseDefaultPins' value='1' />
			<data name='WrapEnabled' value='1' />
			<data name='CommsDelayOverridden' value='0' />
			<data name='CommsDelay' value='4' />
			<data name='CalculatedCommsDelay' value='4' />
			<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' keygen='hHngRTShjBqb3N8UwnvxOS' />
		<definition guid='24ad2718-c70b-4088-aeda-3949dfdba740' vstate='40' vmin='1' vmaj='1' srcleaf='TimerComponent.fcfx' visiblename='Timer' description='Allows you to measure the passage of time via the use of a hardware timer peripheral.
Works like a stopwatch with macros to start, stop and reset the timer counter.
Returns time as integer Seconds, Milliseconds, Microseconds and also Floating Point and String.' category='Storage' catenable='1' author='Matrix TSL' manuname='' manucode='' sysinfo='9449835' keywords='' dynamic='1' scadaCompatible='0' embeddedCompatible='1' group='storage' protect='1' iconpath='..\icons\components\Timer.png' />
		<component class_type='root' codename='Timer' 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' >
			<resources >
				<file name='Timer.png' source='..\icons\components\Timer.png' />
			</resources>
			<properties >
				<property name='Timer' target='Timer' typeid='16' hidden='0' locked='0' info='Timer Peripheral to use to monitor the passage of time.' filter='000TMR0
001TMR1
002TMR2
003TMR3' />
				<property name='Bit Depth' target='BitDepth' typeid='21' hidden='0' locked='1' info='Number of bits in the timer peripheral.
8-bit timers can count from 0-255 before overflowing.
16-bit timers can count from 0 to 65535 before overflowing.' />
				<property name='Instruction Rate' target='InstructionRate' typeid='21' hidden='0' locked='1' info='' />
				<property name='Instruction Time' target='InstructionTime' typeid='15' hidden='1' locked='0' info='' />
				<property name='Rollover Frequency' target='RolloverFreq' typeid='15' hidden='0' locked='1' info='' />
				<property name='Rollover Time' target='RolloverTime' typeid='15' hidden='0' locked='1' info='' />
				<property name='Reg High Used' target='RegHighUsed' typeid='7' hidden='1' locked='0' info='' />
				<property name='Instance' target='Instance' typeid='21' hidden='1' locked='0' info='' />
				<property name='Device Bits' target='DeviceBits' typeid='21' hidden='1' locked='0' info='' />
				<property name='Count Reg Low' target='CountRegLow' typeid='10' hidden='1' locked='0' info='' />
				<property name='Count Reg High' target='CountRegHigh' typeid='10' hidden='1' locked='0' info='' />
				<property name='Enable Code' target='EnableCode' typeid='10' hidden='1' locked='0' info='' />
				<property name='Disable Code' target='DisableCode' typeid='10' hidden='1' locked='0' info='' />
				<property name='Handler Code' target='HandlerCode' typeid='10' hidden='1' locked='0' info='' />
				<property name='Max Time Measurement' target='MaxTimeMeasurement' typeid='15' hidden='0' locked='1' info='Max time in seconds that we can measure before rolling over and starting again.' />
				<property name='Family' target='Family' typeid='10' hidden='1' locked='0' info='' />
				<property name='Simulation' folder='property_1' hidden='0' >
					<property name='Timer Delay (ms)' target='TimerDelay' typeid='21' hidden='0' locked='0' info='Number of milliseconds between timer events which increment the simulated timer counter variable.
10ms will yield the highest resolution. Values less than this will likely just increase the error and making the timer run slow.
Higher delays will yield greater accuracy.' />
					<property name='Decimal Points' target='DecimalPoints' typeid='21' hidden='0' locked='0' info='' />
				</property>
			</properties>
			<values >
				<value target='Timer' data='000' />
				<value target='BitDepth' data='8' />
				<value target='InstructionRate' data='12000000' />
				<value target='InstructionTime' data='0.000083' />
				<value target='RolloverFreq' data='46875.000000' />
				<value target='RolloverTime' data='0.000021' />
				<value target='RegHighUsed' data='0' />
				<value target='Instance' data='0' />
				<value target='DeviceBits' data='8' />
				<value target='CountRegLow' data='TMR0' />
				<value target='CountRegHigh' data='' />
				<value target='EnableCode' data='st_bit(INTCON, GIE); st_bit(INTCON, TMR0IE);  cr_bit(T0CON, T0CS);  T0CON = (T0CON &amp; 0xF0) | 0x08; ' />
				<value target='DisableCode' data='cr_bit(INTCON, TMR0IE); ' />
				<value target='HandlerCode' data='if (ts_bit(INTCON, TMR0IF) &amp;&amp; ts_bit(INTCON, TMR0IE)) {  TIM_0_INC  cr_bit(INTCON, TMR0IF); }' />
				<value target='MaxTimeMeasurement' data='357.913940' />
				<value target='Family' data='PIC' />
				<value target='TimerDelay' data='50' />
				<value target='DecimalPoints' data='3' />
			</values>
			<events >
				<event class='Components' event='Initialise' target='Ev_Initialise' />
				<event class='Simulation' event='Stop' target='Ev_Stop' />
				<event class='Compile' event='AddInterrupts' target='Ev_AddInterrupts' />
				<event class='Connection' event='ChipChange' target='Ev_ChipChange' />
				<event class='Simulation' event='Resume' target='Ev_Resume' />
				<event class='Compile' event='AddHeader' target='Ev_AddHeader' />
				<event class='Simulation' event='Pause' target='Ev_Pause' />
				<event class='System' event='Timer' target='Ev_Timer' />
				<event class='Components' event='Property' target='Ev_Property' />
			</events>
			<apis >
				<api name='GetCountSeconds' alt='GetCountSeconds_Sim' type='1' proto='1' />
				<api name='StartCounter' alt='StartCounter' type='1' proto='1' />
				<api name='GetCountString' alt='GetCountString_Sim' type='1' proto='1' />
				<api name='GetCountMicroSeconds' alt='GetCountMicroSeconds_Sim' type='1' proto='1' />
				<api name='GetCountMilliseconds' alt='GetCountMilliseconds_Sim' type='1' proto='1' />
				<api name='StopCounter' alt='StopCounter' type='1' proto='1' />
				<api name='ResetCounter' alt='ResetCounter' type='1' proto='1' />
				<api name='GetCountReal' alt='GetCountReal_Sim' type='1' proto='1' />
				<api name='GetRawCount' alt='GetRawCount' type='1' proto='1' />
			</apis>
			<variables >
				<variable public='0' >
					<def class_type='variable' name='false' type='b1' description='' isconst='1' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Running' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='IntCount' type='u32' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='true' type='b1' description='' isconst='1' isinit='1' usrinit='1' setinit='1' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='TCountSave' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
			</variables>
			<macros >
				<macro >
					<flowline name='Ev_Timer' description='Called back on the panel command System.TimerStart' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='TimerID' type='u32' description='The identifier passed to the System.TimerStart panel command' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='str' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='running' swap='0' >
							<flowline >
								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='System.TimerStart' >
									<argument exp='0' />
									<argument exp='TimerDelay' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='IntCount = IntCount + 1' />
								</command>
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='GetCountString_Sim' >
									<return exp='.str' />
									<argument exp='DecimalPoints' />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
									<argument exp='shape_label2' />
									<argument exp='&quot;Text&quot;' />
									<argument exp='.str' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Stop' description='Broadcast to all components that simulation has stopped' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='running' swap='0' >
							<flowline >
								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='System.TimerStop' >
									<argument exp='0' />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetColor' >
									<argument exp='TimerStatus' />
									<argument exp='0x80' />
									<argument exp='0' />
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GetCountSeconds' description='Returns the count value as a number of whole seconds, rounded down to the nearest second' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Count' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='FVar' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='GetRawCount' >
							<return exp='.Count' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.FVar = InstructionTime * FLOAT .Count' />
							<exp exp='.Return = .FVar / 1000.0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_AddInterrupts' description='Sent to a component to allow dynamic amendment of the interrupts for a component' >
						<return name='Return' type='u32' description='Non-zero to block code insertion' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='HandlerCode' type='T8*' description='Text to amend for all component interrupts' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = 0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.HandlerCode = .HandlerCode + &quot;Timer_&quot; + STRING Instance + &quot;_Handler\n&quot;' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='StartCounter' description='Starts the timer counting.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='ResetCounters' type='b1' description='Range: 0-1 where 0=Do Not Reset and 1=Reset' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.ResetCounters' swap='0' >
							<flowline >
								<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='ResetCounter' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 1' swap='0' >
							<flowline >
								<command class_type='native' title='Enable Interrupt' ccode='Timer_1_Enable' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 2' swap='0' >
							<flowline >
								<command class_type='native' title='Enable Interrupt' ccode='Timer_2_Enable' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 3' swap='0' >
							<flowline >
								<command class_type='native' title='Enable Interrupt' ccode='Timer_3_Enable' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 4' swap='0' >
							<flowline >
								<command class_type='native' title='Enable Interrupt' ccode='Timer_4_Enable' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
							</flowline>
							<flowline />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='System.TimerStart' >
							<argument exp='0' />
							<argument exp='TimerDelay' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetColor' >
							<argument exp='TimerStatus' />
							<argument exp='0' />
							<argument exp='0xC0' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Running = 1' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GetCountString' description='Returns the count value as a floating point string in seconds.' >
						<return name='Return' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' />
						<param name='Precision' type='u8' description='Number of decimal places to display in string' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='FVar' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='GetCountReal' >
							<return exp='.FVar' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = FloatToString$ (.FVar, .Precision)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Initialise' description='Initialisation routine for the component once the component is linked to its parent' >
						<return name='Return' type='u32' description='Non-zero to prevent initialisation' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Instance' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.GetInstance' >
							<return exp='.Instance' />
							<argument exp='this' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;Instance&quot;' />
							<argument exp='.Instance' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Prv_ParseFCDTimers' />
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
							<argument exp='shape_label2' />
							<argument exp='&quot;Text&quot;' />
							<argument exp='&quot;0.000&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetColor' >
							<argument exp='TimerStatus' />
							<argument exp='0x80' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_ChipChange' description='Sent when the target device has changed' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='Target' type='T8' description='The name of the new target device' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Prv_ParseFCDTimers' />
					</flowline>
				</macro>
				<macro >
					<flowline name='GetCountReal_Sim' description='Returns the count value as a floating point value in seconds.' >
						<return name='Return' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='Count' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='fVar' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.FVar = FLOAT TimerDelay / 1000.0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = FLOAT IntCount * .FVar' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_ParseFCDTimers' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='Handle' type='h32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='TempStr' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='count' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='SubStr' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='Index' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='FCD.GetItemHandle' >
							<return exp='.Handle' />
							<argument exp='&quot;device.interrupts.interrupt&quot;' />
							<argument exp='&quot;name&quot;' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.count = 0' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetFilter' >
							<argument exp='this' />
							<argument exp='&quot;Timer&quot;' />
							<argument exp='&quot;&quot;' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='.Handle' >
							<flowline >
								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetValue' >
									<return exp='.TempStr' />
									<argument exp='.Handle' />
								</command>
								<command class_type='sim' title='Simulation' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Debug.PrintLn' >
									<argument exp='.TempStr' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.SubStr = Left$ (.TempStr,5)' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (.SubStr,&quot;Timer&quot;,1) == 0' swap='0' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.index = .TempStr[6] - &apos;0&apos;' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.TempStr[7] &gt; 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='.index = .index * 10' />
													<exp exp='.index = .index + (.TempStr[7] - &apos;0&apos;)' />
												</command>
											</flowline>
											<flowline />
										</command>
										<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.AddListItem' >
											<argument exp='this' />
											<argument exp='&quot;Timer&quot;' />
											<argument exp='.index' />
											<argument exp='.TempStr' />
										</command>
									</flowline>
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
											<exp exp='.SubStr = Left$ (.TempStr,3)' />
										</command>
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (.SubStr,&quot;TMR&quot;,1) == 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='.index = .TempStr[3] - &apos;0&apos;' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.TempStr[4] &gt; 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.index = .index * 10' />
															<exp exp='.index = .index + (.TempStr[4] - &apos;0&apos;)' />
														</command>
													</flowline>
													<flowline />
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.AddListItem' >
													<argument exp='this' />
													<argument exp='&quot;Timer&quot;' />
													<argument exp='.index' />
													<argument exp='.TempStr' />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepParent' >
									<argument exp='.Handle' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.count = .count + 1' />
								</command>
								<command class_type='sim' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepNamedIndex' >
									<argument exp='.Handle' />
									<argument exp='&quot;interrupt&quot;' />
									<argument exp='.Count' />
								</command>
								<command class_type='sim' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepSubName' >
									<argument exp='.Handle' />
									<argument exp='&quot;name&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Prv_ParseTimerProperties' />
					</flowline>
				</macro>
				<macro >
					<flowline name='GetCountSeconds_Sim' description='Returns the count value as a number of whole seconds, rounded down to the nearest second' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Count' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='FVar' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.FVar = FLOAT TimerDelay / 1000.0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = FLOAT IntCount * .FVar' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Pause' description='Broadcast to all components that simulation has paused' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='running' swap='0' >
							<flowline >
								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='System.TimerStop' >
									<argument exp='0' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GetCountMicroSeconds' description='Returns the count value as a number of whole microseconds, rounded down to the nearest microsecond' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Count' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='FVar' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='GetRawCount' >
							<return exp='.Count' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.FVar = InstructionTime * FLOAT .Count' />
							<exp exp='.Return = .FVar * 1000.0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Property' description='Sent when a property has been changed by the User' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Prv_ParseTimerProperties' />
					</flowline>
				</macro>
				<macro >
					<flowline name='GetCountMilliseconds' description='Returns the count value as a number of whole milliseconds, rounded down to the nearest millisecond' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Count' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='FVar' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='GetRawCount' >
							<return exp='.Count' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.FVar = InstructionTime * FLOAT .Count' />
							<exp exp='.Return = .FVar' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GetCountMilliseconds_Sim' description='Returns the count value as a number of whole milliseconds, rounded down to the nearest millisecond' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Count' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='FVar' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = IntCount * TimerDelay' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_ParseTimerProperties' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='count' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Handle' type='h32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='TempStr' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='1000' />
						</local>
						<local name='SubStr' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<local name='index' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='MasterDivider' type='u8' description='' isconst='0' isinit='1' usrinit='1' setinit='1' />
						<local name='ClockSpeed' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='TempFloat' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='DeviceBits' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='SubHandle' type='h32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='ChildCount' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='TempVar1' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='SubStr2' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='FCD.GetItemValue' >
							<return exp='.MasterDivider' />
							<argument exp='&quot;device.clock&quot;' />
							<argument exp='&quot;master_divider&quot;' />
							<argument exp='&quot;1&quot;' />
						</command>
						<command class_type='sim' title='Get clock speed from fcd' cmdcolor='1879295' cmdcolor_sec='5751039' macro='FCD.GetItemValue' >
							<return exp='.SubStr2' />
							<argument exp='&quot;device&quot;' />
							<argument exp='&quot;product&quot;' />
							<argument exp='&quot;&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;Family&quot;' />
							<argument exp='.SubStr2' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='FCD.GetItemHandle' >
							<return exp='.Handle' />
							<argument exp='&quot;device.interrupts.interrupt&quot;' />
							<argument exp='&quot;name&quot;' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.count = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='.Handle' >
							<flowline >
								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetValue' >
									<return exp='.TempStr' />
									<argument exp='.Handle' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.SubStr = Left$ (.TempStr,5)' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.SubStr2 = Left$ (.TempStr,3)' />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='(Compare$ (.SubStr,&quot;Timer&quot;,1) == 0) || (Compare$ (.SubStr2,&quot;TMR&quot;,1) == 0)' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (.SubStr,&quot;Timer&quot;,1) == 0' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='.index = .TempStr[6] - &apos;0&apos;' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.TempStr[7] &gt; 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.index = .index * 10' />
															<exp exp='.index = .index + (.TempStr[7] - &apos;0&apos;)' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='.index = .TempStr[3] - &apos;0&apos;' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.TempStr[4] &gt; 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.index = .index * 10' />
															<exp exp='.index = .index + (.TempStr[4] - &apos;0&apos;)' />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
										<command class_type='decision' title='Is this the selected timer?' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.index = Timer' swap='0' >
											<flowline >
												<command class_type='comment' title='' comment='Enable Code
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepParent' >
													<argument exp='.Handle' />
												</command>
												<command class_type='sim' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepSubName' >
													<argument exp='.Handle' />
													<argument exp='&quot;enable&quot;' />
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetValue' >
													<return exp='.TempStr' />
													<argument exp='.Handle' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Prv_Parse_String' >
													<argument exp='.TempStr' />
													<argument exp='0' />
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
													<argument exp='this' />
													<argument exp='&quot;EnableCode&quot;' />
													<argument exp='.TempStr' />
												</command>
												<command class_type='comment' title='' comment='Disable Code
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepParent' >
													<argument exp='.Handle' />
												</command>
												<command class_type='sim' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepSubName' >
													<argument exp='.Handle' />
													<argument exp='&quot;disable&quot;' />
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetValue' >
													<return exp='.TempStr' />
													<argument exp='.Handle' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Prv_Parse_String' >
													<argument exp='.TempStr' />
													<argument exp='0' />
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
													<argument exp='this' />
													<argument exp='&quot;DisableCode&quot;' />
													<argument exp='.TempStr' />
												</command>
												<command class_type='comment' title='' comment='Handler Code
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepParent' >
													<argument exp='.Handle' />
												</command>
												<command class_type='sim' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepSubName' >
													<argument exp='.Handle' />
													<argument exp='&quot;handler&quot;' />
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetValue' >
													<return exp='.TempStr' />
													<argument exp='.Handle' />
												</command>
												<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Prv_Parse_String' >
													<argument exp='.TempStr' />
													<argument exp='2' />
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
													<argument exp='this' />
													<argument exp='&quot;HandlerCode&quot;' />
													<argument exp='.TempStr' />
												</command>
												<command class_type='comment' title='' comment='Count Register Low' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepParent' >
													<argument exp='.Handle' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='(Compare$ (Family,&quot;PIC16&quot;,1) == 0) || (Compare$ (Family,&quot;PIC32&quot;,1) == 0)' swap='0' >
													<flowline >
														<command class_type='sim' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepSubName' >
															<argument exp='.Handle' />
															<argument exp='&quot;reg&quot;' />
														</command>
													</flowline>
													<flowline >
														<command class_type='sim' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepSubName' >
															<argument exp='.Handle' />
															<argument exp='&quot;regl&quot;' />
														</command>
													</flowline>
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetValue' >
													<return exp='.TempStr' />
													<argument exp='.Handle' />
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
													<argument exp='this' />
													<argument exp='&quot;CountRegLow&quot;' />
													<argument exp='.TempStr' />
												</command>
												<command class_type='comment' title='' comment='Count Register High
' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='(Compare$ (Family,&quot;PIC16&quot;,1) == 0) || (Compare$ (Family,&quot;PIC32&quot;,1) == 0)' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.TempStr = &quot;&quot;' />
														</command>
													</flowline>
													<flowline >
														<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepParent' >
															<argument exp='.Handle' />
														</command>
														<command class_type='sim' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepSubName' >
															<argument exp='.Handle' />
															<argument exp='&quot;regh&quot;' />
														</command>
														<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetValue' >
															<return exp='.TempStr' />
															<argument exp='.Handle' />
														</command>
														<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
															<argument exp='this' />
															<argument exp='&quot;CountRegHigh&quot;' />
															<argument exp='.TempStr' />
														</command>
													</flowline>
												</command>
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Length$ (.TempStr) &gt; 0' swap='0' >
													<flowline >
														<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
															<argument exp='this' />
															<argument exp='&quot;RegHighUsed&quot;' />
															<argument exp='1' />
														</command>
													</flowline>
													<flowline >
														<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
															<argument exp='this' />
															<argument exp='&quot;RegHighUsed&quot;' />
															<argument exp='0' />
														</command>
													</flowline>
												</command>
												<command class_type='comment' title='' comment='Timer Bit Depth' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepParent' >
													<argument exp='.Handle' />
												</command>
												<command class_type='sim' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepSubName' >
													<argument exp='.Handle' />
													<argument exp='&quot;type&quot;' />
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetValue' >
													<return exp='.TempStr' />
													<argument exp='.Handle' />
												</command>
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (.TempStr,&quot;timer8&quot;,1) == 0' swap='0' >
													<flowline >
														<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
															<argument exp='this' />
															<argument exp='&quot;BitDepth&quot;' />
															<argument exp='&quot;8&quot;' />
														</command>
													</flowline>
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (.TempStr,&quot;timer16&quot;,1) == 0' swap='0' >
															<flowline >
																<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
																	<argument exp='this' />
																	<argument exp='&quot;BitDepth&quot;' />
																	<argument exp='&quot;16&quot;' />
																</command>
															</flowline>
															<flowline >
																<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
																	<argument exp='this' />
																	<argument exp='&quot;BitDepth&quot;' />
																	<argument exp='&quot;32&quot;' />
																</command>
															</flowline>
														</command>
													</flowline>
												</command>
												<command class_type='comment' title='' comment='Timer Options' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepParent' >
													<argument exp='.Handle' />
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.CountChildren' >
													<return exp='.ChildCount' />
													<argument exp='.Handle' />
												</command>
												<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepChildHead' >
													<argument exp='.Handle' />
												</command>
												<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='.ChildCount' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.ChildCount = .ChildCount - 1' />
														</command>
														<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetName' >
															<return exp='.TempStr' />
															<argument exp='.Handle' />
														</command>
														<command class_type='sim' title='Simulation' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Debug.PrintLn' >
															<argument exp='.TempStr' />
														</command>
														<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (.TempStr,&quot;options&quot;,1) == 0' swap='0' >
															<flowline >
																<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.CountChildren' >
																	<return exp='.ChildCount' />
																	<argument exp='.Handle' />
																</command>
																<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepChildHead' >
																	<argument exp='.Handle' />
																</command>
																<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='.ChildCount' >
																	<flowline >
																		<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetCopy' >
																			<return exp='.SubHandle' />
																			<argument exp='.Handle' />
																		</command>
																		<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetSubValue' >
																			<return exp='.TempStr' />
																			<argument exp='.SubHandle' />
																			<argument exp='&quot;name&quot;' />
																		</command>
																		<command class_type='sim' title='Simulation' disable='1' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Debug.PrintLn' >
																			<argument exp='&quot;--&gt; &quot; + .TempStr' />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																			<exp exp='.SubStr = Left$ (.TempStr,5)' />
																		</command>
																		<command class_type='decision' title='Clock Source' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (.SubStr,&quot;Clock&quot;,1) == 0' swap='0' >
																			<flowline >
																				<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepChildHead' >
																					<argument exp='.SubHandle' />
																				</command>
																				<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																					<exp exp='.TempVar1 = 0' />
																				</command>
																				<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='.TempVar1 != .MasterDivider' >
																					<flowline >
																						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetSubValue' >
																							<return exp='.TempStr' />
																							<argument exp='.SubHandle' />
																							<argument exp='&quot;clkdiv&quot;' />
																						</command>
																						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																							<exp exp='.TempVar1 = StringToInt$ (.TempStr)' />
																						</command>
																						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.TempVar1 != .MasterDivider' swap='0' >
																							<flowline >
																								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepNext' >
																									<argument exp='.SubHandle' />
																								</command>
																							</flowline>
																							<flowline />
																						</command>
																					</flowline>
																				</command>
																				<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetSubValue' >
																					<return exp='.SubStr' />
																					<argument exp='.SubHandle' />
																					<argument exp='&quot;value&quot;' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Prv_Parse_String' >
																					<argument exp='.SubStr' />
																					<argument exp='0' />
																				</command>
																				<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																					<exp exp='.TempStr = EnableCode + &quot; &quot;' />
																					<exp exp='.TempStr = .TempStr + .SubStr' />
																				</command>
																				<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
																					<argument exp='this' />
																					<argument exp='&quot;EnableCode&quot;' />
																					<argument exp='.TempStr' />
																				</command>
																			</flowline>
																			<flowline />
																		</command>
																		<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (.SubStr,&quot;Sourc&quot;,1) == 0' swap='0' >
																			<flowline >
																				<command class_type='comment' title='' comment='Don&apos;t Care' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																			</flowline>
																			<flowline />
																		</command>
																		<command class_type='decision' title='Prescaler / PostScaler' cmdcolor='12615680' cmdcolor_sec='15376912' exp='(Compare$ (.SubStr,&quot;Presc&quot;,1) == 0) || (Compare$ (.SubStr,&quot;Posts&quot;,1) == 0)' swap='0' >
																			<flowline >
																				<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepChildHead' >
																					<argument exp='.SubHandle' />
																				</command>
																				<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																					<exp exp='.TempVar1 = 1' />
																				</command>
																				<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='.TempVar1 != 0' >
																					<flowline >
																						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetSubValue' >
																							<return exp='.TempStr' />
																							<argument exp='.SubHandle' />
																							<argument exp='&quot;name&quot;' />
																						</command>
																						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																							<exp exp='.TempVar1 = Compare$ (.TempStr,&quot;1:1&quot;,1)' />
																						</command>
																						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.TempVar1 != 0' swap='0' >
																							<flowline >
																								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepNext' >
																									<argument exp='.SubHandle' />
																								</command>
																							</flowline>
																							<flowline />
																						</command>
																					</flowline>
																				</command>
																				<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.GetSubValue' >
																					<return exp='.SubStr' />
																					<argument exp='.SubHandle' />
																					<argument exp='&quot;value&quot;' />
																				</command>
																				<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Prv_Parse_String' >
																					<argument exp='.SubStr' />
																					<argument exp='0' />
																				</command>
																				<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																					<exp exp='.TempStr = EnableCode + &quot; &quot;' />
																					<exp exp='.TempStr = .TempStr + .SubStr' />
																				</command>
																				<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
																					<argument exp='this' />
																					<argument exp='&quot;EnableCode&quot;' />
																					<argument exp='.TempStr' />
																				</command>
																			</flowline>
																			<flowline />
																		</command>
																		<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (.SubStr,&quot;Rollo&quot;,1) == 0' swap='0' >
																			<flowline >
																				<command class_type='comment' title='' comment='Don&apos;t Care' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																			</flowline>
																			<flowline />
																		</command>
																		<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																			<exp exp='.ChildCount = .ChildCount - 1' />
																		</command>
																		<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepNext' >
																			<argument exp='.Handle' />
																		</command>
																	</flowline>
																</command>
															</flowline>
															<flowline />
														</command>
														<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepNext' >
															<argument exp='.Handle' />
														</command>
													</flowline>
												</command>
												<command class_type='goto' title='Goto Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='' />
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepParent' >
									<argument exp='.Handle' />
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.count = .count + 1' />
								</command>
								<command class_type='sim' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepNamedIndex' >
									<argument exp='.Handle' />
									<argument exp='&quot;interrupt&quot;' />
									<argument exp='.Count' />
								</command>
								<command class_type='sim' title='Call Component Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Tree.StepSubName' >
									<argument exp='.Handle' />
									<argument exp='&quot;name&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='label' title='Connection Point' cmdcolor='12615680' cmdcolor_sec='15376912' labelid='0' labelname='A' />
						<command class_type='comment' title='' comment='Work out instruction timings' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='sim' title='Get clock speed from fcd' cmdcolor='1879295' cmdcolor_sec='5751039' macro='FCD.GetItemValue' >
							<return exp='.DeviceBits' />
							<argument exp='&quot;device&quot;' />
							<argument exp='&quot;bits&quot;' />
							<argument exp='&quot;8&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;DeviceBits&quot;' />
							<argument exp='.DeviceBits' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='FCD.GetItemValue' >
							<return exp='.MasterDivider' />
							<argument exp='&quot;device.clock&quot;' />
							<argument exp='&quot;master_divider&quot;' />
							<argument exp='&quot;1&quot;' />
						</command>
						<command class_type='sim' title='Get clock speed from fcd' cmdcolor='1879295' cmdcolor_sec='5751039' macro='FCD.GetItemValue' >
							<return exp='.ClockSpeed' />
							<argument exp='&quot;device.clock&quot;' />
							<argument exp='&quot;value&quot;' />
							<argument exp='&quot;20000000&quot;' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;InstructionRate&quot;' />
							<argument exp='.ClockSpeed / .MasterDivider' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.TempFloat = (1.0 / FLOAT InstructionRate) * 1000.0' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;InstructionTime&quot;' />
							<argument exp='.TempFloat' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.TempFloat = FLOAT InstructionRate' />
							<exp exp='.TempFloat = .TempFloat / FLOAT (1 &lt;&lt; BitDepth)' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;RolloverFreq&quot;' />
							<argument exp='.TempFloat' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.TempFloat = 1.0 / .TempFloat' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;RolloverTime&quot;' />
							<argument exp='.TempFloat' />
						</command>
						<command class_type='comment' title='' comment='Global Interrupt Enable - Add to INT Enable Instructions' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
						<command class_type='sim' title='Get clock speed from fcd' cmdcolor='1879295' cmdcolor_sec='5751039' macro='FCD.GetItemValue' >
							<return exp='.SubStr' />
							<argument exp='&quot;inline.interrupt.enable&quot;' />
							<argument exp='&quot;code&quot;' />
							<argument exp='&quot;&quot;' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Prv_Parse_String' >
							<argument exp='.SubStr' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.TempStr = .SubStr + EnableCode' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;EnableCode&quot;' />
							<argument exp='.TempStr' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.ClockSpeed = 4294967295' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.TempFloat = FLOAT .ClockSpeed / FLOAT InstructionRate' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetValue' >
							<argument exp='this' />
							<argument exp='&quot;MaxTimeMeasurement&quot;' />
							<argument exp='.TempFloat' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GetCountMicroSeconds_Sim' description='Returns the count value as a number of whole microseconds, rounded down to the nearest microsecond' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Count' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='FVar' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = (IntCount * TimerDelay) * 1000' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='StopCounter' description='Stops the timer counting.' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<local name='TmrSave' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.TmrSave = 0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 1' swap='0' >
							<flowline >
								<command class_type='native' title='C Code' ccode='FCL_TMRSAVE = Timer_1_CountRegLow;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DeviceBits = 8' swap='0' >
											<flowline >
												<command class_type='native' title='C Code' ccode='FCL_TMRSAVE = FCL_TMRSAVE | (Timer_1_CountRegHigh &lt;&lt; 8);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='native' title='Enable Interrupt' ccode='Timer_1_Disable' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 2' swap='0' >
							<flowline >
								<command class_type='native' title='C Code' ccode='FCL_TMRSAVE = Timer_2_CountRegLow;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DeviceBits = 8' swap='0' >
											<flowline >
												<command class_type='native' title='C Code' ccode='FCL_TMRSAVE = FCL_TMRSAVE | (Timer_2_CountRegHigh &lt;&lt; 8);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='native' title='Enable Interrupt' ccode='Timer_2_Disable' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 3' swap='0' >
							<flowline >
								<command class_type='native' title='C Code' ccode='FCL_TMRSAVE = Timer_3_CountRegLow;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DeviceBits = 8' swap='0' >
											<flowline >
												<command class_type='native' title='C Code' ccode='FCL_TMRSAVE = FCL_TMRSAVE | (Timer_3_CountRegHigh &lt;&lt; 8);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='native' title='Enable Interrupt' ccode='Timer_3_Disable' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 4' swap='0' >
							<flowline >
								<command class_type='native' title='C Code' ccode='FCL_TMRSAVE = Timer_4_CountRegLow;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DeviceBits = 8' swap='0' >
											<flowline >
												<command class_type='native' title='C Code' ccode='FCL_TMRSAVE = FCL_TMRSAVE | (Timer_4_CountRegHigh &lt;&lt; 8);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='native' title='Enable Interrupt' ccode='Timer_4_Disable' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
							</flowline>
							<flowline />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='Running = 0' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='System.TimerStop' >
							<argument exp='0' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Component.Property.SetColor' >
							<argument exp='TimerStatus' />
							<argument exp='0x80' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='TCountSave = .TmrSave' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='ResetCounter' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='calculation' title='Reset Interrupt Counter' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='IntCount = 0' />
							<exp exp='TCountSave = 0' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 1' swap='0' >
							<flowline >
								<command class_type='native' title='C Code' ccode='Timer_1_CountRegLow = 0;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
									<flowline >
										<command class_type='native' title='C Code' ccode='Timer_1_CountRegHigh = 0;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 2' swap='0' >
							<flowline >
								<command class_type='native' title='C Code' ccode='Timer_2_CountRegLow = 0;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
									<flowline >
										<command class_type='native' title='C Code' ccode='Timer_2_CountRegHigh = 0;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 3' swap='0' >
							<flowline >
								<command class_type='native' title='C Code' ccode='Timer_3_CountRegLow = 0;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
									<flowline >
										<command class_type='native' title='C Code' ccode='Timer_3_CountRegHigh = 0;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 4' swap='0' >
							<flowline >
								<command class_type='native' title='C Code' ccode='Timer_4_CountRegLow = 0;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
									<flowline >
										<command class_type='native' title='C Code' ccode='Timer_4_CountRegHigh = 0;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_AddHeader' description='Sent to a component to allow dynamic amendment of header code' >
						<return name='Return' type='u32' description='Non-zero to block header code insertion' isconst='0' isinit='0' usrinit='0' setinit='' />
						<param name='HeadCode' type='T8*' description='Text to amend for header' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<local name='CountVarName' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</local>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = 0' />
						</command>
						<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Expand.VarName' >
							<return exp='.CountVarName' />
							<argument exp='&quot;IntCount&quot;' />
							<argument exp='this' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.HeadCode = .HeadCode + &quot;#define TIM_&quot; + STRING Instance + &quot;_INC &quot; + .CountVarName + &quot;++; \n&quot;' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.HeadCode = .HeadCode + &quot;#define Timer_&quot; + STRING Instance + &quot;_Enable {&quot; + EnableCode + &quot;}\n&quot;' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.HeadCode = .HeadCode + &quot;#define Timer_&quot; + STRING Instance + &quot;_Disable {&quot; + DisableCode + &quot;}\n&quot;' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Compare$ (Family,&quot;PIC&quot;,1) == 0' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.HeadCode = .HeadCode + &quot;#define Timer_&quot; + STRING Instance + &quot;_Handler {&quot; + HandlerCode + &quot;}\n&quot;' />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.HeadCode = .HeadCode + &quot;#define Timer_&quot; + STRING Instance + &quot;_Handler &quot; + HandlerCode + &quot;\n&quot;' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.HeadCode = .HeadCode + &quot;#define Timer_&quot; + STRING Instance + &quot;_CountRegLow &quot; + CountRegLow + &quot;\n&quot;' />
						</command>
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.HeadCode = .HeadCode + &quot;#define Timer_&quot; + STRING Instance + &quot;_CountRegHigh &quot; + CountRegHigh + &quot;\n&quot;' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Prv_Parse_String' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<param name='StrData' type='T8*' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
							<array size='20' />
						</param>
						<param name='CountAndRemove' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Length' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='Index' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='SubIndex' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Length = Length$ (.StrData)' />
							<exp exp='.Index = 0' />
						</command>
						<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='.Index &lt; .Length' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.StrData[.Index] == &apos;\\&apos;' swap='0' >
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='(.StrData[.Index + 1] == &apos;n&apos;) || (.StrData[.Index + 1] == &apos;t&apos;)' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.CountAndRemove &gt; 0' swap='0' >
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.CountAndRemove = .CountAndRemove - 1' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.SubIndex = .Index + 1' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.Index = 0' />
														</command>
														<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='.SubIndex &lt; .Length' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																	<exp exp='.StrData[.Index] = .StrData[.SubIndex + 1]' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																	<exp exp='.Index = .Index + 1' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																	<exp exp='.SubIndex = .SubIndex + 1' />
																</command>
															</flowline>
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.StrData[.SubIndex + 1] = 0' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.Length = Length$ (.StrData)' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.Index = 0' />
														</command>
													</flowline>
													<flowline >
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.StrData[.Index] = &apos; &apos;' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.SubIndex = .Index + 1' />
														</command>
														<command class_type='loop' title='Loop' cmdcolor='12615680' cmdcolor_sec='15376912' type='0' exp='.SubIndex &lt; .Length' >
															<flowline >
																<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																	<exp exp='.StrData[.SubIndex] = .StrData[.SubIndex + 1]' />
																</command>
																<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																	<exp exp='.SubIndex = .SubIndex + 1' />
																</command>
															</flowline>
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.Length = .Length - 1' />
														</command>
														<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
															<exp exp='.StrData[.Length] = 0' />
														</command>
													</flowline>
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline >
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.StrData[.Index] == &apos;}&apos;' swap='0' >
											<flowline >
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='.StrData[.Index + 1] = 0' />
												</command>
												<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
													<exp exp='.Length = Length$ (.StrData)' />
												</command>
											</flowline>
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.StrData[.Index] = &apos;F&apos;' swap='0' >
													<flowline >
														<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.StrData[.Index + 1] = &apos;C&apos;' swap='0' >
															<flowline >
																<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='.StrData[.Index + 2] = &apos;M&apos;' swap='0' >
																	<flowline >
																		<command class_type='comment' title='' comment='Replace &quot;FCM_%n();&quot; with &quot;TIM_X_INC&quot;

' textarea='12,0,12,0' cmdcolor='10944511' cmdcolor_sec='11465458' />
																		<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
																			<exp exp='.StrData[.Index] = &apos;T&apos;' />
																			<exp exp='.StrData[.Index + 1] = &apos;I&apos;' />
																			<exp exp='.StrData[.Index + 2] = &apos;M&apos;' />
																			<exp exp='.StrData[.Index + 3] = &apos;_&apos;' />
																			<exp exp='.StrData[.Index + 4] = Instance + &apos;0&apos;' />
																			<exp exp='.StrData[.Index + 5] = &apos;_&apos;' />
																			<exp exp='.StrData[.Index + 6] = &apos;I&apos;' />
																			<exp exp='.StrData[.Index + 7] = &apos;N&apos;' />
																			<exp exp='.StrData[.Index + 8] = &apos;C&apos;' />
																		</command>
																	</flowline>
																	<flowline />
																</command>
															</flowline>
															<flowline />
														</command>
													</flowline>
													<flowline />
												</command>
											</flowline>
										</command>
									</flowline>
								</command>
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.Index = .Index + 1' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GetCountString_Sim' description='Returns the count value as a floating point string in seconds.' >
						<return name='Return' type='T8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' />
						<param name='Precision' type='u8' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<local name='FVar' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='GetCountReal_Sim' >
							<return exp='.FVar' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = FloatToString$ (.FVar, .Precision)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GetCountReal' description='Returns the count value as a floating point value in seconds.' >
						<return name='Return' type='f32' description='' isconst='0' isinit='0' usrinit='0.0' setinit='' />
						<local name='Count' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='GetRawCount' >
							<return exp='.Count' />
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = InstructionTime * FLOAT .Count' />
							<exp exp='.Return = .Return / 1000.0' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='GetRawCount' description='Efficient command to collect the integer number of instructions since the timer was started.' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Running' swap='0' >
							<flowline >
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 1' swap='0' >
									<flowline >
										<command class_type='native' title='C Code' ccode='FCR_RETVAL = Timer_1_CountRegLow;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DeviceBits = 8' swap='0' >
													<flowline >
														<command class_type='native' title='C Code' ccode='FCR_RETVAL = FCR_RETVAL | (Timer_1_CountRegHigh &lt;&lt; 8);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 2' swap='0' >
									<flowline >
										<command class_type='native' title='C Code' ccode='FCR_RETVAL = Timer_2_CountRegLow;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DeviceBits = 8' swap='0' >
													<flowline >
														<command class_type='native' title='C Code' ccode='FCR_RETVAL = FCR_RETVAL | (Timer_2_CountRegHigh &lt;&lt; 8);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 3' swap='0' >
									<flowline >
										<command class_type='native' title='C Code' ccode='FCR_RETVAL = Timer_3_CountRegLow;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DeviceBits = 8' swap='0' >
													<flowline >
														<command class_type='native' title='C Code' ccode='FCR_RETVAL = FCR_RETVAL | (Timer_3_CountRegHigh &lt;&lt; 8);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
								<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='Instance = 4' swap='0' >
									<flowline >
										<command class_type='native' title='C Code' ccode='FCR_RETVAL = Timer_4_CountRegLow;' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
										<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='RegHighUsed' swap='0' >
											<flowline >
												<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='DeviceBits = 8' swap='0' >
													<flowline >
														<command class_type='native' title='C Code' ccode='FCR_RETVAL = FCR_RETVAL | (Timer_4_CountRegHigh &lt;&lt; 8);' cmdcolor='7687168' cmdcolor_sec='8152576' language='C' />
													</flowline>
													<flowline />
												</command>
											</flowline>
											<flowline />
										</command>
									</flowline>
									<flowline />
								</command>
							</flowline>
							<flowline >
								<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
									<exp exp='.Return = TCountSave' />
								</command>
							</flowline>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='16760919' cmdcolor_sec='16760832' >
							<exp exp='.Return = .Return + (IntCount &lt;&lt; BitDepth)' />
						</command>
					</flowline>
				</macro>
				<macro >
					<flowline name='Main' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='Prv_ParseFCDTimers' />
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='StartCounter' >
							<argument exp='1' />
						</command>
						<command class_type='call' title='Call Macro' cmdcolor='1879295' cmdcolor_sec='5751039' macro='StopCounter' />
					</flowline>
				</macro>
				<macro >
					<flowline name='Ev_Resume' description='Broadcast to all components that simulation has resumed' >
						<return name='Return' type='u32' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
						<command class_type='decision' title='Decision' cmdcolor='12615680' cmdcolor_sec='15376912' exp='running' swap='0' >
							<flowline >
								<command class_type='sim' title='Simulation' cmdcolor='1879295' cmdcolor_sec='5751039' macro='System.TimerStart' >
									<argument exp='0' />
									<argument exp='TimerDelay' />
								</command>
							</flowline>
							<flowline />
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='4cbae05a-fee8-4685-b94c-829abc3466ab' vmin='0' vmaj='1' codename='shape_cuboid1' x='0' y='0' z='-0.51' xsz='1.5625' ysz='0.625' zsz='0.03125' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='1973790' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='93c4effe-9d15-4a15-a750-f47d206143a7' vmin='0' vmaj='1' codename='TimerStatus' x='-20' y='5' z='0' xsz='0.12' ysz='0.12' zsz='0.12' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='128' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0' />
					<value target='Image' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label1' x='0' y='5' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='Timer' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='d497dced-8e07-49d5-a9f9-4e67c43cb186' vmin='2' vmaj='1' codename='bezel_radiused1' x='0' y='0' z='-0.51' xsz='52' ysz='22' 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' >
				<resources />
				<properties />
				<values >
					<value target='bezel_thick' data='1.000000' />
					<value target='margin' data='0.000000' />
					<value target='color' data='3947580' />
					<value target='fit_outside' data='0' />
					<value target='fit_inside' data='0' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='9a971ee1-28e0-4e47-9c09-71268383fc75' vmin='0' vmaj='1' codename='shape_label2' x='0' y='-5' z='0' xsz='0.8' ysz='0.8' zsz='0.8' 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' >
				<resources />
				<properties />
				<values >
					<value target='Color' data='16777215' />
					<value target='Background' data='-1' />
					<value target='Font' data='Arial' />
					<value target='Text' data='0.000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='shape' codename='shape1' x='20' y='5' z='0' xsz='3.84' ysz='3.84' zsz='3.84' 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' >
				<resources />
				<properties />
				<values >
					<value target='Shape' data='101' />
					<value target='Color' data='16777215' />
					<value target='Outline' data='0' />
					<value target='Thickness' data='0' />
					<value target='Image' data='this:Timer.png' />
					<value target='Model' data='' />
					<value target='Unit' data='' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<scadaresourcelookup />
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' >
		<background rgb='2105930' img='' style='0' />
		<camera xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
	</panel2d>
	<panel3d shadows='1' lighting='2' brightness='0' perspective='1' >
		<background rgb='7895160' img='' style='0' />
		<table rgb='8388608' img='' style='0' size='0' />
		<camera xe='-0.416198' ye='0.687414' ze='74.5156' xt='-0.416198' yt='0.687414' 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='GetRawCount' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetCountReal_Sim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetCountReal' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetCountString_Sim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetCountString' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetCountSeconds' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetCountMilliseconds' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetCountMicroSeconds' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='ResetCounter' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='StopCounter' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='465' flags='0' />
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_ParseTimerProperties' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='StartCounter' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_AddHeader' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_ParseFCDTimers' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Timer' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Initialise' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Stop' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetCountSeconds_Sim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetCountMilliseconds_Sim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='GetCountMicroSeconds_Sim' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Resume' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Pause' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_AddInterrupts' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Ev_Property' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
		<view type='0' name='Prv_Parse_String' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA8QQAAH4DAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
