st20tp3chip.cfg

来自「flash programming STI 5.5.1.4 DCU3」· CFG 代码 · 共 43 行

CFG
43
字号
include commonchip.cfg
include ST20TP3addr.cfg

#######################################################
##
## Set up ST20TP3 peripheral register blocks
##
#######################################################

proc tp3registers i=0 {
  EMIRegisters (Devices[Devices.EMIindex].addr, true, true, "tp3")
  DCU2Registers (Devices[Devices.DCU2index].addr)
  CacheControl2Registers (Devices[Devices.CACHEindex].addr)
  InterruptControllerRegisters (Devices[Devices.INTCTRLindex].addr)
  LowPowerControllerRegisters (Devices[Devices.LPCTRLindex].addr, true)
  for (i=0;i<Devices.NUMASC;i++) {
    AsynchronousSerialControllerRegisters (Devices[Devices.ASCindex+i].addr, i, true, true, "tp3")
  }
  for (i=0;i<Devices.NUMSCI;i++) {
    SmartCardInterfaceRegisters (Devices[Devices.SCIindex+i].addr, i)
  }
  for (i=0;i<Devices.NUMSCC;i++) {
    SynchronousSerialController2Registers (Devices[Devices.SCCindex+i].addr, i)
  } 
  PWMControllerRegisters (Devices[Devices.PWMCTRLindex].addr)
  for (i=0;i<Devices.NUMPIO;i++) {
    PIOControllerRegisters (Devices[Devices.PIOindex+i].addr, i)
  }
  InterruptLevelControllerRegisters (Devices[Devices.INTLEVELCTRLindex].addr, Devices[Devices.INTLEVELCTRLNUMINPUTSindex].addr, true, false)
  TeletextInterfaceRegisters (Devices[Devices.TTindex].addr, true, "tp3")
  IEEE1284ParallelPortRegisters (Devices[Devices.IEEE1284index].addr)
  BlockMoveDMAControllerRegisters (Devices[Devices.BlockMoveindex].addr)
  IEEE1394LLIRegisters (Devices[Devices.IEEE1394index].addr, false)
  PTI (Devices[Devices.PTIindex].addr)
}

proc tp3chip {
  tp3memory
  tp3registers
}


⌨️ 快捷键说明

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