资源简介
STM32的ADC数据读取;串口数据传输;模拟信号读取;USART信号读取;引脚接线说明及函数功能解释均在注释当中标明
代码片段和文件信息
/**************************************************************************//**
* @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 Environment Sensor\CORE\core_cm3.c
文件 85714 2011-02-09 14:59 Environment Sensor\CORE\core_cm3.h
文件 12762 2010-10-18 20:09 Environment Sensor\CORE\startup_stm32f10x_md.s
文件 2332 2019-04-01 10:10 Environment Sensor\HAREWARE\DHT11\dht11.c
文件 625 2019-04-01 10:10 Environment Sensor\HAREWARE\DHT11\dht11.h
文件 3493 2019-04-08 16:29 Environment Sensor\HAREWARE\IIC\myiic.c
文件 1354 2015-04-29 11:46 Environment Sensor\HAREWARE\IIC\myiic.h
文件 1297 2018-09-08 22:09 Environment Sensor\HAREWARE\KEY\key.c
文件 515 2018-09-08 22:09 Environment Sensor\HAREWARE\KEY\key.h
文件 874 2018-09-08 18:08 Environment Sensor\HAREWARE\LED\led.c
文件 76 2015-04-10 21:22 Environment Sensor\HAREWARE\LED\led.h
文件 1282 2019-04-12 16:47 Environment Sensor\HAREWARE\O2\O2.c
文件 112 2019-04-12 16:44 Environment Sensor\HAREWARE\O2\O2.h
文件 12248 2018-09-15 17:26 Environment Sensor\HAREWARE\OLED_IIC\ASCII_CODE_8X16_5X8_VERTICAL.H
文件 10756 2018-09-18 13:50 Environment Sensor\HAREWARE\OLED_IIC\Chinese_And_Graphic.H
文件 9921 2019-04-01 10:50 Environment Sensor\HAREWARE\OLED_IIC\OLED_IIC.c
文件 986 2019-04-01 10:48 Environment Sensor\HAREWARE\OLED_IIC\OLED_IIC.h
文件 1692 2019-04-09 17:01 Environment Sensor\HAREWARE\SGP30\sgp30.c
文件 258 2019-04-09 14:39 Environment Sensor\HAREWARE\SGP30\sgp30.h
文件 399 2011-04-23 10:24 Environment Sensor\keilkilll.bat
文件 3953 2019-04-12 15:20 Environment Sensor\OBJ\core_cm3.crf
文件 115 2019-04-12 15:20 Environment Sensor\OBJ\core_cm3.d
文件 11408 2019-04-12 15:20 Environment Sensor\OBJ\core_cm3.o
文件 348311 2019-04-12 15:20 Environment Sensor\OBJ\delay.crf
文件 1680 2019-04-12 15:20 Environment Sensor\OBJ\delay.d
文件 384744 2019-04-12 15:20 Environment Sensor\OBJ\delay.o
文件 349205 2019-04-12 15:20 Environment Sensor\OBJ\dht11.crf
文件 1725 2019-04-12 15:20 Environment Sensor\OBJ\dht11.d
文件 390368 2019-04-12 15:20 Environment Sensor\OBJ\dht11.o
文件 19 2018-09-18 14:06 Environment Sensor\OBJ\ExtDll.iex
............此处省略205个文件信息
相关资源
- 基于SM32F103C8T6的环境传感器
- STM32F103C8T6+DHT11+OLED
- STM32实现LCD中显示当前ADC转换值
- 基于STM32的DHT11的温湿度采集GSM报警系
- STM32 MODBUS_RTU从站程序,KEIL编写
- stm32接收短信并开启继电器
- stm32智能小车/数组控制小车路径/避障
- NRF24L01收发程序STM32F407
- 蓝桥杯嵌入式五届到八届完成全部源
- stm32f103zet6+摄像头颜色识别
- 基于stm32的红外代码程序
- LD3320语音模块资料51单片机代码,ST
- STM32F777 eMMC 驱动
- STM32F单片机与SIM900A的硬件条件下读一
- STM32 MPU6050 载人平衡车资料
- STM32F429DISCOVERY外接SD卡使用SDIO4BIT方式
- USB转TTL驱动CH340
- 28BYJ-48步进电机(STM32F1)
- uCOS-III+STemWin+Fatfs+usb在STM32F407上成功移
- stm32+ov7670数字识别
- GRBL在STM32的移植
- stm32f103中文资料.
-
STM32 STli
nk驱动 - 基于STM32和SIM900A的无线通信模块设计
- PID-增量式PID和位置式PID算法实现和
- BroadcastReceiver广播接收器演示demo
- STM32F103 SX1278完整的通讯程序+sx12xxDr
- 增益可控放大器
- STM32F407串口1-6 CAN1&2测试例程
- stm32f103c8t6 OLED 硬件SPI
评论
共有 条评论