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

📄 pic4620_rf.lst

📁 CC2420+PIC单片机基础实验代码、CC2420无线收发实验代码
💻 LST
📖 第 1 页 / 共 5 页
字号:
000ac0   f000                                                                                                               
000ac2   0efe     MOVLW     0xfe                                                                                            
000ac4   cfdb     MOVFF     0xfdb,0x1                                                                                       
000ac6   f001                                                                                                               
000ac8   c000     MOVFF     0x0,0xff3                                                                                       
000aca   fff3                                                                                                               
000acc   c001     MOVFF     0x1,0xff4                                                                                       
000ace   fff4                                                                                                               
000ad0   d000     BRA       0xad2                                                                                           
                                                                                                                            E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000ad2   52e5     MOVF      0xe5,0x1,0x0   } // basicRfReceivePacket                                                        E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000ad4   cfe7     MOVFF     0xfe7,0xfd9                                                                                     
000ad6   ffd9                                                                                                               
000ad8   0012     RETURN    0x0                                                                                             
                                                                                                                            E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           void port_init()                                                                 E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           {                                                                                E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000ada   9292     BCF       0x92,0x1,0x0           TRISA1=0;                                                                E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000adc   9492     BCF       0x92,0x2,0x0   		TRISA2=0;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000ade   9692     BCF       0x92,0x3,0x0   		TRISA3=0;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000ae0   9a92     BCF       0x92,0x5,0x0   		TRISA5=0;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000ae2   8095     BSF       0x95,0x0,0x0   		TRISD0=1;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000ae4   8295     BSF       0x95,0x1,0x0   		TRISD1=1;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000ae6   9c95     BCF       0x95,0x6,0x0   		TRISD6=0;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000ae8   9e95     BCF       0x95,0x7,0x0   		TRISD7=0;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000aea   6893     SETF      0x93,0x0       		TRISB=0xFF;                                                                    E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000aec   9094     BCF       0x94,0x0,0x0   		TRISC0=0;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000aee   9294     BCF       0x94,0x1,0x0   		TRISC1=0;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000af0   9494     BCF       0x94,0x2,0x0   		TRISC2=0;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000af2   9694     BCF       0x94,0x3,0x0   		TRISC3=0;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000af4   8894     BSF       0x94,0x4,0x0   		TRISC4=1;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000af6   9a94     BCF       0x94,0x5,0x0   		TRISC5=0;                                                                      E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000af8   9c8c     BCF       0x8c,0x6,0x0   		YLED1=0;                                                                       E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000afa   9e8c     BCF       0x8c,0x7,0x0   		YLED2=0;                                                                       E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000afc   0e0f     MOVLW     0xf            		ADCON1 = 0x0F;                                                                 E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000afe   6ec1     MOVWF     0xc1,0x0                                                                                        
000b00   0012     RETURN    0x0            }                                                                                E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                                                                                                            E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           void halSpiInit(void) {	                                                         E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           // Initialize the SPI pins and directions                                        E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b02   868b     BSF       0x8b,0x3,0x0       LATC3               = 1;    // SCK                                           E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b04   8a8b     BSF       0x8b,0x5,0x0       LATC5               = 1;    // SDO                                           E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b06   9694     BCF       0x94,0x3,0x0       TRISC3              = 0;    // SCK                                           E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b08   8894     BSF       0x94,0x4,0x0       TRISC4              = 1;    // SDI                                           E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b0a   9a94     BCF       0x94,0x5,0x0       TRISC5              = 0;    // SDO                                           E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                                                                                                            E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                               // Initialize the SPI module                                                 E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b0c   0ec0     MOVLW     0xc0               SSPSTAT = 0xc0;                                                              E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b0e   6ec7     MOVWF     0xc7,0x0                                                                                        
000b10   0e20     MOVLW     0x20               SSPCON1 = 0x20;                                                              E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b12   6ec6     MOVWF     0xc6,0x0                                                                                        
000b14   969e     BCF       0x9e,0x3,0x0   	SSPIF=0;                                                                        E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b16   0012     RETURN    0x0            } // SpiInit                                                                     E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           void ccp2_init()                                                                 E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           {                                                                                E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b18   8ed0     BSF       0xd0,0x7,0x0   	IPEN=1;                                                                         E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b1a   8ef2     BSF       0xf2,0x7,0x0   	GIEH=1;                                                                         E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b1c   8cf2     BSF       0xf2,0x6,0x0   	GIEL=1;                                                                         E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b1e   80a0     BSF       0xa0,0x0,0x0   	CCP2IE=1;                                                                       E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b20   90a1     BCF       0xa1,0x0,0x0   	CCP2IF=0;                                                                       E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b22   80a2     BSF       0xa2,0x0,0x0   	CCP2IP=1;                                                                       E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b24   0e05     MOVLW     0x5            	CCP2CON = 0b00000101;                                                           E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b26   6eba     MOVWF     0xba,0x0                                                                                        
000b28   0012     RETURN    0x0            }                                                                                E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           //------------------------------------------------------------------------------------------------------- E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           //	int main (void)                                                               E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           //                                                                               E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           //	DESCRIPTION:                                                                  E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           //		Startup routine and main loop                                                E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                           //------------------------------------------------------------------------------------------------------- E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b2a   cfd9     MOVFF     0xfd9,0xfe6    void main (void) {                                                               E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b2c   ffe6                                                                                                               
000b2e   cfe1     MOVFF     0xfe1,0xfd9                                                                                     
000b30   ffd9                                                                                                               
000b32   0e05     MOVLW     0x5                                                                                             
000b34   26e1     ADDWF     0xe1,0x1,0x0                                                                                    
                                               UINT8 n;                                                                     E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                               UINT32 iLoopCount;                                                           E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
                                               // Initalize ports for communication with CC2420 and other peripheral units  E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b36   dfd1     RCALL     0xada              port_init();                                                                 E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b38   dfe4     RCALL     0xb02              halSpiInit();                                                                E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b3a   ecc8     CALL      0xd90,0x0      	EUSART_Init();                                                                  E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c
000b3c   f006                                                                                                               
000b3e   dfec     RCALL     0xb18          	ccp2_init();                                                                    E:\2420\LAB\remote_device\rf_tx\app\rf_blink_led.c

⌨️ 快捷键说明

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