资源简介
本资源包括代码和仿真实例各一份,主要是实现protues仿真stm32f103r6,输出正弦波波,使用到的定时器仿真比较麻烦,有需要注意的点
代码片段和文件信息
/**
******************************************************************************
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 20511 2018-12-07 11:02 protues仿真stm32f103输出正弦波\stm32f103r6仿真\Backup Of GPIO口仿真.pdsbak
文件 20590 2018-12-19 17:45 protues仿真stm32f103输出正弦波\stm32f103r6仿真\GPIO口仿真.pdsprj
文件 14158 2018-04-26 13:07 protues仿真stm32f103输出正弦波\stm32f103r6仿真\GPIO口仿真.pdsprj.DESKTOP-332UV6A.happy.workspace
文件 14486 2018-12-19 17:45 protues仿真stm32f103输出正弦波\stm32f103r6仿真\GPIO口仿真.pdsprj.USER-RA1K2PVR24.Administrator.workspace
文件 14265 2017-05-08 14:05 protues仿真stm32f103输出正弦波\stm32f103r6仿真\GPIO口仿真.pdsprj.ZL.Liang.workspace
文件 20592 2018-12-19 17:03 protues仿真stm32f103输出正弦波\stm32f103r6仿真\Last Loaded GPIO口仿真.pdsbak
文件 4032 2018-04-26 11:01 protues仿真stm32f103输出正弦波\stm32f103r6仿真\STM32F103R6Demo.hex
文件 10308 2008-09-21 13:21 protues仿真stm32f103输出正弦波\例程\ASM\cortexm3_macro.s
文件 15761 2010-04-23 10:40 protues仿真stm32f103输出正弦波\例程\ASM\startup_stm32f10x_cl.s
文件 15503 2011-03-10 10:52 protues仿真stm32f103输出正弦波\例程\ASM\startup_stm32f10x_hd.s
文件 12376 2011-03-10 10:52 protues仿真stm32f103输出正弦波\例程\ASM\startup_stm32f10x_ld.s
文件 13651 2010-04-23 10:40 protues仿真stm32f103输出正弦波\例程\ASM\startup_stm32f10x_ld_vl.s
文件 12765 2011-03-10 10:52 protues仿真stm32f103输出正弦波\例程\ASM\startup_stm32f10x_md.s
文件 14068 2010-04-23 10:40 protues仿真stm32f103输出正弦波\例程\ASM\startup_stm32f10x_md_vl.s
文件 15950 2010-04-23 10:40 protues仿真stm32f103输出正弦波\例程\ASM\startup_stm32f10x_xl.s
文件 9630 2009-11-21 17:22 protues仿真stm32f103输出正弦波\例程\ASM\stm32f10x_startup.s
文件 3946 2018-12-19 09:57 protues仿真stm32f103输出正弦波\例程\core_cm3.crf
文件 98 2018-12-19 09:57 protues仿真stm32f103输出正弦波\例程\core_cm3.d
文件 11060 2018-12-19 09:57 protues仿真stm32f103输出正弦波\例程\core_cm3.o
文件 2403 2017-11-23 15:41 protues仿真stm32f103输出正弦波\例程\DebugConfig\LY-STM32_STM32F103VE_1.0.0.dbgconf
文件 2403 2017-11-23 15:41 protues仿真stm32f103输出正弦波\例程\DebugConfig\LY-STM32_STM32F103ZE_1.0.0.dbgconf
文件 19 2014-04-27 10:23 protues仿真stm32f103输出正弦波\例程\ExtDll.iex
文件 497 2016-06-19 11:35 protues仿真stm32f103输出正弦波\例程\Jli
文件 46025 2016-06-19 11:36 protues仿真stm32f103输出正弦波\例程\Jli
文件 375 2014-04-19 12:22 protues仿真stm32f103输出正弦波\例程\Jli
文件 8982 2011-03-10 10:47 protues仿真stm32f103输出正弦波\例程\Lib\inc\misc.h
文件 21690 2011-03-10 10:47 protues仿真stm32f103输出正弦波\例程\Lib\inc\stm32f10x_adc.h
文件 7555 2011-03-10 10:47 protues仿真stm32f103输出正弦波\例程\Lib\inc\stm32f10x_bkp.h
文件 27559 2011-03-10 10:47 protues仿真stm32f103输出正弦波\例程\Lib\inc\stm32f10x_can.h
文件 6573 2011-03-10 10:47 protues仿真stm32f103输出正弦波\例程\Lib\inc\stm32f10x_cec.h
............此处省略127个文件信息
相关资源
- protues仿真stm32f103输出PWM
- 单相正弦波逆变电源
- 基于AD1674的模数转换电路及程序
- Protues仿真8051-PWM控制LED的亮度仿真程
- STM32F4之dacdma输出正弦波加adcdma多通道
- 单片机 PROTUES仿真大全(附带原理图)
- 基于DDS正弦波信号发生器
- 基于DDS的三相正弦波发生器
- stm32 DMA触发DAC 正弦波
- vhdl dds 方波 正弦波 信号发生器
- AT89S51单片机试验及实践教程(含有大
- keil 4 stm32 液晶显示正弦波
- 输出三角波 锯齿波 方波 正弦波
- AD9833信号发生器全
- 基于stm32f103的正弦波峰峰值.zip
- fpga信号发生器正弦波,三角波等
- 电子图书《正弦波逆变器》
- 51单片机波形发生器设计,正弦波、三
- 基于51单片机串口温湿度采集和传输仿
- 电子-单相正弦波变频电源.rar
- 基于STM32的proteus仿真——扫地机器人
- 同步信号为正弦波的触发电路设计
- 51单片机与PC串口通信的protues仿真的工
- Protues仿真大全包括各种仿真完整版
- fpga控制DDS_AD9850输出正弦波方波.zip
- stm32f103的正弦波代码
- Verilog语言生成正弦波
- 信号发生器的设计
- 基于FPGA的DDS任意波形发生器
- SPWM正弦波计算函数
评论
共有 条评论