资源简介

STM32驱动max30102和MLX90614程序,同时用OLED和串口打印输出,已通过验证。

资源截图

代码片段和文件信息

/**************************************************************************//**
 * @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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      17273  2010-06-07 10:25  stm32 max30102上传浮点型数据\CORE\core_cm3.c

     文件      85714  2011-02-09 14:59  stm32 max30102上传浮点型数据\CORE\core_cm3.h

     文件      15503  2011-03-10 10:52  stm32 max30102上传浮点型数据\CORE\startup_stm32f10x_hd.s

     文件      12765  2011-03-10 10:52  stm32 max30102上传浮点型数据\CORE\startup_stm32f10x_md.s

     文件       3137  2017-01-18 21:04  stm32 max30102上传浮点型数据\HARDWARE\BEEP\beep.c

     文件        302  2017-01-18 21:05  stm32 max30102上传浮点型数据\HARDWARE\BEEP\beep.h

     文件       3330  2017-01-21 22:42  stm32 max30102上传浮点型数据\HARDWARE\CC2541\cc2541.c

     文件        451  2016-11-25 10:37  stm32 max30102上传浮点型数据\HARDWARE\CC2541\cc2541.h

     文件       4701  2017-01-20 16:59  stm32 max30102上传浮点型数据\HARDWARE\ENCODER\encoder.c

     文件        426  2017-01-21 22:37  stm32 max30102上传浮点型数据\HARDWARE\ENCODER\encoder.h

     文件       6067  2018-04-21 19:10  stm32 max30102上传浮点型数据\HARDWARE\esp_wifi\esp_function.c

     文件       1073  2018-04-21 19:09  stm32 max30102上传浮点型数据\HARDWARE\esp_wifi\esp_function.h

     文件       6833  2018-04-21 19:07  stm32 max30102上传浮点型数据\HARDWARE\esp_wifi\esp_usart.c

     文件        984  2018-04-19 21:17  stm32 max30102上传浮点型数据\HARDWARE\esp_wifi\esp_usart.h

     文件       1976  2018-04-15 20:58  stm32 max30102上传浮点型数据\HARDWARE\KEY\key.c

     文件       1014  2018-04-15 20:58  stm32 max30102上传浮点型数据\HARDWARE\KEY\key.h

     文件        707  2016-11-25 10:19  stm32 max30102上传浮点型数据\HARDWARE\LED\led.c

     文件        300  2016-11-25 10:20  stm32 max30102上传浮点型数据\HARDWARE\LED\led.h

     文件      15219  2017-04-15 15:37  stm32 max30102上传浮点型数据\HARDWARE\MAX30102\algorithm.c

     文件       3928  2017-04-15 15:38  stm32 max30102上传浮点型数据\HARDWARE\MAX30102\algorithm.h

     文件       7506  2017-03-18 09:50  stm32 max30102上传浮点型数据\HARDWARE\MAX30102\max30102.c

     文件       3900  2017-03-18 09:31  stm32 max30102上传浮点型数据\HARDWARE\MAX30102\max30102.h

     文件       8299  2018-04-15 20:55  stm32 max30102上传浮点型数据\HARDWARE\MAX30102\myiic.c

     文件        816  2017-03-16 23:09  stm32 max30102上传浮点型数据\HARDWARE\MAX30102\myiic.h

     文件      13015  2017-06-09 11:36  stm32 max30102上传浮点型数据\HARDWARE\MLX90614\mlx90614.c

     文件       1307  2017-06-09 03:04  stm32 max30102上传浮点型数据\HARDWARE\MLX90614\mlx90614.h

     文件       3489  2017-03-13 21:14  stm32 max30102上传浮点型数据\HARDWARE\MOTOR\motor.c

     文件        500  2016-11-25 10:21  stm32 max30102上传浮点型数据\HARDWARE\MOTOR\motor.h

     文件       9973  2016-09-29 11:24  stm32 max30102上传浮点型数据\HARDWARE\NRF24L01\24l01.c

     文件       4823  2016-09-28 18:51  stm32 max30102上传浮点型数据\HARDWARE\NRF24L01\24l01.h

............此处省略123个文件信息

评论

共有 条评论