资源简介
可以直接用的484收发程序,采用的stm103c8t6板子,最小核心板即可使用,实测103rc系列也可以用
代码片段和文件信息
/**************************************************************************//**
* @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 2020-04-29 14:11 RS23read\
目录 0 2020-04-29 14:11 RS23read\CODE\
文件 17273 2010-06-07 10:25 RS23read\CODE\core_cm3.c
文件 85714 2011-02-09 14:59 RS23read\CODE\core_cm3.h
文件 15955 2019-05-27 13:12 RS23read\CODE\startup_stm32f10x_xl.s
目录 0 2020-04-29 14:11 RS23read\MYCODE\
目录 0 2020-04-29 14:11 RS23read\MYCODE\DMA\
文件 5843 2019-05-23 09:59 RS23read\MYCODE\DMA\dma.c
文件 752 2019-05-22 16:02 RS23read\MYCODE\DMA\dma.h
目录 0 2020-04-29 14:11 RS23read\MYCODE\RS485\
文件 9241 2019-06-14 17:24 RS23read\MYCODE\RS485\rs485.c
文件 467 2019-05-24 12:37 RS23read\MYCODE\RS485\rs485.h
目录 0 2020-04-29 14:11 RS23read\MYCODE\USART\
文件 2846 2018-04-02 09:48 RS23read\MYCODE\USART\usart.c
文件 251 2018-04-02 15:10 RS23read\MYCODE\USART\usart.h
文件 2488 2018-04-02 09:52 RS23read\MYCODE\USART\usart2.c
文件 187 2018-04-01 23:09 RS23read\MYCODE\USART\usart2.h
文件 3035 2017-12-10 15:38 RS23read\MYCODE\USART\usart3.c
文件 557 2017-12-10 10:14 RS23read\MYCODE\USART\usart3.h
目录 0 2020-12-30 18:23 RS23read\OBJ\
文件 36 2018-04-10 11:34 RS23read\README.txt
目录 0 2020-04-29 14:11 RS23read\RS\
目录 0 2020-04-29 14:11 RS23read\RS\CODE\
文件 17273 2010-06-07 10:25 RS23read\RS\CODE\core_cm3.c
文件 85714 2011-02-09 14:59 RS23read\RS\CODE\core_cm3.h
文件 15955 2019-05-24 10:39 RS23read\RS\CODE\startup_stm32f10x_xl.s
目录 0 2020-04-29 14:11 RS23read\RS\MYCODE\
目录 0 2020-04-29 14:11 RS23read\RS\MYCODE\DMA\
文件 5843 2019-05-23 09:59 RS23read\RS\MYCODE\DMA\dma.c
文件 752 2019-05-22 16:02 RS23read\RS\MYCODE\DMA\dma.h
目录 0 2020-04-29 14:11 RS23read\RS\MYCODE\RS485\
............此处省略313个文件信息
- 上一篇:智能灯(无极调光-配合人体检测)
- 下一篇:颜色识别形状识别STM103嵌入式代码
相关资源
- cubeMX设计实现stm32f407上的CAN及485的通
- 485通信控制3路相位差120°PWM输出
- libstdc++.so.6.0.20下载138485
- STM32 DMX512协议与485 W5500 户外钢琴地灯
- VS2008基于MFC的对话框编程串口上位机
- 51单片机C语言实现GPRS通信
- 基于C++MFC-RS485串口通信demo-完整版-代
- MAX485两个单片机半双工通信
- 串口通讯编程支持RS232-RS485通讯协议
- Horiba MFC数字通信协议
- rs485通讯C++
- 基于51单片机多节点RS485通信带Protue
- 52单片机定时器2作为串行口波特率发
- RS485;PC到单片机单向通讯;
- 485实验(RS485总线的使用,基于阿波罗
- RS485通信:利用串口调试助手经过US
- stm32 RS485 MODBUS从站例程
- STM32 485通信
- 基于STM32F103C8T6的RS485和CAN
- modbus从机1.0自动流控制收发modbus从机
- RS485通信C语言源代码,可用
- 基于RS485的电容式土壤湿度和温度传感
- 使用c语言开发的rs485驱动源码
- linux下串口编程及非标准波特率的实现
评论
共有 条评论