资源简介
MCU:STM32F103ZET6
功能:通过ADC采集数据 显示在LCD液晶屏上 并通过串口发送
说明:基于例程进行修改 到手可用
代码片段和文件信息
/**************************************************************************//**
* @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
- 上一篇:DW_apb_i2c 驱动
- 下一篇:LTC6803-SPI
相关资源
- ADC0808工作时序图
- 基于SPCE061A单片机的图形液晶模块的驱
- 使用SPCE061A的ACM12864J液晶显示模块应用
- SecureCRT 非常好用的串口工具
- 串口调试工具 SecureCRT
- 串口发送小工具
- 液晶面板的组成与原理
- 基于STM32的深海钻机甲板控制系统
- SCI串口中断接收发送例程
- 4_USART串口通信(空闲中断+DMA.zip
- stm32f105-usart-DMA收发demo
- STM32F042F6P6 Uart12DMA;发送中断接收
- 串口模拟器支持win10
- 基于LPC2134与T6963C液晶显示模块的接口
- LPC2134与T6963C液晶显示模块的接口设计
- 基于ARM7微处理器的中文液晶显示
- ch352 pci转并口串口卡驱动(WinChipHea
- pci/pcie打印卡串口/并口卡驱动
- bcm5482 datasheet
- usb转 串口驱动 ch340 PL2303 win10 可用
- broadcom 802.11g 网络适配器驱动程序 v
- 推荐给大家一个非常好用的串口工具
- USB-Serial-Controller_虚拟串口.rar
- free-serial-port-monitor_(串口监控调试)
- STM32F103VCT6TR - High-density performance lin
- Delphi7串口程序(使用SPComm控件).ra
- AT89C51+ADC0808 PROTEUS仿真
- ADC0832ADC0809DAC0832三种芯片程序,c程序
- 数据采集系统——ADC0808的应用
- USB Serial Port win7 64/32 驱动后缀丢失,
评论
共有 条评论