//****************************************************************************//
// Project : Simulator
// Author  : JR (c) RAISONANCE S.A. 2004
//****************************************************************************//
// File    : ST72345S4.SIM
// Purpose : File to define the ST72344x2 simulator.
//
// Modification :
// VC: 051205: Creation (ST72344x2) 
// FL: 060929: 
//****************************************************************************//

[Description]
Name = ST72344S4

//****************************************************************************//
// Space
//****************************************************************************//
[Space]
CodeSize = 0x4000
CodeStart = 0xC000
StackSize = 0x100
StackStart = 0x100
Page1Start = 0x100
RAMSize = 0x400
RAMStart = 0x80
HardSize = 0x7F
EEPROMSize = 0x100
EEPROMStart = 0x1000
Flash1EPROM0 = 0x2F

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

//****************************************************************************//
// Port
//****************************************************************************//
[Ports]
PA_MASK = 0xF8
PA_DR = 0x00
PA_MASK_ADC = 0
PB_MASK = 0x1F
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 = 0xFF
PE_MASK = 0x03
PE_DR = 0x0C
PE_MASK_ADC = 0
PF_MASK = 0xD7
PF_DR = 0x0F
PF_MASK_ADC = 0

//****************************************************************************//
// External interrupts
//****************************************************************************//
[ExtInterrupt]
intAddr0 = 0xFFF6
intPort0 = 0x0800
intConf0 = 0x041828
intPrio0 = 0x3024
intAddr1 = 0xFFF4
intPort1 = 0x0705
intConf1 = 0x001828
intPrio1 = 0xC024
intAddr2 = 0xFFF2
intPort2 = 0x0F01
intConf2 = 0x20C028
intPrio2 = 0x0325
intAddr3 = 0xFFF0
intPort3 = 0x1001
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

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

//****************************************************************************//
// SCI
//****************************************************************************//
[SCI]
SCIconfig0 = 0x4140
SCIIntConf0 = 0xFFE43026
SCIconfig1 = 0
SCIIntConf1 = 0

SCIName = ST72345

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

//****************************************************************************//
// SPI
//****************************************************************************//
[SPI]
SPIconfig = 0x24252627
SPIIntConf = 0xFFEAC025

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