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

📄 pic4620_rf.lst

📁 CC2420+PIC单片机基础实验代码、CC2420无线收发实验代码
💻 LST
📖 第 1 页 / 共 5 页
字号:
                                           //------------------------------------------------------------------------------------------------------- E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
0008e6   cfd9     MOVFF     0xfd9,0xfe6    void basicRfInit(BASIC_RF_RX_INFO *pRRI, UINT8 channel, WORD panId, WORD myAddr) { E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
0008e8   ffe6                                                                                                               
0008ea   cfe1     MOVFF     0xfe1,0xfd9                                                                                     
0008ec   ffd9                                                                                                               
0008ee   52e6     MOVF      0xe6,0x1,0x0                                                                                    
                                               UINT8 n;                                                                     E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
                                                                                                                            E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
                                               // Make sure that the voltage regulator is on, and that the reset pin is inactive E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
0008f0   828b     BSF       0x8b,0x1,0x0       SET_VREG_ACTIVE();                                                           E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
0008f2   0ee8     MOVLW     0xe8               halWait(1000);                                                               E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
0008f4   6ee6     MOVWF     0xe6,0x0                                                                                        
0008f6   0e03     MOVLW     0x3                                                                                             
0008f8   6ee6     MOVWF     0xe6,0x0                                                                                        
0008fa   ecd8     CALL      0xdb0,0x0                                                                                       
0008fc   f006                                                                                                               
0008fe   52e5     MOVF      0xe5,0x1,0x0                                                                                    
000900   52e5     MOVF      0xe5,0x1,0x0                                                                                    
000902   948b     BCF       0x8b,0x2,0x0       SET_RESET_ACTIVE();                                                          E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
000904   0ee8     MOVLW     0xe8               halWait(1000);                                                               E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
000906   6ee6     MOVWF     0xe6,0x0                                                                                        
000908   0e03     MOVLW     0x3                                                                                             
00090a   6ee6     MOVWF     0xe6,0x0                                                                                        
00090c   ecd8     CALL      0xdb0,0x0                                                                                       
00090e   f006                                                                                                               
000910   52e5     MOVF      0xe5,0x1,0x0                                                                                    
000912   52e5     MOVF      0xe5,0x1,0x0                                                                                    
000914   848b     BSF       0x8b,0x2,0x0       SET_RESET_INACTIVE();                                                        E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
000916   0ef4     MOVLW     0xf4               halWait(500);                                                                E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
000918   6ee6     MOVWF     0xe6,0x0                                                                                        
00091a   0e01     MOVLW     0x1                                                                                             
00091c   6ee6     MOVWF     0xe6,0x0                                                                                        
00091e   ecd8     CALL      0xdb0,0x0                                                                                       
000920   f006                                                                                                               
000922   52e5     MOVF      0xe5,0x1,0x0                                                                                    
000924   52e5     MOVF      0xe5,0x1,0x0                                                                                    
                                                                                                                            E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
                                               // Register modifications                                                    E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
000926   908b     BCF       0x8b,0x0,0x0       FASTSPI_STROBE(CC2420_SXOSCON);                                              E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
000928   0e01     MOVLW     0x1                                                                                             
00092a   6ec9     MOVWF     0xc9,0x0                                                                                        
00092c   a69e     BTFSS     0x9e,0x3,0x0                                                                                    
00092e   d7fe     BRA       0x92c                                                                                           
000930   969e     BCF       0x9e,0x3,0x0                                                                                    
000932   808b     BSF       0x8b,0x0,0x0                                                                                    
000934   ecc0     CALL      0xd80,0x0      	halRfWaitForCrystalOscillator();                                                E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
000936   f006                                                                                                               
000938   908b     BCF       0x8b,0x0,0x0       FASTSPI_SETREG(CC2420_MDMCTRL0, 0x0AF2); // Turn on automatic packet acknowledgment E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
00093a   0e11     MOVLW     0x11                                                                                            
00093c   6ec9     MOVWF     0xc9,0x0                                                                                        
00093e   a69e     BTFSS     0x9e,0x3,0x0                                                                                    
000940   d7fe     BRA       0x93e                                                                                           
000942   969e     BCF       0x9e,0x3,0x0                                                                                    
000944   0e0a     MOVLW     0xa                                                                                             
000946   6ec9     MOVWF     0xc9,0x0                                                                                        
000948   a69e     BTFSS     0x9e,0x3,0x0                                                                                    
00094a   d7fe     BRA       0x948                                                                                           
00094c   969e     BCF       0x9e,0x3,0x0                                                                                    
00094e   0ef2     MOVLW     0xf2                                                                                            
000950   6ec9     MOVWF     0xc9,0x0                                                                                        
000952   a69e     BTFSS     0x9e,0x3,0x0                                                                                    
000954   d7fe     BRA       0x952                                                                                           
000956   969e     BCF       0x9e,0x3,0x0                                                                                    
000958   808b     BSF       0x8b,0x0,0x0                                                                                    
00095a   908b     BCF       0x8b,0x0,0x0       FASTSPI_SETREG(CC2420_MDMCTRL1, 0x0500); // Set the correlation threshold = 20 E:\2420\LAB\remote_device\rf_rx\lib\rf_init.c
00095c   0e12     MOVLW     0x12                                                                                            
00095e   6ec9     MOVWF     0xc9,0x0                                                                                        
000960   a69e     BTFSS     0x9e,0x3,0x0                                                                                    
000962   d7fe     BRA       0x960                                                                                           
000964   969e     BCF       0x9e,0x3,0x0                                                                                    
000966   0e05     MOVLW     0x5                                                                                             
000968   6ec9     MOVWF     0xc9,0x0                                                                                        
00096a   a69e     BTFSS     0x9e,0x3,0x0                                                                                    
00096c   d7fe     BRA       0x96a                                                                                           
00096e   969e     BCF       0x9e,0x3,0x0                                                                                    
000970   6ac9     CLRF      0xc9,0x0                                                                                        
000972   a69e     BTFSS     0x9e,0x3,0x0                                                                                    
000974   d7fe     BRA       0x972                                                                                           
000976   969e     BCF       0x9e,0x3,0x0                                                                               

⌨️ 快捷键说明

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