资源简介
基于STM32F103和W5500模块,通过STM32F103接收USART,然后通过SPI传输给W5500,最终将数据传给路由器或者电脑,实现了USART转以太网通信。本例程USART的波特率可达到921600,通过DMA的方式接收。
代码片段和文件信息
/**************************************************************************//**
* @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 2019-02-27 15:00 STM32F1_w5500_USART\
目录 0 2019-02-27 15:00 STM32F1_w5500_USART\Libraries\
目录 0 2019-02-27 15:00 STM32F1_w5500_USART\Libraries\CMSIS\
目录 0 2019-02-27 15:00 STM32F1_w5500_USART\Libraries\CMSIS\CM3\
目录 0 2019-02-27 15:00 STM32F1_w5500_USART\Libraries\CMSIS\CM3\CoreSupport\
文件 17273 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
文件 85714 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
目录 0 2019-02-27 15:00 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\
目录 0 2019-02-27 15:00 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\
目录 0 2019-02-27 15:00 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\
目录 0 2019-02-27 15:00 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\
目录 0 2019-02-27 15:00 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\
文件 15766 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s
文件 15503 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s
文件 15692 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd_vl.s
文件 12376 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s
文件 13656 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s
文件 12765 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s
文件 14073 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s
文件 15955 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s
目录 0 2019-02-27 15:00 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\
文件 13072 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_cl.s
文件 13160 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd.s
文件 12482 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd_vl.s
文件 9814 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld.s
文件 10562 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld_vl.s
文件 10269 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md.s
文件 11058 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md_vl.s
文件 13261 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_xl.s
目录 0 2019-02-27 15:00 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\
文件 16626 2012-06-20 09:17 STM32F1_w5500_USART\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_cl.s
............此处省略302个文件信息
- 上一篇:光照低功耗.rar
- 下一篇:图论与网络流理论 高随祥著
相关资源
- stm32f103的正弦波代码
- 红外手势识别传感器STM32代码
- STM32F1 LWIP开发手册(DM9000版)
- 两轮平衡小车K5环境+STM32+MPU6050+卡尔曼
- 黑金AD7606 stm32并行程序
- stm32f103usb游戏手柄项目 可用于usb键盘
- stm32f103rct6开发资料 小系统 开发文档
- 基于stm32的SPWM
- stm32+mpu6050程序,完美运行
- STM32SD卡读取
- STM32F4 485 modbus
- stm321f130zet6开发板pcb文件
- 基于STM32库函数的AD9854
- STM32核心板PCB
- stm32lcd显示矩阵键盘
- STM32F103VET6+STM32F103ZET6+STM32F107VC核心板
- STM32F103C8T6 串行驱动 12864屏幕
- stm32霍尔传感器测速程序
- stm32 风洞 pid算法程序
- 基于stm32摄像头寻迹小车程序
- 基于STM32MPU6050 源代码 亲测可用
- 基于STM32的JY901模块的数据获取以及数
- 基于STM32的多路AD采集
- 正交编码器读取脉冲 计算转速以及方
- STM32与AD7606 并行程序
- 基于stm32串口读取攀藤PM2.5激光传感器
- STM32正交编码器测速程序
- STM32F103用串口空闲中断+DMA实现modbus通
- STM32系列单片机引脚分布及管脚定义
- STM32无刷无感电机驱动
评论
共有 条评论