<?xml version="1.0" encoding="UTF-8"?>
<chip>
	<configure-file-ver>1.0</configure-file-ver>
	<chip-name>HS2247PT</chip-name>
	<chip-classes>RF MCU</chip-classes>
	<chip-id>5B</chip-id>
	<chip-ver>0</chip-ver>
	<ccs-file-ver>4</ccs-file-ver>
	<ram-start-addr>0</ram-start-addr>
	<ram-size>80</ram-size>
	<otp-body-size>512</otp-body-size>
	<user-rom-size>512</user-rom-size>
	<reset-addr>0</reset-addr>
	<stack-level>5</stack-level>
	<config-word-count>5</config-word-count>
	<max-breakpoint>16</max-breakpoint>	
	<asm-inc>$(DevEnvDir)\asm_inc\$(ChipName).inc</asm-inc>
	<clang-inc>$(DevEnvDir)\include\$(ChipName).h</clang-inc>		
	<description></description>
	<rams>
	</rams>
	<configs>
		<config-word index="0" or-value="0000" and-value="ffff" mapto="0"></config-word>
		<config-word index="1" or-value="0000" and-value="ffff" mapto="1"></config-word>
	
		<config-item name="时钟分频" width="2" offset="4" default-value="0" enable="true" config-index="0">
			<config-item-value name="1'clock" value="0"></config-item-value>
			<config-item-value name="2'clock" value="1"></config-item-value>
			<config-item-value name="4'clock" value="2"></config-item-value>
			<config-item-value name="8'clock" value="3"></config-item-value>
			<description></description>
		</config-item>	
		<config-item name="看门狗" width="1" offset="6" default-value="0" enable="true" config-index="0">
			<config-item-value name="Enable" value="0"></config-item-value>
			<config-item-value name="Disable" value="1"></config-item-value>
			<description>看门狗</description>
		</config-item>	
		<config-item name="加密" width="1" offset="0" default-value="0" enable="true" config-index="1">
			<config-item-value name="Disable" value="0"></config-item-value>
			<config-item-value name="Enable" value="1"></config-item-value>
			<description>加密</description>
		</config-item>			
		<config-item name="读周期" width="2" offset="1" default-value="0" enable="true" config-index="1">
			<config-item-value name="Full Cycle" value="0"></config-item-value>
			<config-item-value name="1/2 Cycle" value="2"></config-item-value>
			<config-item-value name="1/4 Cycle" value="3"></config-item-value>
			<description></description>
		</config-item>			
	</configs>
	
	<sfrs>
		<sfr>			
		</sfr>	
	</sfrs>
	<insts>
		<inst name="call" value="1800" mask-value="1c00"/>
		<inst name="return" value="000c" mask-value="1fff"/>
		<inst name="return" value="0008" mask-value="1fff"/>
	</insts>
	<compilers>
		<compiler>	
			<compiler-item type="c" name="cc1" command-path="$(DevEnvDir)\cc1.exe">
				<option>-chip $(ChipName) -rom-size $(UserRomSize) -banks 1 -ram-bank 18-37 -common 30-37 -rst-addr 00h -int-addr 08h -tran-exe ptran5.exe  -debug false  -prj-name "$(ProjectName)" -work-dir "$(ProjectDir)" -output-dir "$(OutDir)" -picc-path "$(CompilerPath)" -config "$(ConfigWord)" -out-type $(ProjectType) "-I$(DevEnvDir)\include" $AddEndponitStrForeach('"','"',$AddEndponitStrForeach('-I','',$GetFolders('?'),'?','?'),'?',' ') $AddEndponitStrForeach('"','"',$GetFiles('.c;.lpp','?'),'?',' ')</option>
				<action-before-compile>
				</action-before-compile> 
				<action-after-compile >
					<action-item  name="ccs_e" command-path="$(DevEnvDir)\ccs_e.exe">"$(ProjectDir)\$(ProjectName).ccs" -E</action-item>
				</action-after-compile>
			</compiler-item>
			<compiler-item type="asm" name="ac0" command-path="$(DevEnvDir)\ac0.exe">
				<option>-chip $(ChipName) -rom-size $(UserRomSize) -ram-start $(RamStartAddr) -ram-size $(RamSize) -reset-addr $(ResetAddr) -inst-set INST_SET_2303 -otp-body-size $(OtpBodySize) -debug false -symbol-file true  -listfile true -workdir "$(ProjectDir)" -include-path "$GetFolders(';')" -file "$(EntryFile)" -output "$(OutDir)" -project-name "$(ProjectName)" -config "$(ConfigWord)"</option>
				<action-before-compile>
				</action-before-compile>
				<action-after-compile>
					<action-item  name="ccs_e" command-path="$(DevEnvDir)\ccs_e.exe">"$(ProjectDir)\$(ProjectName).ccs" -E</action-item>
				</action-after-compile>
			</compiler-item>
			<compiler-item type="c" name="cc1" out-type="lib" command-path="$(DevEnvDir)\cc1.exe">
				<option>-chip $(ChipName) -rom-size $(UserRomSize) -banks 1 -ram-bank 18-37 -common 30-37 -rst-addr 00h -int-addr 08h -tran-exe ptran5.exe  -debug false  -prj-name "$(ProjectName)" -work-dir "$(ProjectDir)" -output-dir "$(OutDir)" -picc-path "$(CompilerPath)" -config "$(ConfigWord)" -out-type $(ProjectType) "-I$(DevEnvDir)\include" $AddEndponitStrForeach('"','"',$AddEndponitStrForeach('-I','',$GetFolders('?'),'?','?'),'?',' ') $AddEndponitStrForeach('"','"',$GetFiles('.c;.lpp','?'),'?',' ')</option>
			</compiler-item>			
		</compiler>	
	</compilers>
	<debugers>	
	</debugers>
	<editor-language>
		<c-lang name="c1-lang"/>
		<asm-lang name="asm2-lang"/>
	</editor-language>	
</chip>