📄 psocconfigtbl.lis
字号:
0000 ; Personalization tables
export LoadConfigTBL_adcinc12_c_example_Bank1
export LoadConfigTBL_adcinc12_c_example_Bank0
AREA lit(rom, rel)
0000 LoadConfigTBL_adcinc12_c_example_Bank1:
0000 ; Global Register values
0000 6100 db 61h, 00h ; AnalogClockSelect register (CLK_CR1)
0002 6001 db 60h, 01h ; AnalogColumnClockSelect register (CLK_CR0)
0004 6200 db 62h, 00h ; AnalogIOControl register (ABF_CR)
0006 6300 db 63h, 00h ; AnalogModulatorControl register (AMD_CR)
0008 E153 db e1h, 53h ; OscillatorControl_1 register (OSC_CR1)
000A 00FF db 00h, ffh ; Port_0_DriveMode_0 register (PRT0DM0)
000C 0100 db 01h, 00h ; Port_0_DriveMode_1 register (PRT0DM1)
000E 0200 db 02h, 00h ; Port_0_IntCtrl_0 register (PRT0IC0)
0010 0300 db 03h, 00h ; Port_0_IntCtrl_1 register (PRT0IC1)
0012 04FF db 04h, ffh ; Port_1_DriveMode_0 register (PRT1DM0)
0014 0500 db 05h, 00h ; Port_1_DriveMode_1 register (PRT1DM1)
0016 0600 db 06h, 00h ; Port_1_IntCtrl_0 register (PRT1IC0)
0018 0700 db 07h, 00h ; Port_1_IntCtrl_1 register (PRT1IC1)
001A 0800 db 08h, 00h ; Port_2_DriveMode_0 register (PRT2DM0)
001C 0902 db 09h, 02h ; Port_2_DriveMode_1 register (PRT2DM1)
001E 0A00 db 0ah, 00h ; Port_2_IntCtrl_0 register (PRT2IC0)
0020 0B00 db 0bh, 00h ; Port_2_IntCtrl_1 register (PRT2IC1)
0022 0C00 db 0ch, 00h ; Port_3_DriveMode_0 register (PRT3DM0)
0024 0D00 db 0dh, 00h ; Port_3_DriveMode_1 register (PRT3DM1)
0026 0E00 db 0eh, 00h ; Port_3_IntCtrl_0 register (PRT3IC0)
0028 0F00 db 0fh, 00h ; Port_3_IntCtrl_1 register (PRT3IC1)
002A 1000 db 10h, 00h ; Port_4_DriveMode_0 register (PRT4DM0)
002C 1100 db 11h, 00h ; Port_4_DriveMode_1 register (PRT4DM1)
002E 1200 db 12h, 00h ; Port_4_IntCtrl_0 register (PRT4IC0)
0030 1300 db 13h, 00h ; Port_4_IntCtrl_1 register (PRT4IC1)
0032 1400 db 14h, 00h ; Port_5_DriveMode_0 register (PRT5DM0)
0034 1500 db 15h, 00h ; Port_5_DriveMode_1 register (PRT5DM1)
0036 1600 db 16h, 00h ; Port_5_IntCtrl_0 register (PRT5IC0)
0038 1700 db 17h, 00h ; Port_5_IntCtrl_1 register (PRT5IC1)
003A E387 db e3h, 87h ; VoltageMonitorControl register (VLT_CR)
003C ; Instance name ADCINC12_1, User Module ADCINC12
003C ; Instance name ADCINC12_1, Block Name ADC(ASB20)
003C ; Instance name ADCINC12_1, Block Name CNT(DBA01)
003C 2421 db 24h, 21h ;ADCINC12_1_CounterFN(DBA01FN)
003E 2546 db 25h, 46h ;ADCINC12_1_CounterSL(DBA01IN)
0040 2600 db 26h, 00h ;ADCINC12_1_CounterOS(DBA01OU)
0042 ; Instance name ADCINC12_1, Block Name TMR(DBA00)
0042 2020 db 20h, 20h ;ADCINC12_1_TimerFN(DBA00FN)
0044 2116 db 21h, 16h ;ADCINC12_1_TimerSL(DBA00IN)
0046 2200 db 22h, 00h ;ADCINC12_1_TimerOS(DBA00OU)
0048 FF db ffh
0049 LoadConfigTBL_adcinc12_c_example_Bank0:
0049 ; Global Register values
0049 6028 db 60h, 28h ; AnalogColumnInputSelect register (AMX_IN)
004B 6400 db 64h, 00h ; AnalogComparatorControl register (CMP_CR)
004D 6307 db 63h, 07h ; AnalogReferenceControl register (ARF_CR)
004F 6500 db 65h, 00h ; AnalogSyncControl register (ASY_CR)
0051 E600 db e6h, 00h ; DecimatorControl register (DEC_CR)
0053 0200 db 02h, 00h ; Port_0_Bypass register (PRT0GS)
0055 0100 db 01h, 00h ; Port_0_IntEn register (PRT0IE)
0057 0600 db 06h, 00h ; Port_1_Bypass register (PRT1GS)
0059 0500 db 05h, 00h ; Port_1_IntEn register (PRT1IE)
005B 0A00 db 0ah, 00h ; Port_2_Bypass register (PRT2GS)
005D 0900 db 09h, 00h ; Port_2_IntEn register (PRT2IE)
005F 0E00 db 0eh, 00h ; Port_3_Bypass register (PRT3GS)
0061 0D00 db 0dh, 00h ; Port_3_IntEn register (PRT3IE)
0063 1200 db 12h, 00h ; Port_4_Bypass register (PRT4GS)
0065 1100 db 11h, 00h ; Port_4_IntEn register (PRT4IE)
0067 1600 db 16h, 00h ; Port_5_Bypass register (PRT5GS)
0069 1500 db 15h, 00h ; Port_5_IntEn register (PRT5IE)
006B ; Instance name ADCINC12_1, User Module ADCINC12
006B ; Instance name ADCINC12_1, Block Name ADC(ASB20)
006B 9090 db 90h, 90h ;ADCINC12_1_AtoDcr0(ASB20CR0)
006D 9120 db 91h, 20h ;ADCINC12_1_AtoDcr1(ASB20CR1)
006F 9260 db 92h, 60h ;ADCINC12_1_AtoDcr2(ASB20CR2)
0071 93F0 db 93h, f0h ;ADCINC12_1_AtoDcr3(ASB20CR3)
0073 ; Instance name ADCINC12_1, Block Name CNT(DBA01)
0073 2700 db 27h, 00h ;ADCINC12_1_CounterCR0(DBA01CR0)
0075 2500 db 25h, 00h ;ADCINC12_1_CounterDR1(DBA01DR1)
0077 2600 db 26h, 00h ;ADCINC12_1_CounterDR2(DBA01DR2)
0079 ; Instance name ADCINC12_1, Block Name TMR(DBA00)
0079 2300 db 23h, 00h ;ADCINC12_1_TimerCR0(DBA00CR0)
007B 2100 db 21h, 00h ;ADCINC12_1_TimerDR1(DBA00DR1)
007D 2200 db 22h, 00h ;ADCINC12_1_TimerDR2(DBA00DR2)
007F FF db ffh
0080
0080
0080 ; PSoC Configuration file trailer PsocConfig.asm
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -