<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="../XSLT/decoder.xsl"?>
<!DOCTYPE decoder-config SYSTEM "../DTD/decoder-config.dtd">

<!-- Copyright (C) JMRI 2002 All rights reserved -->
<!-- $Id: MRC_14step.xml,v 1.6 2007/09/21 05:49:32 jacobsen Exp $ -->
<!--                                                                        -->
<!-- JMRI is free software; you can redistribute it and/or modify it under  -->
<!-- the terms of version 2 of the GNU General Public License as published  -->
<!-- by the Free Software Foundation. See the "COPYING" file for a copy     -->
<!-- of this license.                                                       -->
<!--                                                                        -->
<!-- JMRI is distributed in the hope that it will be useful, but WITHOUT    -->
<!-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or  -->
<!-- FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License  -->
<!-- for more details.                                                      -->

<decoder-config>
		<version author="Bob Jacobsen" version="1" lastUpdated="20020405"/>

<decoder>
	<family name="MRC 14 step decoders" mfg="MRC">
		<model model="AD305" comment="14 step only" />
	</family>

	<programming direct="no" paged="no" 
	                     register="yes" ops="no"></programming>

	<variables>
		
		<!-- Register 1 -->
		<variable label="Primary Address" CV="1" comment="Short address"
						item="Short Address"  default="03">
			<shortAddressVal/></variable>

		<!-- Register 2 -->
		<variable label="Vstart" CV="2"
						comment="A value of 255 corresponds to 100%">
			<decVal/></variable>

		<!-- Register 3 -->
		<variable label="Acceleration Rate" CV="3"
						item="Accel" >
			<decVal max="31"/></variable>

		<!-- Register 4 -->
		<variable label="Deceleration Rate" CV="4"
						item="Decel">
			<decVal max="31"/></variable>

		<!-- Register 5 -->
		<variable label="Locomotive Direction" CV="29" mask="XXXXXXXV">
			<enumVal>
				<enumChoice choice="normal"/>
				<enumChoice choice="reversed"/>
				</enumVal></variable>


		<!-- Register 7 -->
		<variable label="Manufacturer Version No" CV="7" readOnly="yes"
						item="Decoder Version"><decVal/></variable>

		<!-- Register 8 -->
		<variable label="Manufacturer ID" CV="8" readOnly="yes"
						item="Manufacturer">			<decVal/></variable>
	
	</variables>
</decoder>
</decoder-config>
