//****************************************************************************//
// Project : Simulator
// Author  : JR (c) RAISONANCE S.A. 2003
//****************************************************************************//
// File    : ST72-TEST.SIM
// Purpose : File to define the ST72-TEST simulator.
//
// Modification :
// BRD: 070105: Creation (ST72-TEST)
//****************************************************************************//

[Description]
Name = ST72-TEST

//****************************************************************************//
// Space
//****************************************************************************//
[Space]
CodeSize = 0xB000
CodeStart = 0x5000
RAMSize = 0x4000
RAMStart = 0x80
StackSize = 0x100
StackStart = 0x100
Page1Start = 0x100
HardSize = 0xFF
EEPROMSize = 0
EEPROMStart = 0
Flash1EPROM0 = 1

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

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

//****************************************************************************//
// External interrupts
//****************************************************************************//
[ExtInterrupt]
intAddr0 = 0xFFF6
intPort0 = 0x0F00
intConf0 = 0x041828
intPrio0 = 0x3024
intAddr1 = 0xFFF4
intPort1 = 0x0705
intConf1 = 0x001828
intPrio1 = 0xC024
intAddr2 = 0xFFF2
intPort2 = 0x0F01
intConf2 = 0x20C028
intPrio2 = 0x0325
intAddr3 = 0xFFF0
intPort3 = 0xF001
intConf3 = 0x00C028
intPrio3 = 0x0C25
intAddr4 = 0
intPort4 = 0
intConf4 = 0
intPrio4 = 0
intAddr5 = 0
intPort5 = 0
intConf5 = 0
intPrio5 = 0
intAddr6 = 0
intPort6 = 0
intConf6 = 0
intPrio6 = 0
0 = 12324
1 = 49188
2 = 805
3 = 3109
4 = 0
5 = 0
6 = 0

//****************************************************************************//
// Core
//****************************************************************************//
[Core]
JRIHMask = 2
PeriphRegSet = 2

//****************************************************************************//
// SCI
//****************************************************************************//
[SCI]
SCIconfig0 = 0x100
SCIIntConf0 = 0xFFE63026
SCIconfig1 = 0
SCIIntConf1 = 0

SCIName = ST72321

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

//****************************************************************************//
// SPI
//****************************************************************************//
[SPI]
SPIconfig = 0x24252726
SPIIntConf = 0xFFECC025

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