资源简介
基于stm32的波形输出,TIM+DAC+DMA输出任意波形。
代码片段和文件信息
/**
******************************************************************************
* @file misc.c
* @author MCD Application Team
* @version V3.5.0
* @date 11-March-2011
* @brief This file provides all the miscellaneous firmware functions (add-on
* to CMSIS functions).
******************************************************************************
* @attention
*
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*
* © COPYRIGHT 2011 STMicroelectronics
******************************************************************************
*/
/* Includes ------------------------------------------------------------------*/
#include “misc.h“
/** @addtogroup STM32F10x_StdPeriph_Driver
* @{
*/
/** @defgroup MISC
* @brief MISC driver modules
* @{
*/
/** @defgroup MISC_Private_TypesDefinitions
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Defines
* @{
*/
#define AIRCR_VECTKEY_MASK ((uint32_t)0x05FA0000)
/**
* @}
*/
/** @defgroup MISC_Private_Macros
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Variables
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_FunctionPrototypes
* @{
*/
/**
* @}
*/
/** @defgroup MISC_Private_Functions
* @{
*/
/**
* @brief Configures the priority grouping: pre-emption priority and subpriority.
* @param NVIC_PriorityGroup: specifies the priority grouping bits length.
* This parameter can be one of the following values:
* @arg NVIC_PriorityGroup_0: 0 bits for pre-emption priority
* 4 bits for subpriority
* @arg NVIC_PriorityGroup_1: 1 bits for pre-emption priority
* 3 bits for subpriority
* @arg NVIC_PriorityGroup_2: 2 bits for pre-emption priority
* 2 bits for subpriority
* @arg NVIC_PriorityGroup_3: 3 bits for pre-emption priority
* 1 bits for subpriority
* @arg NVIC_PriorityGroup_4: 4 bits for pre-emption priority
* 0 bits for subpriority
* @retval None
*/
void NVIC_PriorityGroupConfig(uint32_t NVIC_PriorityGroup)
{
/* Check the parameters */
assert_param(IS_NVIC_PRIORITY_GROUP(NVIC_PriorityGroup));
/* Set the PRIGROUP[10:8] bits according to NVIC_PriorityGroup value */
SCB->AIRCR = AIRCR_VECTKEY_MASK | NVIC_PriorityGroup;
}
/**
* @brief Initializes the NVIC p
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 85714 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\core_cm3.h
文件 8982 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\misc.h
文件 633937 2014-06-11 13:03 TIM+DAC+DMA输出任意波形\INC\stm32f10x.h
文件 21690 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_adc.h
文件 7555 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_bkp.h
文件 27559 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_can.h
文件 6573 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_cec.h
文件 2162 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_crc.h
文件 15233 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_dac.h
文件 3818 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_dbgmcu.h
文件 20754 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_dma.h
文件 6824 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_exti.h
文件 25445 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_flash.h
文件 27016 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_fsmc.h
文件 20207 2014-06-16 15:31 TIM+DAC+DMA输出任意波形\INC\stm32f10x_gpio.h
文件 30029 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_i2c.h
文件 1983 2011-04-04 18:57 TIM+DAC+DMA输出任意波形\INC\stm32f10x_it.h
文件 3828 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_iwdg.h
文件 4383 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_pwr.h
文件 30452 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_rcc.h
文件 3857 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_rtc.h
文件 21863 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_sdio.h
文件 17725 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_spi.h
文件 52427 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_tim.h
文件 16548 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_usart.h
文件 2966 2013-11-24 20:37 TIM+DAC+DMA输出任意波形\INC\stm32f10x_wwdg.h
文件 2085 2011-03-10 10:51 TIM+DAC+DMA输出任意波形\INC\system_stm32f10x.h
文件 205 2014-04-22 10:51 TIM+DAC+DMA输出任意波形\INC\SysTick.h
文件 306 2014-04-22 10:51 TIM+DAC+DMA输出任意波形\INC\SysTick_Delay.h
文件 435 2014-04-01 18:18 TIM+DAC+DMA输出任意波形\INC\位带操作.h
............此处省略188个文件信息
相关资源
- STM32和CC2530串口通信
- STM32_SD_FATFS文件系统学习资料
- STM32 BLDC开发资料
- RTT-Mini-context_switch.rar
- FPC1020AM.7z
- 克里金插值dace工具箱
- stm32F4系列实现USB UVC免驱摄像头
- stm32串口1串口2 DMA方式收发数据
- STM32 BLDC直流无刷电机开发板驱动板配
- stm32f103VET6-FreeRTOS-enc28j60-Lwip
- 基于STM32俄罗斯方块源代码
- MPU6050姿态解算STM32源码(互补滤波、
- Keil4.5-STM32-IAP源码及485半双工IAP电路
- 基于STM32的太阳能供电智能花盆
- STM32接入机智云工具包
- STM32光敏传感器
- STM32MAX30100程序
- STM32F103VE_NRF24L01_GPIO模拟SPI通讯程序
- 基于stm32的韦根26发送程序
- STM32F107读写U盘
- 浅谈工程师的调试法宝1-5.zip
- STM32串口USART2发送接收程序
- STM32F103工程
- stm32 modbus主机程序125364
- 基于stm32库3.5的小车红外避障程序
- STM32驱动OV7620摄像头
- STM32F407-四路超声波测距代码
- 基于STM32的MLX90614测温显示.rar
- stm32韦根通信协议
- STM32F103C8T6蓝牙点亮LED
评论
共有 条评论