资源简介
给特定的脉冲信号给步进电机驱动器,让步进电机转到相应的角度。
代码片段和文件信息
/******************************************************************************
* @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模块说明
- 下一篇:拓扑排序输出所有可能的拓扑排序
相关资源
- 飞凌ok6410 linuxLED驱动及应用程序
- OpenJTAG驱动,USBRS232驱动
- DVDFabVirtualDriver
- STM32F103的LoRa模块驱动源代码
- POS58驱动-小票机驱动程序
- px4flow 驱动装置
- si4432驱动程序包括 发送 接收 切换
- 中兴模块USB驱动
- cpld+sram驱动tft 驱动4.3寸480x272分辨率的
- 电路图\\马达驱动电源.Sch
- psoc 开发额: 多功能步进马达驱动器
- I2C驱动AT24C16
- OLED 091 12832 I2C STM32 驱动
- DS18B20 STC1T系列单片机驱动程序
- CC2530 I2C 驱动
- STM32+MLX90316霍尔传感器驱动源码
- ADS1148驱动程序
- tft-7-LCD-DRIVE-VERILOG.基于FPGA 液晶屏驱动
- DHT11的51单片机驱动
- 线阵ccd 驱动程序
- SandBoxie+v5.18+已和谐的驱动及注册机
- quartusUSB驱动
- AD9959的stm32驱动
- PCI-CAN卡驱动
- 苹果mac系统的通用声卡驱动
- 声卡驱动10.13.6 10.12 10.11
- STM32L151驱动,HART协议的源代码。
- ULN2003驱动步进电机
- 黑果AMD/NVIDIA显卡驱动补丁WhateverGree
- ESp8266驱动
评论
共有 条评论