资源简介
C语言嵌入式Modbus协议栈,支持主站和从站,例子包含stm32完整keil工程
代码片段和文件信息
/**************************************************************************//**
* @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 current value of the MSP (main stack pointer)
* Cortex processor register
*/
__ASM uin
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-10-22 15:20 XTinyModbus-master\
目录 0 2020-10-22 15:20 XTinyModbus-master\CORE\
文件 16489 2020-10-22 15:20 XTinyModbus-master\CORE\core_cm3.c
文件 83896 2020-10-22 15:20 XTinyModbus-master\CORE\core_cm3.h
文件 15395 2020-10-22 15:20 XTinyModbus-master\CORE\startup_stm32f10x_cl.s
文件 15142 2020-10-22 15:20 XTinyModbus-master\CORE\startup_stm32f10x_hd.s
文件 15419 2020-10-22 15:20 XTinyModbus-master\CORE\startup_stm32f10x_hd_vl.s
文件 12076 2020-10-22 15:20 XTinyModbus-master\CORE\startup_stm32f10x_ld.s
文件 13349 2020-10-22 15:20 XTinyModbus-master\CORE\startup_stm32f10x_ld_vl.s
文件 12455 2020-10-22 15:20 XTinyModbus-master\CORE\startup_stm32f10x_md.s
文件 13755 2020-10-22 15:20 XTinyModbus-master\CORE\startup_stm32f10x_md_vl.s
文件 15594 2020-10-22 15:20 XTinyModbus-master\CORE\startup_stm32f10x_xl.s
目录 0 2020-10-22 15:20 XTinyModbus-master\Modbus\
目录 0 2020-10-22 15:20 XTinyModbus-master\Modbus\Example\
文件 5937 2020-10-22 15:20 XTinyModbus-master\Modbus\Example\MDM_RTU_APP.c
文件 137 2020-10-22 15:20 XTinyModbus-master\Modbus\Example\MDM_RTU_APP.h
文件 2842 2020-10-22 15:20 XTinyModbus-master\Modbus\Example\MDS_RTU_APP.c
文件 275 2020-10-22 15:20 XTinyModbus-master\Modbus\Example\MDS_RTU_APP.h
文件 3009 2020-10-22 15:20 XTinyModbus-master\Modbus\Example\MDS_RTU_APP_1.c
文件 313 2020-10-22 15:20 XTinyModbus-master\Modbus\Example\MDS_RTU_APP_1.h
文件 1554 2020-10-22 15:20 XTinyModbus-master\Modbus\MD_RTU_Config.h
目录 0 2020-10-22 15:20 XTinyModbus-master\Modbus\Modbus\
目录 0 2020-10-22 15:20 XTinyModbus-master\Modbus\Modbus\Modbusba
文件 3831 2020-10-22 15:20 XTinyModbus-master\Modbus\Modbus\Modbusba
文件 804 2020-10-22 15:20 XTinyModbus-master\Modbus\Modbus\Modbusba
文件 952 2020-10-22 15:20 XTinyModbus-master\Modbus\Modbus\Modbusba
文件 1939 2020-10-22 15:20 XTinyModbus-master\Modbus\Modbus\Modbusba
文件 1570 2020-10-22 15:20 XTinyModbus-master\Modbus\Modbus\Modbusba
文件 5053 2020-10-22 15:20 XTinyModbus-master\Modbus\Modbus\Modbusba
文件 1502 2020-10-22 15:20 XTinyModbus-master\Modbus\Modbus\Modbusba
文件 1893 2020-10-22 15:20 XTinyModbus-master\Modbus\Modbus\Modbusba
............此处省略108个文件信息
相关资源
- modbus tcp/ip 简单通讯
- FreeRTOS FreeModbus
- 串口助手+CRC校验(可用于PLC中ModBus通
- Windows下基于ModbusTcp的Server端开发C语言
- 基于MFC modbusTcp
- Mastering Opencv3英文第二版
- Mastering C++ Game Development.pdf
- VC++ 串口通信modbus协议源代码
- Windows下 基于ModbusRtu的master端开发C语
- Windows下基于ModbusRtu的Slave端开发C语言
- C++编写基于TCP/IP的Modbus网络通讯工具
- MODBUS协议主从机程序
- 组态王modbus协议驱动vc++
- Mastering Unreal Engine 4.X英文
- modbus 客户端主站C++源代码
- modbus tcp/rtu客户端服务端通讯程序合集
- VC++串口modbus测试工程
- stm32实现MODBUS-MODBUS做主站
- 火牛跑马灯实验(火牛开发板-UGPIO)
- modscan32(可用于modbus 测试)
- STM32 modbus协议 从机程序
- 基于MODBUS RTU MFC上位机软件
- nnie-master.zip
- modbus串口从机程序基于libmodbus,《M
- C语言的Modbus RTU程序各种实现方法
- 基于Windows的Modbus/TCP服务器
- c语言实现 通过rs232可实现上位机和下
- glog-master.zip
- 51单片机Modbus协议
- MODBUS TCP SERVER 源码
评论
共有 条评论