資源簡介
本人近期學習MPC5606B,硬件環境為TRK-MPC560XB,軟件環境codewarrior 10.6,附件中為flexcan的代碼. External Crystal Oscillator: 8M System Core Frequency: 64MHz FlexCAN Baute rate: 250bps BUF[1] Interrupt, Bus Off Interrupt, Err Interrupt enable; 歡迎交流,QQ:511437685
代碼片段和文件信息
/*
?*
?*?FILE?:?MPC5606B_HWInit.c
?*
?*?DEscriptION:
?*??This?file?contains?the?initialization?for?MPC5606B?derivative.
?*
?*??VERSION:?1.0
?*/
#include?“MPC5606B.h“???/*?platform?development?header?*/
#include?“MPC5606B_HWInit.h“
#ifdef?__cplusplus
extern?“C“?{
#endif
/*?Symbol?L2SRAM_LOCATION?is?defined?in?the?application?linker?command?file?(.lcf)
???It?represents?the?start?of?the?L2SRAM.
*/
/*lint?-esym(752?L2SRAM_LOCATION)?*/
extern?long?L2SRAM_LOCATION;
/*?Symbol?L2SRAM_CNT?is?defined?in?the?application?linker?command?file?(.lcf)
???It?represents?the?how?many?writes?with?stmw128?bytes?each?are?needed?to?cover
???the?whole?L2SRAM.
*/
extern?long?L2SRAM_CNT;
__asm?void?INIT_Derivative(void)?
{
nofralloc
????/*?Disable?WatchDog*/
????//?*(volatile?unsigned?int*)0xfff38010?=?0x0000c520;?
????e_lis?r90x0001
????e_add16i?r9r9-15072
????e_lis?r80xfff4
????e_stw?r9-32752(r8)
????//??*(volatile?unsigned?int*)?0xfff38010?=?0x0000d928;?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????38819??2015-04-01?15:37??MPC5606B_FlexCAN\.cproject
?????文件????????829??2015-04-01?15:37??MPC5606B_FlexCAN\.cwGeneratedFileSetLog
?????文件????????745??2015-04-01?15:37??MPC5606B_FlexCAN\.project
?????文件???????1557??2015-04-01?15:37??MPC5606B_FlexCAN\.settings\com.freescale.core.ide.cdt.toolchain.prefs
?????文件?????????89??2015-04-01?15:37??MPC5606B_FlexCAN\.settings\com.freescale.core.ide.newprojectwizard.prefs
?????文件???????2618??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\makefile
?????文件????????694??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\makefile.local
?????文件???????1163??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\MPC5606B_FlexCAN.args
?????文件??????42976??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\MPC5606B_FlexCAN.elf
?????文件??????52664??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\MPC5606B_FlexCAN.MAP
?????文件??????23396??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\MPC5606B_FlexCAN.mot
?????文件????????546??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\ob
?????文件???????1044??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\MPC5606B_HWInit.args
?????文件???????1326??2015-04-02?10:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\MPC5606B_HWInit_c.d
?????文件???????3896??2015-04-02?10:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\MPC5606B_HWInit_c.obj
?????文件???????1044??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\MPC5606B_init_flash.args
?????文件????????711??2015-04-02?10:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\MPC5606B_init_flash_c.d
?????文件???????3672??2015-04-02?10:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\MPC5606B_init_flash_c.obj
?????文件???????1044??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\MPC5606B_Startup.args
?????文件????????468??2015-04-02?10:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\MPC5606B_Startup_c.d
?????文件???????3032??2015-04-02?10:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\MPC5606B_Startup_c.obj
?????文件???????3936??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\subdir.mk
?????文件???????1044??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\__ppc_eabi_init.args
?????文件???????1447??2015-04-02?10:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\__ppc_eabi_init_c.d
?????文件???????6168??2015-04-02?10:23??MPC5606B_FlexCAN\FLASH\Project_Settings\Startup_Code\__ppc_eabi_init_c.obj
?????文件???????1044??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\Sources\Exceptions.args
?????文件????????488??2015-04-02?10:23??MPC5606B_FlexCAN\FLASH\Sources\Exceptions_c.d
?????文件???????3480??2015-04-02?10:23??MPC5606B_FlexCAN\FLASH\Sources\Exceptions_c.obj
?????文件???????1044??2015-04-02?11:23??MPC5606B_FlexCAN\FLASH\Sources\flexcan_init.args
?????文件???????1273??2015-04-02?10:23??MPC5606B_FlexCAN\FLASH\Sources\flexcan_init_c.d
............此處省略87個文件信息
- 上一篇:c.tld文件
- 下一篇:熱釋電紅外傳感器常用幾種電路及資料說明
評論
共有 條評論