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

📄 light.lst

📁 sypress psoc express 驱动led发光的应用程序.
💻 LST
📖 第 1 页 / 共 5 页
字号:
0247: 62 DD 00 MOV   REG[221],0    (0108) 	mov	reg[ddh], 00h		; OscillatorGlobalBusEnableControl register (OSC_GO_EN)
024A: 62 D8 00 MOV   REG[216],0    (0109) 	mov	reg[d8h], 00h		; Port_0_MUXBusCtrl register (MUX_CR0)
024D: 62 D9 00 MOV   REG[217],0    (0110) 	mov	reg[d9h], 00h		; Port_1_MUXBusCtrl register (MUX_CR1)
0250: 62 DA 00 MOV   REG[218],0    (0111) 	mov	reg[dah], 00h		; Port_2_MUXBusCtrl register (MUX_CR2)
0253: 62 DB 00 MOV   REG[219],0    (0112) 	mov	reg[dbh], 00h		; Port_3_MUXBusCtrl register (MUX_CR3)
                                   (0113) ;  Instance name ADC10, User Module ADC10
                                   (0114) ;       Instance name ADC10, Block Name ADC(ACE01)
                                   (0115) ;       Instance name ADC10, Block Name CNT(DBB00)
0256: 62 20 21 MOV   REG[32],33    (0116) 	mov	reg[20h], 21h		;ADC10_CNT_FN(DBB00FN)
0259: 62 21 55 MOV   REG[33],85    (0117) 	mov	reg[21h], 55h		;ADC10_CNT_IN(DBB00IN)
025C: 62 22 40 MOV   REG[34],64    (0118) 	mov	reg[22h], 40h		;ADC10_CNT_OUT(DBB00OU)
                                   (0119) ;       Instance name ADC10, Block Name RAMP(ASE11)
025F: 62 E6 00 MOV   REG[230],0    (0120) 	mov	reg[e6h], 00h		;ADC10_ADC_TR(ADC1_TR)
0262: 62 66 00 MOV   REG[102],0    (0121) 	mov	reg[66h], 00h		;ADC10_(AMD_CR1)
                                   (0122) ;  Instance name AMUX8, User Module AMUX8
                                   (0123) ;  Instance name PWM_01, User Module PWM8
                                   (0124) ;       Instance name PWM_01, Block Name PWM8(DBB01)
0265: 62 24 31 MOV   REG[36],49    (0125) 	mov	reg[24h], 31h		;PWM_01_FUNC_REG(DBB01FN)
0268: 62 25 16 MOV   REG[37],22    (0126) 	mov	reg[25h], 16h		;PWM_01_INPUT_REG(DBB01IN)
026B: 62 26 46 MOV   REG[38],70    (0127) 	mov	reg[26h], 46h		;PWM_01_OUTPUT_REG(DBB01OU)
                                   (0128) ;  Instance name SHADOWREGS_0, User Module SHADOWREGS
                                   (0129) ;  Instance name SHADOWREGS_1, User Module SHADOWREGS
                                   (0130) ;  Instance name SHADOWREGS_2, User Module SHADOWREGS
                                   (0131) ;  Instance name SHADOWREGS_3, User Module SHADOWREGS
                                   (0132) ;  Instance name SystemTimer, User Module SleepTimer
026E: 70 EF    AND   F,239         (0133) 	M8C_SetBank0
0270: 7F       RET                 (0134) 	ret

FILE: lib\psocconfig.asm
                                   (0001) ; Generated by PSoC Designer ???
                                   (0002) ;
                                   (0003) ;==========================================================================
                                   (0004) ;  PSoCConfig.asm
                                   (0005) ;  @PSOC_VERSION
                                   (0006) ;
                                   (0007) ;  Version: 0.85
                                   (0008) ;  Revised: June 22, 2004
                                   (0009) ;  Copyright Cypress MicroSystems 2000-2004. All Rights Reserved.
                                   (0010) ;
                                   (0011) ;  This file is generated by the Device Editor on Application Generation.
                                   (0012) ;  It contains code which loads the configuration data table generated in
                                   (0013) ;  the file PSoCConfigTBL.asm
                                   (0014) ;
                                   (0015) ;  DO NOT EDIT THIS FILE MANUALLY, AS IT IS OVERWRITTEN!!!
                                   (0016) ;  Edits to this file will not be preserved.
                                   (0017) ;==========================================================================
                                   (0018) ;
                                   (0019) include "m8c.inc"
                                   (0020) include "memory.inc"
                                   (0021) include "GlobalParams.inc"
                                   (0022) 
                                   (0023) export LoadConfigInit
                                   (0024) export _LoadConfigInit
                                   (0025) export LoadConfig_light
                                   (0026) export _LoadConfig_light
                                   (0027) export Port_0_Data_SHADE
                                   (0028) export _Port_0_Data_SHADE
                                   (0029) export Port_1_Data_SHADE
                                   (0030) export _Port_1_Data_SHADE
                                   (0031) export Port_2_Data_SHADE
                                   (0032) export _Port_2_Data_SHADE
                                   (0033) export Port_3_Data_SHADE
                                   (0034) export _Port_3_Data_SHADE
                                   (0035) 
                                   (0036) 
                                   (0037) export NO_SHADOW
                                   (0038) export _NO_SHADOW
                                   (0039) 
                                   (0040) FLAG_CFG_MASK:      equ 10h         ;M8C flag register REG address bit mask
                                   (0041) END_CONFIG_TABLE:   equ ffh         ;end of config table indicator
                                   (0042) 
                                   (0043) AREA psoc_config(rom, rel)
                                   (0044) 
                                   (0045) 
                                   (0046) ;---------------------------------------------------------------------------
                                   (0047) ; LoadConfigInit - Establish the start-up configuration (except for a few
                                   (0048) ;                  parameters handled by boot code, like CPU speed). This
                                   (0049) ;                  function can be called from user code, but typically it
                                   (0050) ;                  is only called from boot.
                                   (0051) ;
                                   (0052) ;       INPUTS: None.
                                   (0053) ;      RETURNS: Nothing.
                                   (0054) ; SIDE EFFECTS: Registers are volatile: the A and X registers can be modified!
                                   (0055) ;               In the large memory model currently only the page
                                   (0056) ;               pointer registers listed below are modified.  This does
                                   (0057) ;               not guarantee that in future implementations of this
                                   (0058) ;               function other page pointer registers will not be
                                   (0059) ;               modified.
                                   (0060) ;          
                                   (0061) ;               Page Pointer Registers Modified: 
                                   (0062) ;               CUR_PP
                                   (0063) ;
                                   (0064) _LoadConfigInit:
                                   (0065)  LoadConfigInit:
                                   (0066)     RAM_PROLOGUE RAM_USE_CLASS_4
                                   (0067)     
0271: 55 0B 00 MOV   [11],0        (0068) 	mov		[Port_0_Data_SHADE], 0h
0274: 55 0C 00 MOV   [12],0        (0069) 	mov		[Port_1_Data_SHADE], 0h
0277: 55 0D 00 MOV   [13],0        (0070) 	mov		[Port_2_Data_SHADE], 0h
027A: 55 0E 00 MOV   [14],0        (0071) 	mov		[Port_3_Data_SHADE], 0h
                                   (0072) 
027D: 7C 02 81 LCALL 0x0281        (0073) 	lcall	LoadConfig_light
                                   (0074) 
                                   (0075)     RAM_EPILOGUE RAM_USE_CLASS_4
0280: 7F       RET                 (0076)     ret
                                   (0077) 
                                   (0078) ;---------------------------------------------------------------------------
                                   (0079) ; Load Configuration light
                                   (0080) ;
                                   (0081) ;    Load configuration registers for light.
                                   (0082) ;    IO Bank 0 registers a loaded first,then those in IO Bank 1.
                                   (0083) ;
                                   (0084) ;       INPUTS: None.
                                   (0085) ;      RETURNS: Nothing.
                                   (0086) ; SIDE EFFECTS: Registers are volatile: the CPU A and X registers may be
                                   (0087) ;               modified as may the Page Pointer registers!
                                   (0088) ;               In the large memory model currently only the page
                                   (0089) ;               pointer registers listed below are modified.  This does
                                   (0090) ;               not guarantee that in future implementations of this
                                   (0091) ;               function other page pointer registers will not be
                                   (0092) ;               modified.
                                   (0093) ;          
                                   (0094) ;               Page Pointer Registers Modified: 
                                   (0095) ;               CUR_PP
                                   (0096) ;
                                   (0097) _LoadConfig_light:
                                   (0098)  LoadConfig_light:
                                   (0099)     RAM_PROLOGUE RAM_USE_CLASS_4
0281: 7C 01 5A LCALL 0x015A        (0100)     lcall   LoadConfigTBL_light            ; Call load config table routine
                                   (0101) 
                                   (0102) 
                                   (0103)     RAM_EPILOGUE RAM_USE_CLASS_4
0284: 7F       RET                 (0104)     ret
0285: 06 00 01 ADD   [0],1
0288: 02 04    ADD   A,[4]
028A: 08       PUSH  A
028B: 10       PUSH  X
028C: 20       POP   X
028D: 40       NOP   
028E: 80 62    JMP   0x02F1

FILE: .\cmx_adc_chan.asm
                                   (0001) ;;*****************************************************************************
                                   (0002) ;;*****************************************************************************
                                   (0003) ;;  adcMux8.asm
                                   (0004) ;;  @Version@
                                   (0005) ;;  
                                   (0006) ;;
                                   (0007) ;;  DESCRIPTION: Low level 8 channel mux for any incremental ADC.  This 
                                   (0008) ;;               code provides storage for 8 integer results and defines
                                   (0009) ;;               the simple state machine to collect the data.
                                   (0010) ;;
                                   (0011) ;;-----------------------------------------------------------------------------
                                   (0012) ;;  Copyright (c) Cypress MicroSystems 2004. All Rights Reserved.
                                   (0013) ;;*****************************************************************************
                                   (0014) ;;*****************************************************************************
                                   (0015) include "m8c.inc"
                                   (0016) include "memory.inc"
                                   (0017) include "Driverdecl.inc"
                                   (0018) include "ADC10.inc"
                                   (0019) 
                                   (0020) export  AdcScanReset
                                   (0021) export _AdcScanReset
                                   (0022) 
                                   (0023) export  AdcScan 
                                   (0024) export _AdcScan 
                                   (0025) 
                                   (0026) export  iGetAinChanCounts
                                   (0027) export _iGetAinChanCounts
                                   (0028) 
                                   (0029) export  aiADC_Results
                                   (0030) export _aiADC_Results
                                   (0031) 
                                   (0032) export  bADC_Index    
                                   (0033) export _bADC_Index    
                                   (0034) 
                                   (0035) export  bADC_Mode    
                                   (0036) export _bADC_Mode   
                                   (0037) 
                         

⌨️ 快捷键说明

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