资源简介
STM32F103的无刷直流电机转速闭环控制,使用DA输出电机的转速,引脚使用的是TIM3采样电机的霍尔信号,PC10-PC12是逆变器的下管,TIM5对应的引脚是上管,使用上管PWM控制调速
代码片段和文件信息
/**************************************************************************//**
* @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 2019-07-04 15:11 STM32F103无刷直流电机的转速闭环\
目录 0 2019-07-04 15:01 STM32F103无刷直流电机的转速闭环\CMSIS\
文件 17273 2010-06-07 10:25 STM32F103无刷直流电机的转速闭环\CMSIS\core_cm3.c
文件 85714 2011-02-09 14:59 STM32F103无刷直流电机的转速闭环\CMSIS\core_cm3.h
文件 15503 2011-03-10 10:52 STM32F103无刷直流电机的转速闭环\CMSIS\startup_stm32f10x_hd.s
文件 633941 2011-03-10 10:51 STM32F103无刷直流电机的转速闭环\CMSIS\stm32f10x.h
文件 3236 2015-03-12 21:09 STM32F103无刷直流电机的转速闭环\CMSIS\stm32f10x_conf.h
文件 36577 2011-04-04 18:57 STM32F103无刷直流电机的转速闭环\CMSIS\system_stm32f10x.c
文件 2085 2011-03-10 10:51 STM32F103无刷直流电机的转速闭环\CMSIS\system_stm32f10x.h
目录 0 2019-07-04 15:01 STM32F103无刷直流电机的转速闭环\DebugConfig\
文件 6956 2015-12-10 17:06 STM32F103无刷直流电机的转速闭环\DebugConfig\Target_1_STM32F103RC_1.0.0.dbgconf
文件 339 2018-09-30 09:41 STM32F103无刷直流电机的转速闭环\EventRecorderStub.scvd
目录 0 2019-07-04 15:01 STM32F103无刷直流电机的转速闭环\hardware\
目录 0 2019-07-04 15:01 STM32F103无刷直流电机的转速闭环\hardware\ADC\
文件 3000 2018-09-02 10:31 STM32F103无刷直流电机的转速闭环\hardware\ADC\ADC.c
文件 233 2018-09-02 10:33 STM32F103无刷直流电机的转速闭环\hardware\ADC\ADC.h
目录 0 2019-07-04 15:01 STM32F103无刷直流电机的转速闭环\hardware\BLDC\
文件 3776 2018-09-15 09:17 STM32F103无刷直流电机的转速闭环\hardware\BLDC\bsp_BLDCIO.c
文件 456 2018-09-12 19:39 STM32F103无刷直流电机的转速闭环\hardware\BLDC\bsp_BLDCIO.h
文件 4274 2018-08-23 13:30 STM32F103无刷直流电机的转速闭环\hardware\BLDC\bsp_BLDCQD.c
文件 2218 2018-08-23 13:30 STM32F103无刷直流电机的转速闭环\hardware\BLDC\bsp_BLDCQD.h
文件 5855 2018-08-23 10:42 STM32F103无刷直流电机的转速闭环\hardware\BLDC\bsp_BLDCTIM.c
文件 2133 2018-08-23 10:42 STM32F103无刷直流电机的转速闭环\hardware\BLDC\bsp_BLDCTIM.h
目录 0 2019-07-04 15:01 STM32F103无刷直流电机的转速闭环\hardware\hall\
文件 5190 2018-09-12 19:31 STM32F103无刷直流电机的转速闭环\hardware\hall\bsp_hall.c
文件 591 2018-09-12 19:42 STM32F103无刷直流电机的转速闭环\hardware\hall\bsp_hall.h
目录 0 2019-07-04 15:01 STM32F103无刷直流电机的转速闭环\hardware\IPID\
文件 1001 2018-09-20 20:07 STM32F103无刷直流电机的转速闭环\hardware\IPID\IPID.c
文件 130 2018-09-18 09:31 STM32F103无刷直流电机的转速闭环\hardware\IPID\IPID.h
目录 0 2019-07-04 15:01 STM32F103无刷直流电机的转速闭环\hardware\IrPID\
文件 898 2018-09-30 16:06 STM32F103无刷直流电机的转速闭环\hardware\IrPID\IrPID.c
............此处省略199个文件信息
- 上一篇:传感器原理及应用复习题
- 下一篇:openssl1.1.1源码
相关资源
- STM32F103中文手册
- STM32F103 C8T6最小核心板 和HX711称重/压
- STM32f103+SIM900A-GSM模块通讯程序
- STM32F103单片机基于RS485总线的MODBUS通讯
- STM32F103ZET6--MPU6050DMP
- STM32F103输入捕获
- 采用STM8S的无刷直流电机控制系统的设
- STM32F103VE_Sonic HC-SR04超声波模块程序
- STM32F103实现步进电机的正反转
- STM32F103驱动ADS1255以及lcd1602
- 基于STM32F103的蓝牙4.0模块控制demo程序
- STM32F103ZE编码器脉冲计数值读取
- stm32f103zet6的NBIOT应用
- 玩转STM32F103+W5500 MQTT
- PCAP685+STM32F103
- 基于STM32F103的半桥、全桥移相PWM控制
- stm32超声波测距程序STM32F103ZET6程序
- 基于STM32F103的最方便的I/O口任意定义
- STM32F103双ADC模式同步采集两通道电压
- STM32F103_SPI驱动nRF24L01
- 基于stm32f103vc的超声波测距
- STM32F103 SX1278通讯程序
- STM32F103C8T6定时器秒表TM1650显示.rar
- ULN2003驱动28BYJ-48步进电机STM32F103库函
- STM32F103串口使用空闲IDLE中断接收不定
- lsm303dlhc Stm32f103 驱动程序
- STM32F103R LCD显示汉字.rar
- stm32f103zet6矩阵键盘(4x4)实现数字密
- STM32F103硬件i2c读取bmp085串口输出
- STM32F103ZET6_USB_自定义BULK
评论
共有 条评论