st20mc2chip.cfg

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

CFG
16
字号
include commonchip.cfg
include ST20MC2addr.cfg

proc mc2registers {
  DCU2Registers(Devices[Devices.DCU2index].addr) 
  InterruptControllerRegisters (Devices[Devices.INTCTRLindex].addr)
  ## TP1EMIRegisters (Devices[Devices.TP1EMIindex].addr, true, true) ## tp1 emi has strange access 
  ## PWMControllerRegisters (Devices[Devices.PWMCTRLindex].addr)     ## old style PWM
  InterruptLevelControllerRegisters (Devices[Devices.INTLEVELCTRLindex].addr, Devices[Devices.INTLEVELCTRLNUMINPUTSindex].addr, false, false)
}

proc mc2chip {
  mc2memory $*
  mc2registers $*
}

⌨️ 快捷键说明

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