資源簡介
參考DJI官方步兵代碼,整改的適用于EC60電機的步兵底盤代碼,實用性更強,代碼中有詳細的注釋,便于理解與二次開發
代碼片段和文件信息
/**
??******************************************************************************
??*?@file????Project/STM32F4xx_StdPeriph_Templates/stm32f4xx_it.c?
??*?@author??MCD?Application?Team
??*?@version?V1.8.0
??*?@date????04-November-2016
??*?@brief???Main?Interrupt?Service?Routines.
??*??????????This?file?provides?template?for?all?exceptions?handler?and?
??*??????????peripherals?interrupt?service?routine.
??******************************************************************************
??*?@attention
??*
??*?©?COPYRIGHT?2016?STMicroelectronics
??*
??*?Licensed?under?MCD-ST?Liberty?SW?License?Agreement?V2?(the?“License“);
??*?You?may?not?use?this?file?except?in?compliance?with?the?License.
??*?You?may?obtain?a?copy?of?the?License?at:
??*
??*????????http://www.st.com/software_license_agreement_liberty_v2
??*
??*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software?
??*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS?
??*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
??*?See?the?License?for?the?specific?language?governing?permissions?and
??*?limitations?under?the?License.
??*
??******************************************************************************
??*/
/*?Includes?------------------------------------------------------------------*/
#include?“stm32f4xx_it.h“
#include?“main.h“
/**?@addtogroup?Template_Project
??*?@{
??*/
/*?Private?typedef?-----------------------------------------------------------*/
/*?Private?define?------------------------------------------------------------*/
/*?Private?macro?-------------------------------------------------------------*/
/*?Private?variables?---------------------------------------------------------*/
/*?Private?function?prototypes?-----------------------------------------------*/
/*?Private?functions?---------------------------------------------------------*/
/******************************************************************************/
/*????????????Cortex-M4?Processor?Exceptions?Handlers?????????????????????????*/
/******************************************************************************/
/**
??*?@brief??This?function?handles?NMI?exception.
??*?@param??None
??*?@retval?None
??*/
void?NMI_Handler(void)
{
}
/**
??*?@brief??This?function?handles?Hard?Fault?exception.
??*?@param??None
??*?@retval?None
??*/
void?HardFault_Handler(void)
{
??/*?Go?to?infinite?loop?when?Hard?Fault?exception?occurs?*/
??while?(1)
??{
??}
}
/**
??*?@brief??This?function?handles?Memory?Manage?exception.
??*?@param??None
??*?@retval?None
??*/
void?MemManage_Handler(void)
{
??/*?Go?to?infinite?loop?when?Memory?Manage?exception?occurs?*/
??while?(1)
??{
??}
}
/**
??*?@brief??This?function?handles?Bus?Fault?exception.
??*?@param??None
??*?@retval?None
??*/
void?BusFault_Handler(void)
{
??/*?Go?to?infinite?loop?when?Bus?Fault?exception?occurs?*/
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-06-17?10:50??步兵底盤代碼\
?????目錄???????????0??2019-06-16?17:39??步兵底盤代碼\CMSIS\
?????文件??????114403??2016-11-05?01:33??步兵底盤代碼\CMSIS\core_cm4.h
?????文件???????18323??2016-11-05?01:33??步兵底盤代碼\CMSIS\core_cmFunc.h
?????文件???????27908??2016-11-05?01:33??步兵底盤代碼\CMSIS\core_cmInstr.h
?????文件???????22947??2016-11-05?01:33??步兵底盤代碼\CMSIS\core_cmSimd.h
?????文件??????940132??2017-12-04?00:43??步兵底盤代碼\CMSIS\stm32f4xx.h
?????文件????????5851??2018-04-25?09:46??步兵底盤代碼\CMSIS\stm32f4xx_conf.h
?????文件????????4573??2017-11-19?09:59??步兵底盤代碼\CMSIS\stm32f4xx_it.c
?????文件????????2224??2016-11-09?02:19??步兵底盤代碼\CMSIS\stm32f4xx_it.h
?????文件???????38598??2018-12-26?14:29??步兵底盤代碼\CMSIS\system_stm32f4xx.c
?????文件????????2235??2016-11-07?23:03??步兵底盤代碼\CMSIS\system_stm32f4xx.h
?????目錄???????????0??2019-06-16?17:39??步兵底盤代碼\FWLIB\
?????目錄???????????0??2019-06-16?17:39??步兵底盤代碼\FWLIB\inc\
?????文件????????6926??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\misc.h
?????文件???????33008??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_adc.h
?????文件???????27849??2016-11-08?23:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_can.h
?????文件???????12446??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_cec.h
?????文件????????2418??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_crc.h
?????文件???????14483??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_cryp.h
?????文件???????14948??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_dac.h
?????文件????????4298??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_dbgmcu.h
?????文件???????12979??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_dcmi.h
?????文件???????46290??2016-11-09?01:41??步兵底盤代碼\FWLIB\inc\stm32f4xx_dfsdm.h
?????文件???????28884??2018-05-10?17:54??步兵底盤代碼\FWLIB\inc\stm32f4xx_dma.h
?????文件???????19703??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_dma2d.h
?????文件???????41450??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_dsi.h
?????文件????????8117??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_exti.h
?????文件???????25092??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_flash.h
?????文件????????3277??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_flash_ramfunc.h
?????文件???????44926??2016-11-05?01:33??步兵底盤代碼\FWLIB\inc\stm32f4xx_fmc.h
............此處省略482個文件信息
評論
共有 條評論