资源简介
stm32f103c8T6 外接光敏电阻加电位器,用ADC采集光强信息,用GPIO控制继电器开关,天黑自动开灯,天亮熄灯
代码片段和文件信息
/**************************************************************************//**
* @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 2017-07-24 12:40 light\
文件 143483 2016-03-28 09:00 light\ADC IO 汇总.jpg
目录 0 2017-07-24 12:40 light\Libraries\
目录 0 2017-07-24 12:41 light\Libraries\CMSIS\
目录 0 2017-07-24 12:40 light\Libraries\CMSIS\CM3\
目录 0 2017-07-24 12:40 light\Libraries\CMSIS\CM3\CoreSupport\
文件 17273 2016-03-28 09:00 light\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
文件 85714 2016-03-28 09:00 light\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
目录 0 2017-07-24 12:40 light\Libraries\CMSIS\CM3\DeviceSupport\
目录 0 2017-07-24 12:40 light\Libraries\CMSIS\CM3\DeviceSupport\ST\
目录 0 2017-07-24 13:20 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\
目录 0 2017-07-24 12:40 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\
目录 0 2017-07-24 12:40 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\
文件 12604 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_cl.s
文件 12592 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_hd.s
文件 12239 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_hd_vl.s
文件 9826 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_ld.s
文件 10275 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_ld_vl.s
文件 10275 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_md.s
文件 10757 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_md_vl.s
文件 13252 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\TrueSTUDIO\startup_stm32f10x_xl.s
目录 0 2017-07-24 12:40 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\
文件 15766 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s
文件 15503 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s
文件 15692 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd_vl.s
文件 12376 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s
文件 13656 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s
文件 12765 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s
文件 14073 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s
文件 15955 2016-03-28 09:00 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s
目录 0 2017-07-24 12:40 light\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\
............此处省略111个文件信息
- 上一篇:计算机组成原理阵列乘法器
- 下一篇:遗传算法优化BP网络(用于电力负荷预测预测.
相关资源
- STM32Cubemx软件和驱动库
- SHT20驱动STM32F103
- STM32F407原理图包含PCB
- SHT11 温湿度传感器 STM32驱动
- STM32 tim3的输入捕获功能解码 电视红外
- STM32多任务处理例程2
- STM32时分法多任务处理例程
- STM32所有系列F0F1F2F3F4CAN总线波特率计
- 基于STM32和SIM900A的短信发送程序
- STM32 SWD脱机烧录原理图和上位机
- 暴包括51,stm32,LINUXs三种和美的空调
- 使用STM32Cube开发freertos官方中文
- STM32F407Z系列的OrCAD原理图库
- Proteus8.9 VSM Studio Keil编译器仿真UCOSI
- STM32F103ZET6的液晶显示程序
- 基于STM32_INA219电流电压检测
- 4*4矩阵键盘(方法1) STM32F103
- 基于STM32的温控系统原理图
- ADS1292R寄存器配置参考(STM32F405)
- ADC基于stm32的电压电流采集.用4位8段数
- 模板工程_MDK5.14_F103RCT6
- STM32F103ZET6PCB封装文件
- STM32下UC/GUI实现从片外FLASH读取字库文
- 洋桃1号开发板电路原理图核心板部分
- MPU6050 移植STM32F4程序
- stm32 使用ov7620 采集图像 的智能车
- STM32单片机实现二维码显示
- STM32F103CBT6原理图
- STM32F1单片机+四元数欧拉角姿态解算
- STM32控制BQ76940的BMS保护C代码
评论
共有 条评论