资源简介
STM32双极性SPWM程序代码,互补输出,有死区,频率可调。
代码片段和文件信息
/**************************************************************************//**
* @file core_cm3.c
* @brief CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version V1.30
* @date 30. October 2009
*
* @note
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* @par
* ARM Limited (ARM) is supplying this software for use with Cortex-M
* processor based microcontrollers. This file can be freely distributed
* within development tools that are supporting such ARM based processors.
*
* @par
* THIS SOFTWARE IS PROVIDED “AS IS“. NO WARRANTIES WHETHER EXPRESS IMPLIED
* OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
* ARM SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR
* CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
*
******************************************************************************/
#include
/* define compiler specific symbols */
#if defined ( __CC_ARM )
#define __ASM __asm /*!< asm keyword for ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for IAR Compiler */
#define __INLINE inline /*!< inline keyword for IAR Compiler. Only avaiable in High optimization mode! */
#elif defined ( __GNUC__ )
#define __ASM __asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#elif defined ( __TASKING__ )
#define __ASM __asm /*!< asm keyword for TASKING Compiler */
#define __INLINE inline /*!< inline keyword for TASKING Compiler */
#endif
/* ################### Compiler specific Intrinsics ########################### */
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/* ARM armcc specific functions */
/**
* @brief Return the Process Stack Pointer
*
* @return ProcessStackPointer
*
* Return the actual process stack pointer
*/
__ASM uint32_t __get_PSP(void)
{
mrs r0 psp
bx lr
}
/**
* @brief Set the Process Stack Pointer
*
* @param topOfProcStack Process Stack Pointer
*
* Assign the value ProcessStackPointer to the MSP
* (process stack pointer) Cortex processor register
*/
__ASM void __set_PSP(uint32_t topOfProcStack)
{
msr psp r0
bx lr
}
/**
* @brief Return the Main Stack Pointer
*
* @return Main Stack Pointer
*
* Return the curren
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-05-30 14:26 SPWM_双极性_TIM8\
目录 0 2017-05-30 14:26 SPWM_双极性_TIM8\CORE\
文件 17273 2010-06-07 10:25 SPWM_双极性_TIM8\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 SPWM_双极性_TIM8\CORE\core_cm3.h
文件 15503 2011-03-10 10:52 SPWM_双极性_TIM8\CORE\startup_stm32f10x_hd.s
文件 12765 2011-03-10 10:52 SPWM_双极性_TIM8\CORE\startup_stm32f10x_md.s
目录 0 2017-05-28 14:58 SPWM_双极性_TIM8\HARDWARE\
目录 0 2017-06-01 17:54 SPWM_双极性_TIM8\HARDWARE\LCD\
文件 35016 2014-01-02 17:22 SPWM_双极性_TIM8\HARDWARE\LCD\FONT.H
文件 85631 2017-06-01 17:54 SPWM_双极性_TIM8\HARDWARE\LCD\lcd.c
文件 8193 2015-08-12 18:19 SPWM_双极性_TIM8\HARDWARE\LCD\lcd.h
目录 0 2017-05-30 14:26 SPWM_双极性_TIM8\HARDWARE\LED\
文件 753 2014-09-11 10:30 SPWM_双极性_TIM8\HARDWARE\LED\led.c
文件 181 2014-07-13 15:03 SPWM_双极性_TIM8\HARDWARE\LED\led.h
目录 0 2017-07-06 14:07 SPWM_双极性_TIM8\HARDWARE\SPWM\
文件 8679 2017-07-06 14:07 SPWM_双极性_TIM8\HARDWARE\SPWM\SPWM.c
文件 199 2017-05-28 10:35 SPWM_双极性_TIM8\HARDWARE\SPWM\SPWM.h
文件 399 2011-04-23 10:24 SPWM_双极性_TIM8\keilkilll.bat
目录 0 2017-07-06 14:22 SPWM_双极性_TIM8\OBJ\
文件 3939 2017-07-05 18:39 SPWM_双极性_TIM8\OBJ\core_cm3.crf
文件 101 2017-07-05 18:39 SPWM_双极性_TIM8\OBJ\core_cm3.d
文件 11280 2017-07-05 18:39 SPWM_双极性_TIM8\OBJ\core_cm3.o
文件 270921 2017-07-05 18:39 SPWM_双极性_TIM8\OBJ\delay.crf
文件 707 2017-07-05 18:39 SPWM_双极性_TIM8\OBJ\delay.d
文件 289068 2017-07-05 18:39 SPWM_双极性_TIM8\OBJ\delay.o
文件 19 2017-07-06 14:08 SPWM_双极性_TIM8\OBJ\ExtDll.iex
文件 341041 2017-07-05 18:39 SPWM_双极性_TIM8\OBJ\lcd.crf
文件 902 2017-07-05 18:39 SPWM_双极性_TIM8\OBJ\lcd.d
文件 367268 2017-07-05 18:39 SPWM_双极性_TIM8\OBJ\lcd.o
文件 270404 2017-07-05 18:39 SPWM_双极性_TIM8\OBJ\led.crf
文件 673 2017-07-05 18:39 SPWM_双极性_TIM8\OBJ\led.d
............此处省略131个文件信息
相关资源
- 24位高精度ad cs5532 程序代码 stm32 已调
- STM32 5路ad采集 串口输出
- 基于STM32的自动喂养机控制系统.pdf
- 电子-库函数版本适合战舰V3和精英S
- 基于STM32和ET1100的无刷直流电机控制器
- 基于stm32f1系列的直流电机调速
- hmc5883l在stm32上的应用
- STM32F103C8T6+OLED
- STM32F030工程模板
- STM32F303x固件库工程模板
- STM32F7和 STM32H7 的完整编程指南
- STM32F103的4轴步进电机加减速控制工程
- RGB565格式转BMP
- stm32F429中文数据手册279362
- stm32f4+w5500+tcpclient/server源码
- LORA完成.rar
- 水墨屏资料
- protues元器件名称
- STM32之ADC+DMA传输定时器触发
- 基于SM32F103C8T6的环境传感器
- STM32F103C8T6+DHT11+SGP30+CH340+ADC
- STM32F103C8T6+DHT11+OLED
- STM32实现LCD中显示当前ADC转换值
- 基于STM32的DHT11的温湿度采集GSM报警系
- STM32 MODBUS_RTU从站程序,KEIL编写
- stm32接收短信并开启继电器
- stm32智能小车/数组控制小车路径/避障
- NRF24L01收发程序STM32F407
- 蓝桥杯嵌入式五届到八届完成全部源
- stm32f103zet6+摄像头颜色识别
评论
共有 条评论