资源简介
给特定的脉冲信号给步进电机驱动器,让步进电机转到相应的角度。

代码片段和文件信息
/******************************************************************************
* @file: core_cm3.c
* @purpose: CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version: V1.10
* @date: 24. Feb. 2009
*----------------------------------------------------------------------------
*
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* ARM Limited (ARM) is supplying this software for use with Cortex-Mx
* processor based microcontrollers. This file can be freely distributed
* within development tools that are supporting such ARM based processors.
*
* 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 armcc */
#define __INLINE __inline /*!< inline keyword for armcc */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for iarcc */
#define __INLINE inline /*!< inline keyword for iarcc. Only avaiable in High optimization mode! */
#define __nop __no_operation /*!< no operation intrinsic in iarcc */
#elif defined ( __GNUC__ )
#define __ASM asm /*!< asm keyword for gcc */
#define __INLINE inline /*!< inline keyword for gcc */
#endif
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/**
* @brief Return the Process Stack Pointer
*
* @param none
* @return uint32_t 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 uint32_t Process Stack Pointer
* @return none
*
* 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
*
* @param none
* @return uint32_t Main Stack Pointer
*
* Return the current value of the MSP (main stack pointer)
* Cortex processor register
*/
__ASM uint32_t __get_MSP(void)
{
mrs r0 msp
bx lr
}
/**
* @brief Set the Main Stack Pointer
*
* @param uint32_t Main Stack Pointer
* @return none
*
* Assign the value mainStackPointer to the MSP
* (main stack pointer) Cortex processor register
*/
__ASM void __set_MSP(uint32_t mainStackP
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2015-01-03 11:26 TA8435H\
目录 0 2015-01-03 11:26 TA8435H\Libraries\
目录 0 2015-01-03 11:26 TA8435H\Libraries\CMSIS\
目录 0 2015-01-03 11:26 TA8435H\Libraries\CMSIS\Core\
目录 0 2015-01-03 11:26 TA8435H\Libraries\CMSIS\Core\CM3\
文件 16249 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\core_cm3.c
文件 42077 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\core_cm3.h
目录 0 2015-01-03 11:26 TA8435H\Libraries\CMSIS\Core\CM3\startup\
目录 0 2015-01-03 11:26 TA8435H\Libraries\CMSIS\Core\CM3\startup\arm\
文件 15872 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_hd.s
文件 12236 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_ld.s
文件 12564 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_md.s
目录 0 2015-01-03 11:26 TA8435H\Libraries\CMSIS\Core\CM3\startup\gcc\
文件 16437 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c
文件 12790 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_ld.c
文件 13104 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_md.c
目录 0 2015-01-03 11:26 TA8435H\Libraries\CMSIS\Core\CM3\startup\iar\
文件 16573 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_hd.s
文件 12001 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_ld.s
文件 12492 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_md.s
文件 530869 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\stm32f10x.h
文件 24166 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\system_stm32f10x.c
文件 2158 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\CM3\system_stm32f10x.h
目录 0 2015-01-03 11:26 TA8435H\Libraries\CMSIS\Core\Documentation\
文件 50779 2009-04-06 10:30 TA8435H\Libraries\CMSIS\Core\Documentation\CMSIS_Core.htm
目录 0 2015-01-03 11:26 TA8435H\Libraries\STM32F10x_StdPeriph_Driver\
目录 0 2015-01-03 11:26 TA8435H\Libraries\STM32F10x_StdPeriph_Driver\inc\
文件 4951 2009-04-06 10:30 TA8435H\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h
文件 19558 2009-04-06 10:30 TA8435H\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h
文件 7373 2009-04-06 10:30 TA8435H\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h
文件 14289 2009-04-06 10:30 TA8435H\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h
............此处省略68个文件信息
- 上一篇:TCS3200模块说明
- 下一篇:拓扑排序输出所有可能的拓扑排序
相关资源
- 基于STM32RCT6的步进电机驱动程序
- 直流无刷电机方波驱动 stm32 例程代码
- elantech触控板驱动程序 v13.6.11 官方最
- 联想y470无线网卡驱动 for 32位64位
- 松下plc FP-XH的驱动
- IMX385驱动代码.zip
- 组态王驱动开发包3.0.0.7(中文)
- 飞思卡尔单片机MC9S12XS12G128驱动(硬件
- CASS9.1最新S4数据及驱动+ET199数据及驱
- 带有死区延时的H桥直流电机驱动电路
- USB转串口驱动,FT232R驱动程序,最新
- 德卡D3读卡器测试程序驱动文件
- WinCE下CP210x的驱动程序
- ubuntu9.10 可加载内核模块和字符设备驱
- MCGS触摸屏西门子s7_1200驱动
- FPGA在步进电机驱动上的应用实例及代
- [免费]基于stm32f103ze 的OLED驱动代码
- STM32F103RBT6驱动UC1698控制芯片的160160黑
- RA8806液晶驱动程序
- 内核驱动进程保护演示程序
- STM32F103 DS18B20 V3.5.0固件库驱动程序工
- 组态王中S7-300TCP驱动
- STC12C5A60S2 CH4521 驱动数码管 显示
- STM32F103 CC2500完整驱动(模拟SPI)
- 430系列单片机USBFET下载驱动
- dell阵列卡驱动s100 s300 2008 R2.rar
- keil vcom windows 7 64bit 驱动
- windows ce 系统的GPIO驱动程序
- 2440 cs8900a 网卡驱动程序
- USB 驱动 让电脑与arm进行通信
评论
共有 条评论