//****************************************************************************//
// Project : Simulator
// Author  : JR (c) RAISONANCE S.A. 2004
//****************************************************************************//
// File    : ST7LITE39.SIM
// Purpose : File to define the ST7LITE39 simulator.
//
// Modification :
// JR: 14/01/2004: Creation
//****************************************************************************//

[Description]
Name = ST7LITE39

//****************************************************************************//
// Space
//****************************************************************************//
[Space]
CodeSize = 0x2000
CodeStart = 0xE000
StackSize = 0x80
StackStart = 0x180
Page1Start = 0x100
RAMSize = 0x180
RAMStart = 0x80
HardSize = 0x7F
EEPROMSize = 0x100
EEPROMStart = 0x1000
Flash1EPROM0 = 0x2F

//****************************************************************************//
// Timer
//****************************************************************************//
[Timer]
HasClockManager = 0
WDGconfig = 0x3412E

//****************************************************************************//
// Port
//****************************************************************************//
[Ports]
PA_MASK = 0xFF
PA_DR = 0x00
PA_MASK_ADC = 0x00
PB_MASK = 0x7F
PB_DR = 0x03
PB_MASK_ADC = 0
PC_MASK = 0
PC_DR = 0
PC_MASK_ADC = 0
PD_MASK = 0
PD_DR = 0
PD_MASK_ADC = 0
PE_MASK = 0
PE_DR = 0
PE_MASK_ADC = 0
PF_MASK = 0
PF_DR = 0
PF_MASK_ADC = 0
PG_MASK = 0
PG_DR = 0
PG_MASK_ADC = 0
PH_MASK = 0
PH_DR = 0
PH_MASK_ADC = 0

//****************************************************************************//
// External interrupts
//****************************************************************************//
[ExtInterrupt]
intAddr0 = 0xFFF8
intPort0 = 0x0100
intConf0 = 0x000337
intPrio0 = 0xFF
intAddr1 = 0xFFF6
intPort1 = 0x8000
intConf1 = 0x000C37
intPrio1 = 0xFF
intAddr2 = 0xFFF4
intPort2 = 0x0801
intConf2 = 0x003037
intPrio2 = 0xFF
intAddr3 = 0xFFF2
intPort3 = 0x0101
intConf3 = 0x00C037
intPrio3 = 0xFF
intAddr4 = 0
intPort4 = 0
intConf4 = 0
intPrio4 = 0
intAddr5 = 0
intPort5 = 0
intConf5 = 0
intPrio5 = 0
intAddr6 = 0
intPort6 = 0
intConf6 = 0
intPrio6 = 0

//****************************************************************************//
// Core
//****************************************************************************//
[Core]
JRIHMask = 3
PeriphRegSet = 5

//****************************************************************************//
// SCI
//****************************************************************************//
[SCI]
SCIconfig0 = 0x1607
SCIIntConf0 = 0xFFEE00FF
SCIconfig1 = 0
SCIIntConf1 = 0

SCIName = ST7LITE3

//****************************************************************************//
// I2C
//****************************************************************************//
[I2C]
I2Cconfig = 0
I2CIntConf = 0

//****************************************************************************//
// SPI
//****************************************************************************//
[SPI]
SPIconfig = 0x12131110
SPIIntConf = 0xFFE200FF

//****************************************************************************//
// ADC
//****************************************************************************//
[ADC]
ADCconfig = 0x63
ADCIntConf = 0
