<root>
<document schema='101' license='1,stefan.erni,BAY7TW' title='' description='' target='ARM.F4.32F469Discovery' >
	<config data='!0,1!20,2!40,8!60,168!80,2!a0,7!c0,6!e0,2!100,1!120,4!140,2!160,5%0,1%20,2%40,8%60,168%80,2%a0,7%c0,6%e0,2%100,1%120,4%140,2%160,5' clkspd='8000000' simspd='1' usewdt='0' constif='0' />
	<plugins >
		<dll_dbg_icd enabled='0' >
			<data name='debug' value='1' />
			<data name='userpins' value='0' />
			<data name='speed' value='0' />
			<data name='usev9' value='0' />
			<data name='breaks' value='8' />
			<data name='stacks' value='8' />
			<data name='clkport' value='1' />
			<data name='clkbit' value='6' />
			<data name='dataport' value='1' />
			<data name='databit' value='7' />
			<data name='ghostype' value='0' />
			<data name='monitor' value='1' />
			<data name='ictloop' value='0' />
			<data name='ictrate' value='20000' />
			<data name='ictmask' value='0' />
			<data name='anlpres' value='19' />
			<data name='digmask1' value='-1' />
			<data name='digmask2' value='-1' />
		</dll_dbg_icd>
		<dll_upgrader enabled='1' />
		<dll_webhelp enabled='1' />
	</plugins>
	<supplement use='0' head='' body='' />
	<debug />
	<components >
		<settings autoimg='1' center='1' unitscale='0' fixedscale='0' fixedx='1' fixedy='1' fixedz='1' headcode='0' />
		<definition guid='66cfc96c-d09c-45fd-b51c-36cf223f16db' vstate='40' vmin='0' vmaj='1' srcleaf='' visiblename='' description='' category='' catenable='1' author='' manuname='' manucode='' sysinfo='0' keywords='' dynamic='1' iconpath='' />
		<component class_type='root' codename='panel2' 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' interactive='1' solid='1' layer='0' poslock='0' >
			<resources />
			<properties />
			<values />
			<events />
			<apis />
			<variables >
				<variable public='0' >
					<def class_type='variable' name='touched' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='input_a' type='u16' description='' isconst='0' isinit='0' usrinit='0' setinit='' />
				</variable>
				<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='buffer_manager' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='key' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='x_axis' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='graph_y' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='graph_x' type='u32' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='wait' type='u16' description='' isconst='0' isinit='1' usrinit='10' setinit='10' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='graph_array' type='u8' description='' isconst='0' isinit='0' usrinit='&quot;&quot;' setinit='' >
						<array size='800' />
					</def>
				</variable>
				<variable public='0' >
					<def class_type='variable' name='lcd_bc' type='b1' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='y_axis' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='graph_data' type='u16' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='Ready' type='u8' description='' isconst='0' isinit='1' usrinit='0' setinit='0' />
				</variable>
				<variable public='0' >
					<def class_type='variable' name='bar_1' type='u16' 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>
			</variables>
			<macros >
				<macro >
					<flowline name='LCD_Ready' description='' >
						<return name='Return' type='v0' description='' isconst='0' isinit='0' usrinit='' setinit='' />
						<command class_type='interrupt' title='Interrupt' disable='1' cmdcolor='3610239' cmdcolor_sec='3610239' enable='1' name='LCD' call='LCD_Ready' >
							<settings timer='0' prescale='-1' postscale='-1' rollover='-1' bitcount='-1' trigger='3' maskhi='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' masklo='--------------------------------------------------------------------------------------------------------------------------------------------------------------------------8' >
								<option value='0' />
								<option value='0' />
								<option value='0' />
								<option value='0' />
							</settings>
						</command>
						<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Ready = 1' />
						</command>
						<command class_type='calculation' title='Calculation' disable='1' cmdcolor='7895044' cmdcolor_sec='7895044' >
							<exp exp='Ready = 0' />
						</command>
						<command class_type='loop' title='Wait for LCD draw to complete' disable='1' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='Ready = 0' >
							<flowline />
						</command>
						<command class_type='comment' title='' comment='Draw between LCD refreshes to avoid flicker' textarea='12,0,12,0' cmdcolor='1975743' cmdcolor_sec='1975743' />
					</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 Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='DSPSystem1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='DSPFreqGen1' macro='Generate' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD_STM32F469NI1' macro='Initialise' />
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD_STM32F469NI1' macro='SetBackgroundColour' >
							<argument exp='0' />
							<argument exp='0' />
							<argument exp='0' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD_STM32F469NI1' macro='SetForegroundColour' >
							<argument exp='255' />
							<argument exp='255' />
							<argument exp='255' />
						</command>
						<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD_STM32F469NI1' macro='ClearDisplay' />
						<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='0' exp='1' >
							<flowline >
								<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
								<command class_type='call' title='Call Macro' cmdcolor='1975743' cmdcolor_sec='1975743' macro='' />
								<command class_type='loop' title='Loop' cmdcolor='3568629' cmdcolor_sec='3568629' type='2' exp='800' >
									<flowline >
										<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
											<exp exp='graph_x = graph_x + 1' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='DSPSystem1' macro='SetBuffer_Idx' >
											<argument exp='0' />
											<argument exp='graph_x' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='DSPSystem1' macro='GetBuff' >
											<return exp='graph_y' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD_STM32F469NI1' macro='SetForegroundColour' >
											<argument exp='255' />
											<argument exp='255' />
											<argument exp='255' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD_STM32F469NI1' macro='Plot' >
											<argument exp='graph_x' />
											<argument exp='graph_y' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='DSPSystem1' macro='SetBuffer_Idx' >
											<argument exp='1' />
											<argument exp='graph_x' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='DSPSystem1' macro='GetBuff' >
											<return exp='graph_y' />
											<argument exp='1' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='DSPFilter1' macro='Filter' />
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD_STM32F469NI1' macro='SetForegroundColour' >
											<argument exp='255' />
											<argument exp='0' />
											<argument exp='0' />
										</command>
										<command class_type='call' title='Call Component Macro' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD_STM32F469NI1' macro='Plot' >
											<argument exp='graph_x' />
											<argument exp='graph_y' />
										</command>
									</flowline>
								</command>
								<command class_type='delay' title='Delay' cmdcolor='7895044' cmdcolor_sec='7895044' exp='1' type='2' />
								<command class_type='call' title='Call Component Macro' disable='1' cmdcolor='1975743' cmdcolor_sec='1975743' component='GLCD_STM32F469NI1' macro='ClearDisplay' />
								<command class_type='calculation' title='Calculation' cmdcolor='7895044' cmdcolor_sec='7895044' >
									<exp exp='graph_x = 0' />
								</command>
							</flowline>
						</command>
					</flowline>
				</macro>
			</macros>
			<component class_type='ref' guid='5bd73e47-8060-4677-a1a3-6191ceb924b7' vmin='0' vmaj='1' codename='GLCD_STM32F469NI1' x='154.465' y='-14.95' z='1.925' xsz='25' ysz='25' zsz='25' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pixel_height' data='480' />
					<value target='pixel_width' data='800' />
					<value target='monochrome' data='' />
					<value target='foreground_colour' data='0' />
					<value target='background_colour' data='65535' />
					<value target='colour_bit_depth' data='24' />
					<value target='red_bit_depth' data='8' />
					<value target='green_bit_depth' data='8' />
					<value target='blue_bit_depth' data='8' />
					<value target='FGCOL' data='4278190080' />
					<value target='BGCOL' data='4294967040' />
					<value target='DisplayMethod' data='000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_1' x='-345.535' y='-204.95' z='-1.925' xsz='6.41026' ysz='6.41026' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTG.6' />
					<value target='polarity' data='000' />
					<value target='on_color' data='8453975' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_2' x='-349.464' y='-64.95' z='1.925' xsz='6.41026' ysz='6.41026' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTD.4' />
					<value target='polarity' data='000' />
					<value target='on_color' data='5734655' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_3' x='-349.464' y='75.05' z='1.925' xsz='6.41026' ysz='6.41026' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTD.5' />
					<value target='polarity' data='000' />
					<value target='on_color' data='4325631' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='7fdaec78-394e-4ec9-a578-4f1a12a12076' vmin='1' vmaj='1' codename='led_4' x='-349.464' y='215.05' z='1.925' xsz='6.41026' ysz='6.41026' zsz='1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='pin' data='$PORTK.3' />
					<value target='polarity' data='000' />
					<value target='on_color' data='12592128' />
					<value target='show_label' data='001' />
					<value target='label_property' data='pin' />
					<value target='label_color' data='16777215' />
					<value target='label_scale' data='1.000000' />
					<value target='label_auto_scale' data='0' />
					<value target='label_position' data='003' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='917f243e-4102-4bee-9998-81f18bc6ca9d' vmin='2' vmaj='1' codename='DSPSystem1' x='160' y='310' z='0' xsz='60' ysz='60' zsz='5.1' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='buffer_count' data='002' />
					<value target='simple_mode' data='1' />
					<value target='DSPsystem_ID' data='1' />
					<value target='buff_a_name' data='Buffer A' />
					<value target='buff_b_name' data='Buffer B' />
					<value target='buff_c_name' data='Buffer C' />
					<value target='buff_d_name' data='Buffer D' />
					<value target='buff_e_name' data='Buffer E' />
					<value target='buff_f_name' data='Buffer F' />
					<value target='buff_g_name' data='Buffer G' />
					<value target='buff_h_name' data='Buffer H' />
					<value target='buff_a_depth' data='000' />
					<value target='buff_a_sign' data='001' />
					<value target='buff_a_size' data='800' />
					<value target='buff_b_depth' data='000' />
					<value target='buff_b_sign' data='001' />
					<value target='buff_b_size' data='800' />
					<value target='buff_c_depth' data='000' />
					<value target='buff_c_sign' data='001' />
					<value target='buff_c_size' data='800' />
					<value target='buff_d_depth' data='000' />
					<value target='buff_d_sign' data='001' />
					<value target='buff_d_size' data='800' />
					<value target='buff_e_depth' data='000' />
					<value target='buff_e_sign' data='001' />
					<value target='buff_e_size' data='800' />
					<value target='buff_f_depth' data='000' />
					<value target='buff_f_sign' data='001' />
					<value target='buff_f_size' data='800' />
					<value target='buff_g_depth' data='000' />
					<value target='buff_g_sign' data='001' />
					<value target='buff_g_size' data='800' />
					<value target='buff_h_depth' data='000' />
					<value target='buff_h_sign' data='001' />
					<value target='buff_h_size' data='800' />
					<value target='buff_simp_depth' data='000' />
					<value target='buff_simp_sign' data='001' />
					<value target='buff_simp_size' data='800' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='cbe42abc-5955-44da-a6d0-03e7cbcdcaca' vmin='2' vmaj='1' codename='DSPFreqGen1' x='-200' y='320' z='0' xsz='90' ysz='60' zsz='5.965' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='buffer_manager' data='001' />
					<value target='input_a' data='000' />
					<value target='size_a' data='800' />
					<value target='depth_a' data='000' />
					<value target='sign_a' data='001' />
					<value target='max_a' data='255' />
					<value target='min_a' data='0' />
					<value target='buffername' data='' />
					<value target='wave_type' data='000' />
					<value target='wave_amplitude' data='255' />
					<value target='wave_offset' data='127' />
					<value target='wave_period' data='100' />
					<value target='wave_duty' data='000' />
					<value target='wave_phase' data='000' />
					<value target='wave_data' data='127,135,143,150,158,166,174,181,188,195,202,208,214,220,225,230,235,239,242,246,248,250,252,253,254,255,254,253,252,250,248,246,242,239,235,230,225,220,214,208,202,195,188,181,174,166,158,150,143,135,127,119,111,104,96,88,80,73,66,59,52,46,40,34,29,24,19,15,12,8,6,4,2,1,0,0,0,1,2,4,6,8,12,15,19,24,29,34,40,46,52,59,66,73,80,88,96,104,111,119' />
					<value target='PeriodOffset' data='1.000000' />
					<value target='sample_rate' data='10.000000' />
					<value target='calc_period' data='10.000000' />
					<value target='calc_freq' data='0.100000' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
			<component class_type='ref' guid='317efb6a-2bad-4f83-a0bc-4ada0f4cd51e' vmin='3' vmaj='1' codename='DSPFilter1' x='0' y='320' z='0' xsz='55' ysz='32' zsz='5.965' xang='0' yang='0' zang='0' xquat='0' yquat='0' zquat='0' wquat='1' visible='1' interactive='1' solid='1' layer='0' poslock='0' >
				<resources />
				<properties />
				<values >
					<value target='buffer_manager' data='001' />
					<value target='input_a' data='000' />
					<value target='output_c' data='001' />
					<value target='size_a' data='800' />
					<value target='size_o' data='800' />
					<value target='depth_a' data='000' />
					<value target='depth_o' data='000' />
					<value target='sign_a' data='001' />
					<value target='sign_o' data='001' />
					<value target='type' data='001' />
					<value target='coef0' data='10' />
					<value target='coef1' data='5120' />
					<value target='cutoff_shift1' data='0' />
					<value target='cutoff_shift2' data='0' />
					<value target='order' data='011' />
					<value target='co0' data='1.000000' />
					<value target='co1' data='1.000000' />
					<value target='co2' data='1.000000' />
					<value target='co3' data='1.000000' />
					<value target='co4' data='1.000000' />
					<value target='co5' data='1.000000' />
					<value target='co6' data='1.000000' />
					<value target='co7' data='1.000000' />
					<value target='co8' data='1.000000' />
					<value target='co9' data='1.000000' />
					<value target='co10' data='1.000000' />
					<value target='co11' data='1.000000' />
					<value target='cob0' data='1.000000' />
					<value target='cob1' data='1.000000' />
					<value target='sample_rate' data='10.000000' />
					<value target='nyquist' data='5.000000' />
					<value target='cut_off_0' data='0.500000' />
					<value target='cut_off_1' data='0.000977' />
				</values>
				<events />
				<apis />
				<variables />
				<macros />
			</component>
		</component>
	</components>
	<keymap />
	<panel2d shadows='0' lighting='2' brightness='0' perspective='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='0' lighting='2' brightness='0' perspective='1' >
		<background rgb='8409120' img='' style='0' />
		<table rgb='7360576' img='' style='0' size='23' />
		<camera xe='143.945' ye='69.4701' ze='1793.44' xt='143.945' yt='69.4701' zt='0.0747283' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey0 xe='0' ye='0' ze='300' xt='0' yt='0' zt='0' xquat='0' yquat='0' zquat='0' wquat='1' />
		<camerakey1 xe='-3.67394e-14' ye='0' ze='-300' xt='0' yt='0' zt='0' xquat='0' yquat='1' zquat='0' wquat='6.12323e-17' />
		<camerakey2 xe='0' ye='-300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.707107' yquat='0' zquat='0' wquat='0.707107' />
		<camerakey3 xe='-3.67394e-14' ye='300' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-4.32978e-17' yquat='0.707107' zquat='0.707107' wquat='4.32978e-17' />
		<camerakey4 xe='-300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='0.5' zquat='0.5' wquat='0.5' />
		<camerakey5 xe='300' ye='-6.66134e-14' ze='6.66134e-14' xt='0' yt='0' zt='0' xquat='-0.5' yquat='-0.5' zquat='-0.5' wquat='0.5' />
		<camerakey6 xe='-173.205' ye='-173.205' ze='173.205' xt='0' yt='0' zt='0' xquat='-0.424708' yquat='0.17592' zquat='0.339851' wquat='0.820473' />
	</panel3d>
	<layout >
		<view type='0' name='Main' mode='0' placement='LAAAAAAAAAABAAAA---------------------wUAAAAYAAAA2gIAAAIFAAA' zoom='75' scrollx='0' scrolly='0' flags='0' />
	</layout>
</document>
</root>
