7 步进电机
所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:1031KB
下载次数:6
上传日期:2018-02-27 19:49:17
上 传 者:
lizengjia123
说明: 基于STM32F103单片机开发板的操作-步进电机C例程!
(Based on the STM32F103 MCU development board operation - step motor C routine!)
文件列表:
7 步进电机 (0, 2018-02-25)
7 步进电机\五线四相 (0, 2018-02-25)
7 步进电机\五线四相\C (0, 2018-02-25)
7 步进电机\五线四相\C\JLinkArm_HC6800-EM3.ini (205, 2016-05-05)
7 步进电机\五线四相\C\Lst (0, 2018-02-25)
7 步进电机\五线四相\C\Obj (0, 2018-02-25)
7 步进电机\五线四相\C\Obj\stm32f10x_vector(1)._ia (206, 2016-05-05)
7 步进电机\五线四相\C\Obj\stm32f10x_vector._ia.baiduyun.downloading (206, 2016-05-05)
7 步进电机\五线四相\C\Obj\stm32f10x_vector._ia.baiduyun.downloading.cfg (0, 2016-05-05)
7 步进电机\五线四相\C\Obj\步进电机.hex (4670, 2016-05-05)
7 步进电机\五线四相\C\Project.uvopt (59639, 2016-05-05)
7 步进电机\五线四相\C\Project.uvproj (15223, 2016-05-05)
7 步进电机\五线四相\C\main.c (5270, 2016-05-05)
7 步进电机\五线四相\C\note.txt (1794, 2016-05-05)
7 步进电机\五线四相\C\platform_config.h (2234, 2016-05-05)
7 步进电机\五线四相\C\stm32f10x_conf.h (6304, 2016-05-05)
7 步进电机\五线四相\C\stm32f10x_it.c (29218, 2016-05-05)
7 步进电机\五线四相\C\stm32f10x_it.h (3842, 2016-05-05)
7 步进电机\五线四相\C\stm32f10x_vector.s (12871, 2016-05-05)
7 步进电机\五线四相\连线图.jpg (515192, 2016-05-05)
7 步进电机\四相双极性 (0, 2018-02-25)
7 步进电机\四相双极性\C (0, 2018-02-25)
7 步进电机\四相双极性\C\JLinkArm_HC6800-EM3.ini (205, 2016-05-05)
7 步进电机\四相双极性\C\Lst (0, 2018-02-25)
7 步进电机\四相双极性\C\Obj (0, 2018-02-25)
7 步进电机\四相双极性\C\Obj\stm32f10x_vector._ia (206, 2016-05-05)
7 步进电机\四相双极性\C\Obj\步进电机.hex (4633, 2016-05-05)
7 步进电机\四相双极性\C\Project.uvopt (59641, 2016-05-05)
7 步进电机\四相双极性\C\Project.uvproj (15223, 2016-05-05)
7 步进电机\四相双极性\C\main.c (5245, 2016-05-05)
7 步进电机\四相双极性\C\note.txt (1794, 2016-05-05)
7 步进电机\四相双极性\C\platform_config.h (2234, 2016-05-05)
7 步进电机\四相双极性\C\stm32f10x_conf.h (6304, 2016-05-05)
7 步进电机\四相双极性\C\stm32f10x_it.c (29218, 2016-05-05)
7 步进电机\四相双极性\C\stm32f10x_it.h (3842, 2016-05-05)
7 步进电机\四相双极性\C\stm32f10x_vector.s (12871, 2016-05-05)
7 步进电机\四相双极性\连线图.jpg (498071, 2016-05-05)
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : readme.txt
* Author : MCD Application Team
* Version : V2.0.1
* Date : 06/13/2008
* Description : Description of the GPIO IOToggle Example.
********************************************************************************
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
* CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
*******************************************************************************/
Example description
===================
This example describes how to use GPIO BSRR (Port bit set/reset register) and
BRR (Port bit reset register) for IO toggling.
These registers allow modifying only one or several GPIO pins in a single atomic
write access.
Directory contents
==================
platform_config.h Evaluation board specific configuration file
stm32f10x_conf.h Library Configuration file
stm32f10x_it.c Interrupt handlers
stm32f10x_it.h Header for stm32f10x_it.c
main.c Main program
Hardware environment
====================
This example runs on STMicroelectronics STM3210B-EVAL and STM3210E-EVAL evaluation
boards and can be easily tailored to any other hardware.
To select the STMicroelectronics evaluation board used to run the example, uncomment
the corresponding line in platform_config.h file.
+ STM3210B-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PC.06, PC.07, PC.08
and PC.09 pins
+ STM3210E-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PF.06, PF0.7, PF.08
and PF.09 pins
How to use it
=============
In order to make the program work, you must do the following:
- Create a project and setup all your toolchain's start-up files
- Compile the directory content files and required Library files:
+ stm32f10x_lib.c
+ stm32f10x_gpio.c
+ stm32f10x_rcc.c
+ stm32f10x_nvic.c
+ stm32f10x_flash.c
- Link all compiled files and load your image into target memory
- Run the example
******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE******
近期下载者:
相关文件:
收藏者: