资源简介
做了1年多的比赛,攒出来一套库,然后总结说明了一下,里面是以正点原子库为基础,包含泰庆、优信、龙邱和一些从网上大神的程序里面借鉴,还是相对比较全的库,适合入门级使用哈,精度中下等,需要高精度高要求需要自己更改。
代码片段和文件信息
/**************************************************************************//**
* @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 2018-09-26 21:40 STM32_sumjess\
目录 0 2018-09-26 21:09 STM32_sumjess\CORE\
文件 17273 2010-06-07 10:25 STM32_sumjess\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 STM32_sumjess\CORE\core_cm3.h
文件 85714 2011-02-09 14:59 STM32_sumjess\CORE\core_cm3.h~RF4c5eee1.TMP
文件 15504 2017-08-03 11:46 STM32_sumjess\CORE\startup_stm32f10x_hd.s
文件 12765 2011-03-10 10:52 STM32_sumjess\CORE\startup_stm32f10x_md.s
文件 58368 2017-09-08 18:38 STM32_sumjess\C语言.doc
文件 2652672 2014-09-02 12:39 STM32_sumjess\FlyMcu.exe
文件 1355 2018-09-26 21:40 STM32_sumjess\FlyMcuConfig.ini
目录 0 2018-09-26 21:09 STM32_sumjess\Food_robot\
目录 0 2018-09-26 21:22 STM32_sumjess\Food_robot\MOTOR\
文件 2724 2018-09-26 21:22 STM32_sumjess\Food_robot\MOTOR\sumjess_track_motor.c
文件 1853 2018-09-26 21:22 STM32_sumjess\Food_robot\MOTOR\sumjess_track_motor.h
目录 0 2018-09-26 21:09 STM32_sumjess\Food_robot\food_oled\
文件 3248 2018-09-25 17:17 STM32_sumjess\Food_robot\food_oled\food_OLED.c
文件 1184 2018-09-23 10:54 STM32_sumjess\Food_robot\food_oled\food_OLED.h
目录 0 2018-09-26 21:09 STM32_sumjess\Food_robot\test\
文件 3520 2018-09-22 07:09 STM32_sumjess\Food_robot\test\test.c
文件 1520 2018-09-22 07:09 STM32_sumjess\Food_robot\test\test.h
目录 0 2018-09-26 22:04 STM32_sumjess\Food_robot\track\
文件 3700 2018-09-26 22:04 STM32_sumjess\Food_robot\track\sumjess_track.c
文件 1645 2018-09-22 08:11 STM32_sumjess\Food_robot\track\sumjess_track.h
目录 0 2018-09-26 21:23 STM32_sumjess\HAREWARE\
目录 0 2018-09-26 21:09 STM32_sumjess\HAREWARE\24CXX\
文件 3510 2012-07-19 23:42 STM32_sumjess\HAREWARE\24CXX\24cxx.c
文件 1134 2011-09-27 13:05 STM32_sumjess\HAREWARE\24CXX\24cxx.h
目录 0 2018-09-26 21:58 STM32_sumjess\HAREWARE\ADC\
文件 6048 2018-09-26 21:15 STM32_sumjess\HAREWARE\ADC\adc.c
文件 1656 2018-09-26 21:15 STM32_sumjess\HAREWARE\ADC\adc.h
文件 795648 2017-08-24 17:55 STM32_sumjess\HAREWARE\ADC\解释.doc
............此处省略644个文件信息
相关资源
- stm32cubemx
- STM32F4xx_DSP_StdPeriph_Lib_V1.4.0
- WM8978模块资料(含有STM32F1 标准库 H
- STM32F407 SD卡模拟U盘,fatfs文件系统,
- STM32F407ZGT6最小系统板
- STM32F429(IAR)+FreeRTOS+TouchGFX.rar
- stm32f103-cube配置-USB组合设备.zip
- SIM7600ce参考资料
- STM32F4xx_DFP.2.13.0
- 嵌入式网络那些事——STM32物联实战
- FAT32文件系统的STM32上的移植
- UCOSIII_V3.03.01 源代码
- STM32CubeMX 串口 DMA+空闲中断实现不定长
- stm32f401 nucleo评估板原理图、PCB文件
- Keil.STM32F4xx_DFP.2.13.0.packpart1
- STM32全套学习资料,打包
- STM32F103 4.3寸TFT触摸屏源码
- STM32开发实战 LabVIEW卷_14020414
- STM32全系列 Keil MDK pack包当前最新离线
- STM32库开发实战指南 完整版
- stm32F0例程
- STM32官方固件库注释汉化版V3.1
- STM32的内部温度传感器程序,亲测能用
- 基于stm32单片机的xy平台写字机
- stm32f1xx官方的各种例程
- Keil.STM32F4xx_DFP.2.13.0.pack (part2)
- stm32f4xx固件库亲测,好使
- SIM800C模块,gsm模块资料,手册,原理
- STM32F103C8T6详细资料
- stm32f3标准固件库
评论
共有 条评论