资源简介
自己编写的正交编码器测速程序,硬件为STM32f103ZET6, 编译器为keil4,自己测试可以正常使用
代码片段和文件信息
/**************************************************************************//**
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 17273 2010-06-07 10:25 Orthogonal encoder\Core\core_cm3.c
文件 85714 2011-02-09 14:59 Orthogonal encoder\Core\core_cm3.h
文件 15503 2011-03-10 10:52 Orthogonal encoder\Core\startup_stm32f10x_hd.s
文件 1048 2012-09-13 14:45 Orthogonal encoder\HARDWARE\BEEP\beep.c
文件 651 2012-09-13 14:26 Orthogonal encoder\HARDWARE\BEEP\beep.h
文件 3523 2018-05-28 22:25 Orthogonal encoder\HARDWARE\DataScope_DP\DataScope_DP.C
文件 982 2018-05-28 16:45 Orthogonal encoder\HARDWARE\DataScope_DP\DataScope_DP.h
文件 5381 2018-06-05 17:28 Orthogonal encoder\HARDWARE\ENC\enc.c
文件 151 2017-09-18 17:08 Orthogonal encoder\HARDWARE\ENC\enc.h
文件 2319 2016-10-13 11:31 Orthogonal encoder\HARDWARE\KEY\key.c
文件 1218 2016-10-13 10:47 Orthogonal encoder\HARDWARE\KEY\key.h
文件 1475 2017-01-14 16:29 Orthogonal encoder\HARDWARE\LED\led.c
文件 639 2016-09-19 18:56 Orthogonal encoder\HARDWARE\LED\led.h
文件 22 2017-09-18 17:24 Orthogonal encoder\HARDWARE\MOTOR\motor.c
文件 219 2017-09-18 17:28 Orthogonal encoder\HARDWARE\MOTOR\motor.h
文件 2416 2017-09-19 14:15 Orthogonal encoder\HARDWARE\PID\pid.c
文件 865 2017-09-18 16:47 Orthogonal encoder\HARDWARE\PID\pid.h
文件 2965 2018-06-05 17:34 Orthogonal encoder\HARDWARE\PWM\pwm.c
文件 464 2018-06-05 16:48 Orthogonal encoder\HARDWARE\PWM\pwm.h
文件 202 2017-09-13 21:22 Orthogonal encoder\HARDWARE\PWM\Serial interrupt.plg
文件 71768 2017-09-13 21:22 Orthogonal encoder\HARDWARE\PWM\Serial interrupt.uvopt
文件 14217 2017-09-13 21:22 Orthogonal encoder\HARDWARE\PWM\Serial interrupt.uvproj
文件 83 2017-09-13 21:22 Orthogonal encoder\HARDWARE\PWM\Serial interrupt_Target 1.dep
文件 0 2017-09-13 21:21 Orthogonal encoder\HARDWARE\PWM\Serial interrupt_uvproj.bak
文件 497 2018-06-05 17:32 Orthogonal encoder\Jli
文件 95583 2018-06-05 17:34 Orthogonal encoder\Jli
文件 285 2016-09-14 16:31 Orthogonal encoder\Jli
文件 3543 2018-06-05 17:25 Orthogonal encoder\OBJ\core_cm3.crf
文件 101 2018-06-05 17:25 Orthogonal encoder\OBJ\core_cm3.d
文件 10404 2018-06-05 17:25 Orthogonal encoder\OBJ\core_cm3.o
............此处省略212个文件信息
- 上一篇:algorithm design
- 下一篇:Freeba
se-FB13
相关资源
- STM32F103用串口空闲中断+DMA实现modbus通
- STM32系列单片机引脚分布及管脚定义
- STM32无刷无感电机驱动
- 基于STM32无刷电机驱动,有简单的说明
- MPU6050六轴_运动检测.rar
- 6001760stm32串口模拟.zip
- 基于STM32的CCD智能寻迹小车源代码
-
stsw-li
nk009 for window10.zip - STM32f103ZET6官方评估板
- DW1000—STM32—Keil工程
- STM32F1的PWM循迹小车程序
- STM32F1循迹小车程序
- STM32F103C8T6 超声波传感器采集加串口发
- Flash_Loader_Demonstrator_V1.3_Setup
- STM32固件库使用手册_v3.5版本
- 基于stm32f4的人眼状态识别
- STM32 自动更新程序
- STM32_W5500_HTTPC_Download_File.rar
- stm32存储Excel/csv文件
- STM32_MQTT_TCP.rar
- stm32f407+mbed+lwip+lan8720 例程
- STM32蓝牙小车可调速程序
- STM32F4-SIM900A模块GPRS功能使用精简例程
- stm32 BootLoader简单跳转
- STM32F407示波器 正点原子探索者STM32F
- stm32 + w5500 + MQTT
-
ROSba
seSTM32CODE - STM32F103控制MAX31865采集PT100温度
- stm32 摄像头云台
- stm32通过SPI驱动sx1278_lora程序
评论
共有 条评论