• 大小: 28.55MB
    文件类型: .zip
    金币: 2
    下载: 0 次
    发布日期: 2024-02-05
  • 语言: 其他
  • 标签:

资源简介

参考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个文件信息

评论

共有 条评论