📄 psocconfigtbl.asm
字号:
; Personalization tables
export LoadConfigTBL_interop_asmtoc_Bank1
export LoadConfigTBL_interop_asmtoc_Bank0
AREA lit(rom, rel)
LoadConfigTBL_interop_asmtoc_Bank1:
; Global Register values
db 61h, 00h ; AnalogClockSelect register (CLK_CR1)
db 60h, 00h ; AnalogColumnClockSelect register (CLK_CR0)
db 62h, 00h ; AnalogIOControl register (ABF_CR)
db 63h, 00h ; AnalogModulatorControl register (AMD_CR)
db e1h, 00h ; OscillatorControl_1 register (OSC_CR1)
db 00h, 00h ; Port_0_DriveMode_0 register (PRT0DM0)
db 01h, 00h ; Port_0_DriveMode_1 register (PRT0DM1)
db 02h, 00h ; Port_0_IntCtrl_0 register (PRT0IC0)
db 03h, 00h ; Port_0_IntCtrl_1 register (PRT0IC1)
db 04h, 00h ; Port_1_DriveMode_0 register (PRT1DM0)
db 05h, 00h ; Port_1_DriveMode_1 register (PRT1DM1)
db 06h, 00h ; Port_1_IntCtrl_0 register (PRT1IC0)
db 07h, 00h ; Port_1_IntCtrl_1 register (PRT1IC1)
db 08h, 00h ; Port_2_DriveMode_0 register (PRT2DM0)
db 09h, 00h ; Port_2_DriveMode_1 register (PRT2DM1)
db 0ah, 00h ; Port_2_IntCtrl_0 register (PRT2IC0)
db 0bh, 00h ; Port_2_IntCtrl_1 register (PRT2IC1)
db 0ch, 00h ; Port_3_DriveMode_0 register (PRT3DM0)
db 0dh, 00h ; Port_3_DriveMode_1 register (PRT3DM1)
db 0eh, 00h ; Port_3_IntCtrl_0 register (PRT3IC0)
db 0fh, 00h ; Port_3_IntCtrl_1 register (PRT3IC1)
db 10h, 00h ; Port_4_DriveMode_0 register (PRT4DM0)
db 11h, 00h ; Port_4_DriveMode_1 register (PRT4DM1)
db 12h, 00h ; Port_4_IntCtrl_0 register (PRT4IC0)
db 13h, 00h ; Port_4_IntCtrl_1 register (PRT4IC1)
db 14h, 00h ; Port_5_DriveMode_0 register (PRT5DM0)
db 15h, 00h ; Port_5_DriveMode_1 register (PRT5DM1)
db 16h, 00h ; Port_5_IntCtrl_0 register (PRT5IC0)
db 17h, 00h ; Port_5_IntCtrl_1 register (PRT5IC1)
db e3h, 87h ; VoltageMonitorControl register (VLT_CR)
db ffh
LoadConfigTBL_interop_asmtoc_Bank0:
; Global Register values
db 60h, 28h ; AnalogColumnInputSelect register (AMX_IN)
db 64h, 00h ; AnalogComparatorControl register (CMP_CR)
db 63h, 05h ; AnalogReferenceControl register (ARF_CR)
db 65h, 00h ; AnalogSyncControl register (ASY_CR)
db e6h, 00h ; DecimatorControl register (DEC_CR)
db 02h, 00h ; Port_0_Bypass register (PRT0GS)
db 01h, 00h ; Port_0_IntEn register (PRT0IE)
db 06h, 00h ; Port_1_Bypass register (PRT1GS)
db 05h, 00h ; Port_1_IntEn register (PRT1IE)
db 0ah, 00h ; Port_2_Bypass register (PRT2GS)
db 09h, 00h ; Port_2_IntEn register (PRT2IE)
db 0eh, 00h ; Port_3_Bypass register (PRT3GS)
db 0dh, 00h ; Port_3_IntEn register (PRT3IE)
db 12h, 00h ; Port_4_Bypass register (PRT4GS)
db 11h, 00h ; Port_4_IntEn register (PRT4IE)
db 16h, 00h ; Port_5_Bypass register (PRT5GS)
db 15h, 00h ; Port_5_IntEn register (PRT5IE)
db ffh
; PSoC Configuration file trailer PsocConfig.asm
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -