资源简介
1.MODBUS协议程序齐全。2该程序完整的描述了MODBUS从数据链路层到应用层协议,适合工程项目应用,在工控领域非常重要。3.协议每行都要代码注释,程序封装的很好,提供了完整的驱动程序及很多有用的库函数,可作为库函数开发使用。4.该程序也适合初学者,代码规范,注释详细。5.程序采用C语言,开发环境为STM32F103系列,keil5编译环境,是学习MODBUS或嵌入式不可或缺的资料。
代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f10x.c
* @author MCD Application Team
* @version V3.6.1
* @date 09-March-2012
* @brief CMSIS Cortex-M3 Device Peripheral Access layer System Source File.
*
* 1. This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): Setups the system clock (System clock source PLL Multiplier
* factors AHB/APBx prescalers and Flash settings).
* This function is called at startup just after reset and
* before branch to main program. This call is made inside
* the “startup_stm32f10x_xx.s“ file.
*
* - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
*
* 2. After each device reset the HSI (8 MHz) is used as system clock source.
* Then SystemInit() function is called in “startup_stm32f10x_xx.s“ file to
* configure the system clock before to branch to main program.
*
* 3. If the system clock source selected by user fails to startup the SystemInit()
* function will do nothing and HSI still used as system clock source. User can
* add some code to deal with this issue inside the SetSysClock() function.
*
* 4. The default value of HSE crystal is set to 8 MHz (or 25 MHz depedning on
* the product used) refer to “HSE_VALUE“ define in “stm32f10x.h“ file.
* When HSE is used as system clock source directly or through PLL and you
* are using different crystal you have to adapt the HSE value to your own
* configuration.
*
******************************************************************************
* @attention
*
* © COPYRIGHT 2012 STMicroelectronics
*
* Licensed under MCD-ST Liberty SW License Agreement V2 (the “License“);
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.st.com/software_license_agreement_liberty_v2
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*************************************
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Doc\
文件 2678 2016-01-11 15:24 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Doc\01.例程功能说明.txt
文件 646 2015-01-27 21:30 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Doc\02.例程修改记录.txt
文件 7044 2013-06-20 09:34 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Doc\03.开发环境说明.txt
文件 7564 2013-06-20 06:09 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Doc\04.STM32F407IGT6引脚定义(原始定义).txt
文件 9924 2013-06-20 08:58 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Doc\05.GPIO分配表(按GPIO次序排列).txt
文件 10725 2013-06-20 22:46 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Doc\06.GPIO分配表(按功能排列).txt
文件 80570 2015-01-28 15:25 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Doc\485总线连接.png
文件 195963 2013-07-22 07:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Doc\接线图.jpg
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\
文件 46999 2013-01-22 02:27 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\CMSIS END USER LICENCE AGREEMENT.pdf
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Include\
文件 637870 2013-01-22 02:27 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Include\stm32f10x.h
文件 2220 2013-01-22 02:27 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Include\system_stm32f10x.h
文件 34595 2013-01-22 02:27 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Release_Notes.html
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Source\
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\
目录 0 2018-01-29 14:14 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\arm\
文件 15896 2013-01-22 02:27 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\arm\startup_stm32f10x_cl.s
文件 15670 2015-08-08 08:27 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\arm\startup_stm32f10x_hd.s
文件 15822 2013-01-22 02:27 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\arm\startup_stm32f10x_hd_vl.s
文件 12506 2013-01-22 02:27 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\arm\startup_stm32f10x_ld.s
文件 13786 2013-01-22 02:27 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\arm\startup_stm32f10x_ld_vl.s
文件 12895 2013-01-22 02:27 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\arm\startup_stm32f10x_md.s
文件 14203 2013-01-22 02:27 MOODBUS主机从机程序\V4-RS485 MODBUS主站例程\Libraries\CMSIS\Device\ST\STM32F10x\Source\Templates\arm\startup_stm32f10x_md_vl.s
............此处省略1545个文件信息
相关资源
- 组态王modbus协议驱动vc++
- modbus 客户端主站C++源代码
- modbus tcp/rtu客户端服务端通讯程序合集
- VC++串口modbus测试工程
- stm32实现MODBUS-MODBUS做主站
- 火牛跑马灯实验(火牛开发板-UGPIO)
- modscan32(可用于modbus 测试)
- STM32 modbus协议 从机程序
- 基于MODBUS RTU MFC上位机软件
- modbus串口从机程序基于libmodbus,《M
- C语言的Modbus RTU程序各种实现方法
- 基于Windows的Modbus/TCP服务器
- c语言实现 通过rs232可实现上位机和下
- 51单片机Modbus协议
- MODBUS TCP SERVER 源码
- c++ MODBUS串行通信程序
- MODBUS--ASCII方式实现完整版
- MFC modBus 读写串口
- C语言编写modbus
- Modbus源码(PIC单片机版)
- STC15的modbus程序
- 原创modbus 协议c实现 C 语言 实现功能
- 最全CRC16计算代码(包含直接计算和查
- VS2013开发的MFC下的Modbus RTU
- Modbus Activex Control 1.4.5 破解版
- VC++ 编写的 Modbus 协议类 并附带串口通
- modbus完整协议源码c/c++
- Modbus C++
- 昆仑通态屏做主机与STM32单片机从机之
- UCOSII_MODBUSRTU_DEMO
评论
共有 条评论