资源简介
基于stm32f103的tcs3200颜色识别,可在串口助手上查看颜色反馈的代表数值,现可识别黑白,可在说明位置加判断语句判断其他颜色
代码片段和文件信息
/**************************************************************************//**
* @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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6956 2015-12-10 17:06 tcs3200-RGB(gai)\DebugConfig\TEST_STM32F103VE_1.0.0.dbgconf
文件 650 2017-07-13 10:06 tcs3200-RGB(gai)\Jli
文件 399 2011-05-09 18:17 tcs3200-RGB(gai)\keilkill.bat
文件 17273 2010-06-07 10:25 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
文件 85714 2011-02-09 14:59 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
文件 3237 2011-04-04 18:57 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\CoreSupport\stm32f10x_conf.h
文件 5007 2011-04-04 18:57 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\CoreSupport\stm32f10x_it.c
文件 2021 2011-04-04 18:57 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\CoreSupport\stm32f10x_it.h
文件 15766 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s
文件 15503 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s
文件 15692 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd_vl.s
文件 12376 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s
文件 13656 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s
文件 12765 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s
文件 14073 2011-03-10 10:51 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s
文件 15955 2011-03-10 10:51 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s
文件 13072 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_cl.s
文件 13160 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd.s
文件 12482 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd_vl.s
文件 9814 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld.s
文件 10562 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld_vl.s
文件 10269 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md.s
文件 11058 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md_vl.s
文件 13261 2011-03-10 10:52 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_xl.s
文件 16626 2011-03-10 10:53 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_cl.s
文件 16229 2011-03-10 10:53 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_hd.s
文件 15675 2011-03-10 10:53 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_hd_vl.s
文件 12650 2011-03-10 10:53 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_ld.s
文件 12950 2011-03-10 10:53 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_ld_vl.s
文件 12912 2011-03-10 10:53 tcs3200-RGB(gai)\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_md.s
............此处省略219个文件信息
相关资源
- DHT11温湿度传感器串口显示,也可直接
- stm32f103竞赛板的一个流水灯程序,是
- STM32F103dsp库
- 基于STM32F103系列ov7670获取图像控制量
- STM32F103C8T6 IAP-串口在线升级
- STM32F103 步进电机驱动程序
- 基于STM32F103C8T6的NRF24L01无线通讯模块
- MMA7660加速度传感器驱动
- stm32f103c8t6模数转换AD例程
- proteus8.6仿真stm32f103
- 水质检测—PH、浊度、TDS传感器代码
- 基于STM32F103的LCD1602的IIC显示程序
- HC-SR04超声波模块+STM32F103
- stm32f103IIC驱动LCD1602
- max30102心率传感器stm32c8t6+0.96oled显示
- Altium designer 画的STM32F103核心板
- 固体图像传感器及其应用
- 多传感器数据融合
- SHT30-31-35全套资料
- DHT22 - STM32 温湿度传感器
- 2018机器人传感器题库附答案
- 贪吃蛇游戏 STM32F103ZET6
- STM32F103C8T6库函数工程
- BH1750光强传感器的STM32程序
- STM32F103输入捕获实验 改占空比
- STM32f103超声波
- stm32f103串口空闲中断收发
- 夏普粉尘传感器STM32代码
- 控制无源蜂鸣器发声播放音乐.zip
- MAX6675—STM32例程+K型热电偶
评论
共有 条评论