⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stv0396addr.cfg

📁 flash programming STI 5.5.1.4 DCU3
💻 CFG
字号:
##
## STV0396addr.cfg
##
## Copyright (C) STMicroelectronics Ltd. 2001
##
## Description of the STV0396 memory map.
##

include ST20C2_C200addr.cfg

if (!(clsymbol _ST_global_STV0396addr)) {
_ST_global_STV0396_ADDR=1

## Devices.index setup in ST20C2_C200addr.cfg

Devices.TMAindex=Devices.index++
Devices[Devices.TMAindex].symname = "TMAAddr"
Devices[Devices.TMAindex].addr    = 0x00010000

Devices.EMIindex=Devices.index++
Devices[Devices.EMIindex].symname = "EMIAddr"
Devices[Devices.EMIindex].addr    = 0x00011000

Devices.GPDMAindex=Devices.index++
Devices[Devices.GPDMAindex].symname = "GPDMAAddr"
Devices[Devices.GPDMAindex].addr    = "0x00012000"

Devices.MailBoxindex=Devices.index++
Devices[Devices.MailBoxindex].symname = "MailBoxAddr"
Devices[Devices.MailBoxindex].addr    = "0x00013000"

Devices.Ethernetindex=Devices.index++
Devices[Devices.Ethernetindex].symname = "EthernetAddr"
Devices[Devices.Ethernetindex].addr    = "0x00020000"

Devices.USBindex=Devices.index++
Devices[Devices.USBindex].symname = "USBAddr"
Devices[Devices.USBindex].addr    = "0x00030000"

Devices.INTLEVELCTRLindex=Devices.index++
Devices[Devices.INTLEVELCTRLindex].symname = "InterruptLevelControllerAddr"
Devices[Devices.INTLEVELCTRLindex].addr    = 0x00100000

Devices.INTLEVELCTRLNUMINPUTSindex=Devices.index++
Devices[Devices.INTLEVELCTRLNUMINPUTSindex].symname = \
	"InterruptLevelControllerNumInputs"
Devices[Devices.INTLEVELCTRLNUMINPUTSindex].addr    = 34

Devices.INTLEVELCTRLINPUTOFFSETindex=Devices.index++
Devices[Devices.INTLEVELCTRLINPUTOFFSETindex].symname = \
	"InterruptLevelControllerInputOffset"
Devices[Devices.INTLEVELCTRLINPUTOFFSETindex].addr    = 31

Devices.WDTindex=Devices.index++
Devices[Devices.WDTindex].symname = "WDTAddr"
Devices[Devices.WDTindex].addr    = 0x00102000

Devices.ASC0index=Devices.index
Devices[Devices.ASC0index].symname = "ASC0Addr"
Devices[Devices.ASC0index].symname = 0x00103000

Devices.SSCindex=Devices.index
Devices.NUMSSC=3
for (i=0;i<Devices.NUMSSC;i++) {
  Devices[Devices.SSCindex+i].symname = "SSC"+(mkstr(i))+"Addr"
  Devices[Devices.SSCindex+i].addr = 0x00104000 + (i * 0x1000)
}
Devices.index += Devices.NUMSSC

Devices.PIOindex=Devices.index
Devices.NUMPIO=2
for (i=0;i<Devices.NUMPIO;i++) {
  Devices[Devices.PIOindex+i].symname = "PIOController"+(mkstr(i))+"Addr"
  Devices[Devices.PIOindex+i].addr = 0x00107000 + (i * 0x1000)
}
Devices.index += Devices.NUMPIO

} ## !clsymbol STV0396addr

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -