资源简介
参考正点原子的例程写的STM32F407针对TB6600驱动器驱动42,57步进电机,用限位传感器限制位置,控制正转反转停止等
代码片段和文件信息
/**
******************************************************************************
* @file misc.c
* @author MCD Application Team
* @version V1.4.0
* @date 04-August-2014
* @brief This file provides all the miscellaneous firmware functions (add-on
* to CMSIS functions).
*
* @verbatim
*
* ===================================================================
* How to configure Interrupts using driver
* ===================================================================
*
* This section provide functions allowing to configure the NVIC interrupts (IRQ).
* The Cortex-M4 exceptions are managed by CMSIS functions.
*
* 1. Configure the NVIC Priority Grouping using NVIC_PriorityGroupConfig()
* function according to the following table.
* The table below gives the allowed values of the pre-emption priority and subpriority according
* to the Priority Grouping configuration performed by NVIC_PriorityGroupConfig function
* ==========================================================================================================================
* NVIC_PriorityGroup | NVIC_IRQChannelPreemptionPriority | NVIC_IRQChannelSubPriority | Description
* ==========================================================================================================================
* NVIC_PriorityGroup_0 | 0 | 0-15 | 0 bits for pre-emption priority
* | | | 4 bits for subpriority
* --------------------------------------------------------------------------------------------------------------------------
* NVIC_PriorityGroup_1 | 0-1 | 0-7 | 1 bits for pre-emption priority
* | | | 3 bits for subpriority
* --------------------------------------------------------------------------------------------------------------------------
* NVIC_PriorityGroup_2 | 0-3 | 0-3 | 2 bits for pre-emption priority
* | | | 2 bits for subpriority
* --------------------------------------------------------------------------------------------------------------------------
* NVIC_PriorityGroup_3 | 0-7 | 0-1 | 3 bits for pre-emption priority
* | | | 1 bits for subpriority
* -----------------------------------------------
相关资源
- ADS1220 stm32f407vet6驱动硬件spi2带部分翻
- 基于AD绘制的STM32F405最小系统板
- HAL库stm32F429IG正交编码器
- STM32F407 GPIO LED点亮例程
- STM32f407核心板电路AD原理图和PCB图
- stm32f4xx_DFP2.14.0网盘链接.txt
- 基于stm32f4编码器模式
- 基于STM32F4的DHT11温湿度传感器的源代
- 基于STM32F4的PWM程序
- STM32F4全系列芯片封装+原理图库
- STM32F407 OV7670摄像头例程
- 基于stm32f4的SPI操作SD卡的FatFS移植
- STM32F4系列 LQFP PCB封装
- STM32F407VGT6原理图和PCB库
- STM32F407VET6原理图和PCB库
- STM32F405RGT6原理图和PCB库
- STM32F407学习板 开发板 全部例程原理图
- STM32F407VG用软件触发的DAC转换例程
- 从STM32F401411系列移植到STM32L4系列微控
- STM32F4 DMA双缓冲的正确打开方式
- F407VET6核心板
- tcd1304_stm32f4驱动
- STM32F429IGT6驱动RGB屏测试程序
- STM32F427---STM32F429中文数据手册
- 基于STM32F407的数字语音存储回放
- STM32 F4 HID驱动
- STM32F407_OV7725(DMA)
- STM32 F407的SPI+DMA带文件系统FATFS.zip
- STM32F4 DMA方式传送数据
- STM32F4接LAN8720A网络连接源代码免费
评论
共有 条评论