📄 pic4620_rf.lst
字号:
00095a 80a0 BSF 0xa0,0x0,0x0 CCP2IE=1; E:\2420\LAB\rf\app\rf_blink_led.c
00095c 90a1 BCF 0xa1,0x0,0x0 CCP2IF=0; E:\2420\LAB\rf\app\rf_blink_led.c
00095e 80a2 BSF 0xa2,0x0,0x0 CCP2IP=1; E:\2420\LAB\rf\app\rf_blink_led.c
000960 0e05 MOVLW 0x5 CCP2CON = 0b00000101; E:\2420\LAB\rf\app\rf_blink_led.c
000962 6eba MOVWF 0xba,0x0
000964 0012 RETURN 0x0 } E:\2420\LAB\rf\app\rf_blink_led.c
//------------------------------------------------------------------------------------------------------- E:\2420\LAB\rf\app\rf_blink_led.c
// int main (void) E:\2420\LAB\rf\app\rf_blink_led.c
// E:\2420\LAB\rf\app\rf_blink_led.c
// DESCRIPTION: E:\2420\LAB\rf\app\rf_blink_led.c
// Startup routine and main loop E:\2420\LAB\rf\app\rf_blink_led.c
//------------------------------------------------------------------------------------------------------- E:\2420\LAB\rf\app\rf_blink_led.c
000966 cfd9 MOVFF 0xfd9,0xfe6 void main (void) { E:\2420\LAB\rf\app\rf_blink_led.c
000968 ffe6
00096a cfe1 MOVFF 0xfe1,0xfd9
00096c ffd9
00096e 0e06 MOVLW 0x6
000970 26e1 ADDWF 0xe1,0x1,0x0
UINT8 n; E:\2420\LAB\rf\app\rf_blink_led.c
UINT32 iLoopCount; E:\2420\LAB\rf\app\rf_blink_led.c
// Initalize ports for communication with CC2420 and other peripheral units E:\2420\LAB\rf\app\rf_blink_led.c
000972 dfd2 RCALL 0x918 port_init(); E:\2420\LAB\rf\app\rf_blink_led.c
000974 dfe4 RCALL 0x93e halSpiInit(); E:\2420\LAB\rf\app\rf_blink_led.c
000976 ec46 CALL 0xe8c,0x0 EUSART_Init(); E:\2420\LAB\rf\app\rf_blink_led.c
000978 f007
00097a dfec RCALL 0x954 ccp2_init(); E:\2420\LAB\rf\app\rf_blink_led.c
// Wait for the user to select node address, and initialize for basic RF operation E:\2420\LAB\rf\app\rf_blink_led.c
00097c 0ee8 MOVLW 0xe8 halWait(1000); E:\2420\LAB\rf\app\rf_blink_led.c
00097e 6ee6 MOVWF 0xe6,0x0
000980 0e03 MOVLW 0x3
000982 6ee6 MOVWF 0xe6,0x0
000984 ec7b CALL 0xef6,0x0
000986 f007
000988 52e5 MOVF 0xe5,0x1,0x0
00098a 52e5 MOVF 0xe5,0x1,0x0
E:\2420\LAB\rf\app\rf_blink_led.c
00098c 0e34 MOVLW 0x34 basicRfInit(&rfRxInfo, RF_CHANNEL, 0x2420, 0x1234); E:\2420\LAB\rf\app\rf_blink_led.c
00098e 6ee6 MOVWF 0xe6,0x0
000990 0e12 MOVLW 0x12
000992 6ee6 MOVWF 0xe6,0x0
000994 0e20 MOVLW 0x20
000996 6ee6 MOVWF 0xe6,0x0
000998 0e24 MOVLW 0x24
00099a 6ee6 MOVWF 0xe6,0x0
00099c 0e1a MOVLW 0x1a
00099e 6ee6 MOVWF 0xe6,0x0
0009a0 0e00 MOVLW 0x0
0009a2 6ee6 MOVWF 0xe6,0x0
0009a4 0e01 MOVLW 0x1
0009a6 6ee6 MOVWF 0xe6,0x0
0009a8 ec8c CALL 0xb18,0x0
0009aa f005
0009ac 6ef5 MOVWF 0xf5,0x0
0009ae 0e07 MOVLW 0x7
0009b0 5ee1 SUBWF 0xe1,0x1,0x0
0009b2 50f5 MOVF 0xf5,0x0,0x0
0009b4 0101 MOVLB 0x1 rfTxInfo.destAddr = 0x5678; E:\2420\LAB\rf\app\rf_blink_led.c
0009b6 0e78 MOVLW 0x78
0009b8 6f0c MOVWF 0xc,0x1
0009ba 0e56 MOVLW 0x56
0009bc 6f0d MOVWF 0xd,0x1
E:\2420\LAB\rf\app\rf_blink_led.c
E:\2420\LAB\rf\app\rf_blink_led.c
// Initalize common protocol parameters E:\2420\LAB\rf\app\rf_blink_led.c
0009be 0e0a MOVLW 0xa rfTxInfo.length = PAYLOAD_SIZE; E:\2420\LAB\rf\app\rf_blink_led.c
0009c0 6f0e MOVWF 0xe,0x1
0009c2 6b11 CLRF 0x11,0x1 rfTxInfo.ackRequest = 0; E:\2420\LAB\rf\app\rf_blink_led.c
0009c4 0e12 MOVLW 0x12 rfTxInfo.pPayload = pTxBuffer; E:\2420\LAB\rf\app\rf_blink_led.c
0009c6 6f0f MOVWF 0xf,0x1
0009c8 0e01 MOVLW 0x1
0009ca 6f10 MOVWF 0x10,0x1
0009cc 0e86 MOVLW 0x86 rfRxInfo.pPayload = pRxBuffer; E:\2420\LAB\rf\app\rf_blink_led.c
0009ce 6f06 MOVWF 0x6,0x1
0009d0 0e01 MOVLW 0x1
0009d2 6f07 MOVWF 0x7,0x1
E:\2420\LAB\rf\app\rf_blink_led.c
0009d4 6adf CLRF 0xdf,0x0 for (n = 0; n < PAYLOAD_SIZE; n++) { E:\2420\LAB\rf\app\rf_blink_led.c
0009d6 0e0a MOVLW 0xa
0009d8 5cdf SUBWF 0xdf,0x0,0x0
0009da e20e BC 0x9f8
0009f4 2adf INCF 0xdf,0x1,0x0
0009f6 d7ef BRA 0x9d6
0009dc 0e0a MOVLW 0xa pTxBuffer[n] = n+10; E:\2420\LAB\rf\app\rf_blink_led.c
0009de 24df ADDWF 0xdf,0x0,0x0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -