资源简介
通过STM32F103驱动APDS9960识别上下左右及覆盖等物种手势姿势。可以根据需求移植到自己的CPU上使用
代码片段和文件信息
/**************************************************************************//**
* @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-03-29 17:35 STM32F1驱动程序\
文件 140 2018-03-29 17:36 STM32F1驱动程序\使用说明.txt
目录 0 2018-03-29 17:35 STM32F1驱动程序\红外手势识别\
目录 0 2018-03-29 17:35 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\
文件 2795690 2016-01-18 13:42 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture.zip
目录 0 2018-03-29 17:35 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\
目录 0 2018-03-29 17:35 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\CORE\
文件 17273 2010-06-07 10:25 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\CORE\core_cm3.h
文件 15503 2011-03-10 10:52 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\CORE\startup_stm32f10x_hd.s
目录 0 2018-03-29 17:35 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\
目录 0 2018-03-29 17:35 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\APDS_9960\
文件 33649 2018-03-29 17:20 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\APDS_9960\APDS_9960.c
文件 17642 2018-03-29 17:20 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\APDS_9960\APDS_9960.h
文件 17648 2018-03-29 16:40 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\APDS_9960\APDS_9960.h~RF109f8d.TMP
文件 17642 2018-03-29 16:48 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\APDS_9960\APDS_9960.h~RF1d9de8.TMP
文件 17641 2018-03-29 17:03 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\APDS_9960\APDS_9960.h~RF1e1a2d.TMP
文件 17642 2018-03-29 17:09 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\APDS_9960\APDS_9960.h~RF2dcfe7.TMP
文件 17646 2016-01-20 15:20 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\APDS_9960\APDS_9960.h~RF3e7fd31.TMP
文件 17642 2018-03-29 16:38 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\APDS_9960\APDS_9960.h~RF90ec9.TMP
目录 0 2018-03-29 17:35 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\IIC\
文件 3185 2016-01-19 15:27 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\IIC\myiic.c
文件 1320 2016-01-19 14:04 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\IIC\myiic.h
目录 0 2018-03-29 17:35 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\IO\
目录 0 2018-03-29 17:35 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\IO\EXTI\
文件 2201 2018-03-29 17:11 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\IO\EXTI\EXTI.c
文件 637 2015-11-25 00:40 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\IO\EXTI\EXTI.h
目录 0 2018-03-29 17:35 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\IO\LED\
文件 1298 2015-11-25 19:30 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\IO\LED\LED.c
文件 638 2015-11-25 19:30 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\IO\LED\LED.h
目录 0 2018-03-29 17:35 STM32F1驱动程序\红外手势识别\stm32_APDS_gesture\APDS_gesture\HARDWARE\twi\
............此处省略149个文件信息
- 上一篇:数据结构课设文件系统模拟器
- 下一篇:图片压缩神器TinyPng破解版
评论
共有 条评论