• 大小: 16.15MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-21
  • 语言: 其他
  • 标签: stm32  gcode  offline    

资源简介

我们做电赛用的stm32精英版,做的写字机,用按键控制,key0向下 选择文件,key1向上选择文件,wakeup 确认键。gcode文件放在sd卡根目录下,转换为txt格式。具体的引脚见txt.h文件。笔是主轴控制的!!!平面雕刻!!!里面有联机模式,可以自己测试下

资源截图

代码片段和文件信息

/**************************************************************************//**
 * @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-05-10 19:21  实验39 FATFS实验TIM1\
     目录           0  2019-05-10 19:21  实验39 FATFS实验TIM1\CORE\
     文件       17273  2010-06-07 10:25  实验39 FATFS实验TIM1\CORE\core_cm3.c
     文件       85714  2011-02-09 14:59  实验39 FATFS实验TIM1\CORE\core_cm3.h
     文件       15503  2011-03-10 10:52  实验39 FATFS实验TIM1\CORE\startup_stm32f10x_hd.s
     目录           0  2019-05-10 19:21  实验39 FATFS实验TIM1\DebugConfig\
     文件        6956  2015-12-10 17:06  实验39 FATFS实验TIM1\DebugConfig\Target_1_STM32F103VC.dbgconf
     文件        6956  2015-12-10 17:06  实验39 FATFS实验TIM1\DebugConfig\Target_1_STM32F103ZE.dbgconf
     文件        6956  2015-12-10 17:06  实验39 FATFS实验TIM1\DebugConfig\Target_1_STM32F103ZE_1.0.0.dbgconf
     目录           0  2019-05-10 19:21  实验39 FATFS实验TIM1\FATFS\
     目录           0  2019-05-10 19:21  实验39 FATFS实验TIM1\FATFS\doc\
     文件        3425  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\css_e.css
     文件        3840  2015-02-12 20:17  实验39 FATFS实验TIM1\FATFS\doc\css_j.css
     文件         125  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\css_p.css
     目录           0  2019-05-11 15:26  实验39 FATFS实验TIM1\FATFS\doc\en\
     目录           0  2019-05-10 19:21  实验39 FATFS实验TIM1\FATFS\doc\img\
     文件        1063  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\app1.c
     文件        1609  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\app2.c
     文件        3810  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\app3.c
     文件       10365  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\app4.c
     文件        1414  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\f1.png
     文件        1458  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\f2.png
     文件        1039  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\f3.png
     文件        2335  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\f4.png
     文件        2479  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\f5.png
     文件        1464  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\f6.png
     文件       11388  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\f7.png
     文件       14357  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\funcs.png
     文件        5521  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\layers.png
     文件        3843  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\layers1.png
     文件        3741  2015-02-11 12:11  实验39 FATFS实验TIM1\FATFS\doc\img\layers2.png
............此处省略597个文件信息

评论

共有 条评论