📄 pic4620_rf.lst
字号:
000cfa cff8 MOVFF 0xff8,0x89
000cfc f089
C:\MCC18\src\traditional\startup\c018i.c
/* now assign the source address to the table pointer */ C:\MCC18\src\traditional\startup\c018i.c
000cfe c080 MOVFF 0x80,0xff6 TBLPTR = prom; C:\MCC18\src\traditional\startup\c018i.c
000d00 fff6
000d02 c081 MOVFF 0x81,0xff7
000d04 fff7
000d06 c082 MOVFF 0x82,0xff8
000d08 fff8
C:\MCC18\src\traditional\startup\c018i.c
/* do the copy loop */ C:\MCC18\src\traditional\startup\c018i.c
_asm C:\MCC18\src\traditional\startup\c018i.c
// determine if we have any more bytes to copy C:\MCC18\src\traditional\startup\c018i.c
000d0a 0100 MOVLB 0x0 movlb curr_byte C:\MCC18\src\traditional\startup\c018i.c
000d0c 5383 MOVF 0x83,0x1,0x1 movf curr_byte, 1, 1 C:\MCC18\src\traditional\startup\c018i.c
copy_loop: C:\MCC18\src\traditional\startup\c018i.c
000d0e e102 BNZ 0xd14 bnz 2 // copy_one_byte C:\MCC18\src\traditional\startup\c018i.c
000d10 5384 MOVF 0x84,0x1,0x1 movf curr_byte + 1, 1, 1 C:\MCC18\src\traditional\startup\c018i.c
000d12 e007 BZ 0xd22 bz 7 // done_copying C:\MCC18\src\traditional\startup\c018i.c
C:\MCC18\src\traditional\startup\c018i.c
copy_one_byte: C:\MCC18\src\traditional\startup\c018i.c
000d14 0009 TBLRDPOSTINC tblrdpostinc C:\MCC18\src\traditional\startup\c018i.c
000d16 50f5 MOVF 0xf5,0x0,0x0 movf TABLAT, 0, 0 C:\MCC18\src\traditional\startup\c018i.c
000d18 6eee MOVWF 0xee,0x0 movwf POSTINC0, 0 C:\MCC18\src\traditional\startup\c018i.c
C:\MCC18\src\traditional\startup\c018i.c
// decrement byte counter C:\MCC18\src\traditional\startup\c018i.c
000d1a 0783 DECF 0x83,0x1,0x1 decf curr_byte, 1, 1 C:\MCC18\src\traditional\startup\c018i.c
000d1c e2f8 BC 0xd0e bc -8 // copy_loop C:\MCC18\src\traditional\startup\c018i.c
000d1e 0784 DECF 0x84,0x1,0x1 decf curr_byte + 1, 1, 1 C:\MCC18\src\traditional\startup\c018i.c
000d20 d7f9 BRA 0xd14 bra -7 // copy_one_byte C:\MCC18\src\traditional\startup\c018i.c
C:\MCC18\src\traditional\startup\c018i.c
done_copying: C:\MCC18\src\traditional\startup\c018i.c
C:\MCC18\src\traditional\startup\c018i.c
_endasm C:\MCC18\src\traditional\startup\c018i.c
/* restore the table pointer for the next entry */ C:\MCC18\src\traditional\startup\c018i.c
000d22 c087 MOVFF 0x87,0xff6 TBLPTR = data_ptr; C:\MCC18\src\traditional\startup\c018i.c
000d24 fff6
000d26 c088 MOVFF 0x88,0xff7
000d28 fff7
000d2a c089 MOVFF 0x89,0xff8
000d2c fff8
/* next entry... */ C:\MCC18\src\traditional\startup\c018i.c
000d2e 0100 MOVLB 0x0 curr_entry--; C:\MCC18\src\traditional\startup\c018i.c
000d30 0785 DECF 0x85,0x1,0x1
000d32 0e00 MOVLW 0x0
000d34 5b86 SUBWFB 0x86,0x1,0x1
000d36 d7bf BRA 0xcb6 goto test; C:\MCC18\src\traditional\startup\c018i.c
done: C:\MCC18\src\traditional\startup\c018i.c
; C:\MCC18\src\traditional\startup\c018i.c
000d38 0012 RETURN 0x0 } C:\MCC18\src\traditional\startup\c018i.c
/******************************************************************************************************* E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* ********** * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* ************ * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* *** *** * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* *** +++ *** * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* *** + + *** * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* *** + CHIPCON HARDWARE ABSTRACTION LIBRARY FOR THE CC2420 * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* *** + + *** CC2420 crystal oscillator stabilization * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* *** +++ *** * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* *** *** * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* ************ * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* ********** * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
******************************************************************************************************* E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* The Chipcon Hardware Abstraction Library is a collection of functions, macros and constants, which * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* can be used to ease access to the hardware on the CC2420 and the target microcontroller. * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* This file contains a function that ensures that the CC2420 crystal oscillator is stable. * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* EXAMPLE OF USAGE: * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* // Turn the crystal oscillator on and wait for it to become stable * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* DISBALE_GLOBAL_INT(); * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* FASTSPI_STROBE(CC2420_SXOSCON); * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* ENABLE_GLOBAL_INT(); * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* halRfWaitForCrystalOscillator(); * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
******************************************************************************************************* E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* Compiler: AVR-GCC * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* Target platform: CC2420DB, CC2420 + any MCU with very few modifications required * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
******************************************************************************************************* E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* Revision history: * E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
* $Log: hal_rf_wait_for_crystal_oscillator.c,v $ E:\2420\LAB\remote_device\rf_rx\lib\crystal_oscillator.c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -