/*
This file is part of JOP, the Java Optimized Processor
see <http://www.jopdesign.com/>
Copyright (C) 2001-2008, Martin Schoeberl (martin@jopdesign.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program 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.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* Created on 12.04.2004
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package jbe.kfl;
/**
* @author martin
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class Const {
public static final int IO_CNT = 0;
public static final int IO_INT_ENA = 0;
public static final int IO_US_CNT = 1;
public static final int IO_TIMER = 1;
public static final int IO_SWINT = 2;
public static final int IO_WD = 3;
public static final int IO_STATUS = 4;
public static final int IO_UART = 5;
public static final int MSK_UA_TDRE = 1;
public static final int MSK_UA_RDRF = 2;
// BG263
public static final int IO_STATUS2 = 6;
public static final int IO_UART2 = 7;
public static final int IO_STATUS3 = 8;
public static final int IO_UART3 = 9;
public static final int IO_DISP = 10;
public static final int IO_BG = 12;
// TAL
public static final int IO_IN = 10;
public static final int IO_LED = 10;
public static final int IO_OUT = 11;
public static final int IO_ADC1 = 12;
public static final int IO_ADC2 = 13;
public static final int IO_ADC3 = 8;
public static final int IO_CTRL = 14;
public static final int IO_DATA = 15;
// OSSI
public static final int IO_PWM = 6;
// new naming for UART base address
public static final int IO_UART1_BASE = 4;
public static final int IO_UART_BG_MODEM_BASE = 6;
public static final int IO_UART_BG_GPS_BASE = 8;
}