在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → 包含modbus从机和主机的示例程序

包含modbus从机和主机的示例程序

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:2.63M
  • 下载次数:35
  • 浏览次数:296
  • 发布时间:2020-10-17
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.rar
  • 所需积分:2
 

实例介绍

【实例简介】
在freemodbus上添加了主机,由于freemodbus主机收费从机免费
【实例截图】
【核心代码】
FreeModbus_Slave-Master-RTT-STM32
└── FreeModbus_Slave-Master-RTT-STM32-master
├── APP
│   ├── inc
│   │   ├── app_task.h
│   │   ├── cpuusage.h
│   │   ├── delay_conf.h
│   │   ├── rtconfig.h
│   │   ├── stm32f10x_conf.h
│   │   └── stm32f10x_it.h
│   └── src
│   ├── app.c
│   ├── app_task.c
│   └── stm32f10x_it.c
├── BSP
│   ├── inc
│   │   ├── bsp.h
│   │   ├── gpio.h
│   │   └── usart.h
│   └── src
│   ├── bsp.c
│   ├── gpio.c
│   └── usart.c
├── cscope.out
├── EWARM
│   ├── FreeModbus_Slave&Master+RTT+STM32CustomSfr.sfr
│   ├── FreeModbus_Slave&Master+RTT+STM32.dep
│   ├── FreeModbus_Slave&Master+RTT+STM32.ewd
│   ├── FreeModbus_Slave&Master+RTT+STM32.ewp
│   ├── FreeModbus_Slave&Master+RTT+STM32.eww
│   └── settings
│   ├── FreeModbus_Slave&Master+RTT+STM32.cspy.bat
│   ├── FreeModbus_Slave&Master+RTT+STM32.dbgdt
│   ├── FreeModbus_Slave&Master+RTT+STM32_Debug.jlink
│   ├── FreeModbus_Slave&Master+RTT+STM32.dni
│   ├── FreeModbus_Slave&Master+RTT+STM32_EncodingOverride.xml
│   └── FreeModbus_Slave&Master+RTT+STM32.wsdt
├── FreeModbus
│   ├── modbus
│   │   ├── ascii
│   │   │   ├── mbascii.c
│   │   │   └── mbascii.h
│   │   ├── functions
│   │   │   ├── mbfunccoils.c
│   │   │   ├── mbfunccoils_m.c
│   │   │   ├── mbfuncdiag.c
│   │   │   ├── mbfuncdisc.c
│   │   │   ├── mbfuncdisc_m.c
│   │   │   ├── mbfuncholding.c
│   │   │   ├── mbfuncholding_m.c
│   │   │   ├── mbfuncinput.c
│   │   │   ├── mbfuncinput_m.c
│   │   │   ├── mbfuncother.c
│   │   │   └── mbutils.c
│   │   ├── include
│   │   │   ├── mbconfig.h
│   │   │   ├── mbframe.h
│   │   │   ├── mbfunc.h
│   │   │   ├── mb.h
│   │   │   ├── mb_m.h
│   │   │   ├── mbport.h
│   │   │   ├── mbproto.h
│   │   │   └── mbutils.h
│   │   ├── mb.c
│   │   ├── mb_m.c
│   │   ├── rtu
│   │   │   ├── mbcrc.c
│   │   │   ├── mbcrc.h
│   │   │   ├── mbrtu.c
│   │   │   ├── mbrtu.h
│   │   │   └── mbrtu_m.c
│   │   └── tcp
│   │   ├── mbtcp.c
│   │   └── mbtcp.h
│   └── port
│   ├── port.h
│   ├── rtt
│   │   ├── port.c
│   │   ├── portevent.c
│   │   ├── portevent_m.c
│   │   ├── portserial.c
│   │   ├── portserial_m.c
│   │   ├── porttimer.c
│   │   └── porttimer_m.c
│   ├── user_mb_app.c
│   ├── user_mb_app.h
│   └── user_mb_app_m.c
├── FreeModbus_Slave&Master+RTT+STM32CustomSfr.sfr
├── FreeModbus 主机分析图.vsd
├── FreeModbus 从机分析图.vsd
├── Libaries
│   ├── CMSIS_EWARM
│   │   ├── CM3
│   │   │   └── DeviceSupport
│   │   │   └── ST
│   │   │   └── STM32F10x
│   │   │   ├── Release_Notes.html
│   │   │   ├── startup
│   │   │   │   └── iar
│   │   │   │   ├── startup_stm32f10x_cl.s
│   │   │   │   ├── startup_stm32f10x_hd.s
│   │   │   │   ├── startup_stm32f10x_hd_vl.s
│   │   │   │   ├── startup_stm32f10x_ld.s
│   │   │   │   ├── startup_stm32f10x_ld_vl.s
│   │   │   │   ├── startup_stm32f10x_md.s
│   │   │   │   ├── startup_stm32f10x_md_vl.s
│   │   │   │   └── startup_stm32f10x_xl.s
│   │   │   ├── stm32f10x.h
│   │   │   ├── system_stm32f10x.c
│   │   │   └── system_stm32f10x.h
│   │   ├── CMSIS_changes.htm
│   │   ├── CMSIS debug support.htm
│   │   ├── CMSIS END USER LICENCE AGREEMENT.pdf
│   │   ├── Documentation
│   │   │   └── CMSIS_Core.htm
│   │   ├── Include
│   │   │   ├── arm_common_tables.h
│   │   │   ├── arm_math.h
│   │   │   ├── core_cm0.h
│   │   │   ├── core_cm0plus.h
│   │   │   ├── core_cm3.h
│   │   │   ├── core_cm4.h
│   │   │   ├── core_cm4_simd.h
│   │   │   ├── core_cmFunc.h
│   │   │   ├── core_cmInstr.h
│   │   │   ├── core_sc000.h
│   │   │   └── core_sc300.h
│   │   ├── index.htm
│   │   ├── License.doc
│   │   ├── readme_patch.txt
│   │   └── README.txt
│   ├── CMSIS_MDK
│   │   ├── CM3
│   │   │   ├── CoreSupport
│   │   │   │   ├── core_cm3.c
│   │   │   │   └── core_cm3.h
│   │   │   └── DeviceSupport
│   │   │   └── ST
│   │   │   ├── Release_Notes_for_STM32F10x_CMSIS.html
│   │   │   └── STM32F10x
│   │   │   ├── Release_Notes.html
│   │   │   ├── startup
│   │   │   │   └── arm
│   │   │   │   ├── startup_stm32f10x_cl.s
│   │   │   │   ├── startup_stm32f10x_hd.s
│   │   │   │   ├── startup_stm32f10x_hd_vl.s
│   │   │   │   ├── startup_stm32f10x_ld.s
│   │   │   │   ├── startup_stm32f10x_ld_vl.s
│   │   │   │   ├── startup_stm32f10x_md.s
│   │   │   │   ├── startup_stm32f10x_md_vl.s
│   │   │   │   └── startup_stm32f10x_xl.s
│   │   │   ├── stm32f10x.h
│   │   │   ├── system_stm32f10x.c
│   │   │   └── system_stm32f10x.h
│   │   ├── CMSIS_changes.htm
│   │   ├── CMSIS debug support.htm
│   │   ├── Documentation
│   │   │   └── CMSIS_Core.htm
│   │   └── License.doc
│   ├── SConscript
│   ├── STM32F10x_StdPeriph_Driver
│   │   ├── inc
│   │   │   ├── misc.h
│   │   │   ├── stm32f10x_adc.h
│   │   │   ├── stm32f10x_bkp.h
│   │   │   ├── stm32f10x_can.h
│   │   │   ├── stm32f10x_cec.h
│   │   │   ├── stm32f10x_crc.h
│   │   │   ├── stm32f10x_dac.h
│   │   │   ├── stm32f10x_dbgmcu.h
│   │   │   ├── stm32f10x_dma.h
│   │   │   ├── stm32f10x_exti.h
│   │   │   ├── stm32f10x_flash.h
│   │   │   ├── stm32f10x_fsmc.h
│   │   │   ├── stm32f10x_gpio.h
│   │   │   ├── stm32f10x_i2c.h
│   │   │   ├── stm32f10x_iwdg.h
│   │   │   ├── stm32f10x_pwr.h
│   │   │   ├── stm32f10x_rcc.h
│   │   │   ├── stm32f10x_rtc.h
│   │   │   ├── stm32f10x_sdio.h
│   │   │   ├── stm32f10x_spi.h
│   │   │   ├── stm32f10x_tim.h
│   │   │   ├── stm32f10x_usart.h
│   │   │   └── stm32f10x_wwdg.h
│   │   ├── Release_Notes_for_STM32F10x_StdPeriph_Driver.html
│   │   ├── Release_Notes.html
│   │   └── src
│   │   ├── misc.c
│   │   ├── stm32f10x_adc.c
│   │   ├── stm32f10x_bkp.c
│   │   ├── stm32f10x_can.c
│   │   ├── stm32f10x_cec.c
│   │   ├── stm32f10x_crc.c
│   │   ├── stm32f10x_dac.c
│   │   ├── stm32f10x_dbgmcu.c
│   │   ├── stm32f10x_dma.c
│   │   ├── stm32f10x_exti.c
│   │   ├── stm32f10x_flash.c
│   │   ├── stm32f10x_fsmc.c
│   │   ├── stm32f10x_gpio.c
│   │   ├── stm32f10x_i2c.c
│   │   ├── stm32f10x_iwdg.c
│   │   ├── stm32f10x_pwr.c
│   │   ├── stm32f10x_rcc.c
│   │   ├── stm32f10x_rtc.c
│   │   ├── stm32f10x_sdio.c
│   │   ├── stm32f10x_spi.c
│   │   ├── stm32f10x_tim.c
│   │   ├── stm32f10x_usart.c
│   │   └── stm32f10x_wwdg.c
│   └── USB-FS-Device_Driver
│   ├── inc
│   │   ├── otgd_fs_cal.h
│   │   ├── otgd_fs_dev.h
│   │   ├── otgd_fs_int.h
│   │   ├── otgd_fs_pcd.h
│   │   ├── otgd_fs_regs.h
│   │   ├── usb_core.h
│   │   ├── usb_def.h
│   │   ├── usb_init.h
│   │   ├── usb_int.h
│   │   ├── usb_lib.h
│   │   ├── usb_mem.h
│   │   ├── usb_regs.h
│   │   ├── usb_sil.h
│   │   └── usb_type.h
│   └── src
│   ├── otgd_fs_cal.c
│   ├── otgd_fs_dev.c
│   ├── otgd_fs_int.c
│   ├── otgd_fs_pcd.c
│   ├── usb_core.c
│   ├── usb_init.c
│   ├── usb_int.c
│   ├── usb_mem.c
│   ├── usb_regs.c
│   └── usb_sil.c
├── LICENSE
├── README.md
├── RT-Thread-1.2.2
│   ├── AUTHORS
│   ├── components
│   │   ├── CMSIS
│   │   │   ├── Include
│   │   │   │   ├── arm_common_tables.h
│   │   │   │   ├── arm_math.h
│   │   │   │   ├── core_cm0.h
│   │   │   │   ├── core_cm0plus.h
│   │   │   │   ├── core_cm3.h
│   │   │   │   ├── core_cm4.h
│   │   │   │   ├── core_cm4_simd.h
│   │   │   │   ├── core_cmFunc.h
│   │   │   │   ├── core_cmInstr.h
│   │   │   │   ├── core_sc000.h
│   │   │   │   └── core_sc300.h
│   │   │   ├── README.txt
│   │   │   ├── RTOS
│   │   │   │   ├── cmsis_os.h
│   │   │   │   ├── cmsis_rtthread.c
│   │   │   │   └── SConscript
│   │   │   └── SConscript
│   │   ├── drivers
│   │   │   ├── i2c
│   │   │   │   ├── i2c-bit-ops.c
│   │   │   │   ├── i2c_core.c
│   │   │   │   ├── i2c_dev.c
│   │   │   │   └── SConscript
│   │   │   ├── include
│   │   │   │   ├── drivers
│   │   │   │   │   ├── alarm.h
│   │   │   │   │   ├── i2c-bit-ops.h
│   │   │   │   │   ├── i2c_dev.h
│   │   │   │   │   ├── i2c.h
│   │   │   │   │   ├── mmcsd_card.h
│   │   │   │   │   ├── mmcsd_cmd.h
│   │   │   │   │   ├── mmcsd_core.h
│   │   │   │   │   ├── mmcsd_host.h
│   │   │   │   │   ├── mtd_nand.h
│   │   │   │   │   ├── mtd_nor.h
│   │   │   │   │   ├── pin.h
│   │   │   │   │   ├── rtc.h
│   │   │   │   │   ├── sd.h
│   │   │   │   │   ├── sdio_func_ids.h
│   │   │   │   │   ├── sdio.h
│   │   │   │   │   ├── serial.h
│   │   │   │   │   ├── spi.h
│   │   │   │   │   ├── usb_common.h
│   │   │   │   │   ├── usb_device.h
│   │   │   │   │   ├── usb_host.h
│   │   │   │   │   └── watchdog.h
│   │   │   │   └── rtdevice.h
│   │   │   ├── misc
│   │   │   │   ├── pin.c
│   │   │   │   └── SConscript
│   │   │   ├── mtd
│   │   │   │   ├── mtd_nand.c
│   │   │   │   ├── mtd_nor.c
│   │   │   │   └── SConscript
│   │   │   ├── rtc
│   │   │   │   ├── alarm.c
│   │   │   │   ├── rtc.c
│   │   │   │   └── SConscript
│   │   │   ├── SConscript
│   │   │   ├── sdio
│   │   │   │   ├── block_dev.c
│   │   │   │   ├── mmcsd_core.c
│   │   │   │   ├── SConscript
│   │   │   │   ├── sd.c
│   │   │   │   └── sdio.c
│   │   │   ├── serial
│   │   │   │   ├── SConscript
│   │   │   │   └── serial.c
│   │   │   ├── spi
│   │   │   │   ├── SConscript
│   │   │   │   ├── spi_core.c
│   │   │   │   └── spi_dev.c
│   │   │   ├── src
│   │   │   │   ├── completion.c
│   │   │   │   ├── dataqueue.c
│   │   │   │   ├── pipe.c
│   │   │   │   ├── portal.c
│   │   │   │   ├── ringbuffer.c
│   │   │   │   ├── SConscript
│   │   │   │   └── wrokqueue.c
│   │   │   └── usb
│   │   │   ├── SConscript
│   │   │   ├── usbdevice
│   │   │   │   ├── class
│   │   │   │   │   ├── cdc.h
│   │   │   │   │   ├── cdc_vcom.c
│   │   │   │   │   ├── mstorage.c
│   │   │   │   │   └── mstorage.h
│   │   │   │   ├── core
│   │   │   │   │   ├── core.c
│   │   │   │   │   └── usbdevice.c
│   │   │   │   └── SConscript
│   │   │   └── usbhost
│   │   │   ├── class
│   │   │   │   ├── adk.c
│   │   │   │   └── adk.h
│   │   │   ├── core
│   │   │   │   ├── core.c
│   │   │   │   ├── driver.c
│   │   │   │   ├── hub.c
│   │   │   │   └── usbhost.c
│   │   │   └── SConscript
│   │   ├── finsh
│   │   │   ├── cmd.c
│   │   │   ├── finsh_compiler.c
│   │   │   ├── finsh_error.c
│   │   │   ├── finsh_error.h
│   │   │   ├── finsh.h
│   │   │   ├── finsh_heap.c
│   │   │   ├── finsh_heap.h
│   │   │   ├── finsh_init.c
│   │   │   ├── finsh_node.c
│   │   │   ├── finsh_node.h
│   │   │   ├── finsh_ops.c
│   │   │   ├── finsh_ops.h
│   │   │   ├── finsh_parser.c
│   │   │   ├── finsh_parser.h
│   │   │   ├── finsh_token.c
│   │   │   ├── finsh_token.h
│   │   │   ├── finsh_var.c
│   │   │   ├── finsh_var.h
│   │   │   ├── finsh_vm.c
│   │   │   ├── finsh_vm.h
│   │   │   ├── msh.c
│   │   │   ├── msh_cmd.c
│   │   │   ├── msh.h
│   │   │   ├── SConscript
│   │   │   ├── shell.c
│   │   │   ├── shell.h
│   │   │   └── symbol.c
│   │   ├── init
│   │   │   ├── components.c
│   │   │   ├── components.h
│   │   │   └── SConscript
│   │   ├── libc
│   │   │   ├── armlibc
│   │   │   │   ├── mem_std.c
│   │   │   │   ├── SConscript
│   │   │   │   └── stubs.c
│   │   │   ├── minilibc
│   │   │   │   ├── ctype.c
│   │   │   │   ├── ctype.h
│   │   │   │   ├── errno.h
│   │   │   │   ├── inttypes.h
│   │   │   │   ├── math.c
│   │   │   │   ├── math.h
│   │   │   │   ├── qsort.c
│   │   │   │   ├── rand.c
│   │   │   │   ├── SConscript
│   │   │   │   ├── stddef.h
│   │   │   │   ├── stdint.h
│   │   │   │   ├── stdio.h
│   │   │   │   ├── stdlib.c
│   │   │   │   ├── stdlib.h
│   │   │   │   ├── string.c
│   │   │   │   ├── string.h
│   │   │   │   ├── sys
│   │   │   │   │   ├── stat.h
│   │   │   │   │   ├── time.h
│   │   │   │   │   └── types.h
│   │   │   │   ├── time.c
│   │   │   │   └── time.h
│   │   │   ├── newlib
│   │   │   │   ├── libc.c
│   │   │   │   ├── libc.h
│   │   │   │   ├── SConscript
│   │   │   │   ├── sys
│   │   │   │   │   ├── dirent.h
│   │   │   │   │   ├── fcntl.h
│   │   │   │   │   └── statfs.h
│   │   │   │   └── syscalls.c
│   │   │   └── SConscript
│   │   ├── libdl
│   │   │   ├── dlclose.c
│   │   │   ├── dlerror.c
│   │   │   ├── dlfcn.h
│   │   │   ├── dlopen.c
│   │   │   ├── dlsym.c
│   │   │   └── SConscript
│   │   ├── pthreads
│   │   │   ├── clock_time.c
│   │   │   ├── mqueue.c
│   │   │   ├── mqueue.h
│   │   │   ├── posix_types.h
│   │   │   ├── pthread_attr.c
│   │   │   ├── pthread_barrier.c
│   │   │   ├── pthread.c
│   │   │   ├── pthread_cond.c
│   │   │   ├── pthread.h
│   │   │   ├── pthread_internal.h
│   │   │   ├── pthread_mutex.c
│   │   │   ├── pthread_rwlock.c
│   │   │   ├── pthread_spin.c
│   │   │   ├── pthread_tls.c
│   │   │   ├── sched.c
│   │   │   ├── sched.h
│   │   │   ├── SConscript
│   │   │   ├── semaphore.c
│   │   │   └── semaphore.h
│   │   ├── SConscript
│   │   └── utilities
│   │   ├── logtrace
│   │   │   ├── log_file.c
│   │   │   ├── log_trace.c
│   │   │   ├── log_trace.h
│   │   │   └── SConscript
│   │   ├── SConscript
│   │   ├── ymodem
│   │   │   ├── SConscript
│   │   │   ├── ymodem.c
│   │   │   └── ymodem.h
│   │   └── zmodem
│   │   ├── crc.h
│   │   ├── rz.c
│   │   ├── sz.c
│   │   ├── zcore.c
│   │   ├── zdef.h
│   │   ├── zdevice.c
│   │   └── zstart.c
│   ├── COPYING
│   ├── include
│   │   ├── cpuusage.h
│   │   ├── rtdebug.h
│   │   ├── rtdef.h
│   │   ├── rthw.h
│   │   ├── rtm.h
│   │   ├── rtservice.h
│   │   └── rtthread.h
│   ├── libcpu
│   │   ├── arm
│   │   │   ├── am335x
│   │   │   │   ├── am33xx.h
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── cp15_gcc.S
│   │   │   │   ├── cpu.c
│   │   │   │   ├── interrupt.c
│   │   │   │   ├── interrupt.h
│   │   │   │   ├── mmu.c
│   │   │   │   ├── stack.c
│   │   │   │   ├── start_gcc.S
│   │   │   │   ├── trap.c
│   │   │   │   └── vector_gcc.S
│   │   │   ├── arm926
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── context_rvds.S
│   │   │   │   ├── cpuport.c
│   │   │   │   ├── mmu.c
│   │   │   │   ├── mmu.h
│   │   │   │   └── stack.c
│   │   │   ├── AT91SAM7S
│   │   │   │   ├── AT91SAM7S.h
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── context_rvds.S
│   │   │   │   ├── cpu.c
│   │   │   │   ├── interrupt.c
│   │   │   │   ├── serial.c
│   │   │   │   ├── serial.h
│   │   │   │   ├── stack.c
│   │   │   │   ├── start_gcc.S
│   │   │   │   ├── start_rvds.S
│   │   │   │   └── trap.c
│   │   │   ├── AT91SAM7X
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── context_rvds.S
│   │   │   │   ├── cpu.c
│   │   │   │   ├── interrupt.c
│   │   │   │   ├── stack.c
│   │   │   │   ├── start_gcc.S
│   │   │   │   ├── start_rvds.S
│   │   │   │   └── trap.c
│   │   │   ├── common
│   │   │   │   ├── backtrace.c
│   │   │   │   ├── div0.c
│   │   │   │   ├── divsi3.S
│   │   │   │   └── showmem.c
│   │   │   ├── cortex-m0
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── context_iar.S
│   │   │   │   ├── context_rvds.S
│   │   │   │   └── cpuport.c
│   │   │   ├── cortex-m3
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── context_iar.S
│   │   │   │   ├── context_rvds.S
│   │   │   │   └── cpuport.c
│   │   │   ├── cortex-m4
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── context_iar.S
│   │   │   │   ├── context_rvds.S
│   │   │   │   └── cpuport.c
│   │   │   ├── cortex-r4
│   │   │   │   ├── armv7.h
│   │   │   │   ├── context_ccs.asm
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── cpu.c
│   │   │   │   ├── interrupt.c
│   │   │   │   ├── stack.c
│   │   │   │   ├── start_ccs.asm
│   │   │   │   ├── start_gcc.S
│   │   │   │   ├── trap.c
│   │   │   │   ├── vector_ccs.asm
│   │   │   │   └── vector_gcc.S
│   │   │   ├── lpc214x
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── context_rvds.S
│   │   │   │   ├── cpuport.c
│   │   │   │   ├── lpc214x.h
│   │   │   │   ├── start_rvds.S
│   │   │   │   └── startup_gcc.S
│   │   │   ├── lpc24xx
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── context_rvds.S
│   │   │   │   ├── cpu.c
│   │   │   │   ├── interrupt.c
│   │   │   │   ├── LPC24xx.h
│   │   │   │   ├── stack.c
│   │   │   │   ├── start_gcc.S
│   │   │   │   ├── start_rvds.S
│   │   │   │   └── trap.c
│   │   │   ├── s3c24x0
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── context_rvds.S
│   │   │   │   ├── cpu.c
│   │   │   │   ├── interrupt.c
│   │   │   │   ├── mmu.c
│   │   │   │   ├── rtc.c
│   │   │   │   ├── rtc.h
│   │   │   │   ├── s3c24x0.h
│   │   │   │   ├── serial.c
│   │   │   │   ├── serial.h
│   │   │   │   ├── stack.c
│   │   │   │   ├── start_gcc.S
│   │   │   │   ├── start_rvds.S
│   │   │   │   ├── system_clock.c
│   │   │   │   └── trap.c
│   │   │   ├── s3c44b0
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── context_rvds.S
│   │   │   │   ├── cpu.c
│   │   │   │   ├── interrupt.c
│   │   │   │   ├── s3c44b0.h
│   │   │   │   ├── serial.c
│   │   │   │   ├── stack.c
│   │   │   │   ├── start_gcc.S
│   │   │   │   ├── start_rvds.S
│   │   │   │   └── trap.c
│   │   │   └── sep4020
│   │   │   ├── clk.c
│   │   │   ├── context_rvds.S
│   │   │   ├── cpu.c
│   │   │   ├── interrupt.c
│   │   │   ├── sep4020.h
│   │   │   ├── serial.c
│   │   │   ├── serial.h
│   │   │   ├── stack.c
│   │   │   ├── start_rvds.S
│   │   │   └── trap.c
│   │   ├── avr32
│   │   │   └── uc3
│   │   │   ├── context_gcc.S
│   │   │   ├── cpu.c
│   │   │   ├── exception_gcc.S
│   │   │   ├── interrupt.c
│   │   │   ├── serial.c
│   │   │   ├── serial.h
│   │   │   └── stack.c
│   │   ├── blackfin
│   │   │   └── bf53x
│   │   │   ├── context_vdsp.S
│   │   │   ├── cpuport.c
│   │   │   ├── serial.c
│   │   │   └── serial.h
│   │   ├── ia32
│   │   │   ├── backtrace.c
│   │   │   ├── context_gcc.S
│   │   │   ├── hdisr_gcc.S
│   │   │   ├── interrupt.c
│   │   │   ├── showmem.c
│   │   │   ├── stack.c
│   │   │   ├── start_gcc.S
│   │   │   ├── trap.c
│   │   │   ├── trapisr_gcc.S
│   │   │   ├── __udivsi3.c
│   │   │   └── __umodsi3.c
│   │   ├── m16c
│   │   │   └── m16c62p
│   │   │   ├── context_gcc.S
│   │   │   ├── context_iar.asm
│   │   │   ├── context_iar.S
│   │   │   └── cpuport.c
│   │   ├── mips
│   │   │   ├── common
│   │   │   │   ├── asm.h
│   │   │   │   ├── cache.c
│   │   │   │   ├── cache.h
│   │   │   │   ├── exception.h
│   │   │   │   ├── mipscfg.h
│   │   │   │   ├── mips.inc
│   │   │   │   ├── mipsregs.h
│   │   │   │   └── stackframe.h
│   │   │   ├── jz47xx
│   │   │   │   ├── cache.c
│   │   │   │   ├── cache_gcc.S
│   │   │   │   ├── cache.h
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── cpu.c
│   │   │   │   ├── exception.c
│   │   │   │   ├── interrupt.c
│   │   │   │   ├── jz4740.h
│   │   │   │   ├── jz4755.h
│   │   │   │   ├── jz47xx.h
│   │   │   │   ├── mipscfg.c
│   │   │   │   ├── stack.c
│   │   │   │   └── start_gcc.S
│   │   │   ├── loongson
│   │   │   │   ├── cache.c
│   │   │   │   ├── cache_gcc.S
│   │   │   │   ├── cache.h
│   │   │   │   ├── cache.inc
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── cpu.c
│   │   │   │   ├── exception.c
│   │   │   │   ├── interrupt.c
│   │   │   │   ├── mipscfg.c
│   │   │   │   ├── soc3210.h
│   │   │   │   ├── stack.c
│   │   │   │   └── start_gcc.S
│   │   │   ├── loongson_1b
│   │   │   │   ├── cache.c
│   │   │   │   ├── cache_gcc.S
│   │   │   │   ├── cache.h
│   │   │   │   ├── context_gcc.S
│   │   │   │   ├── cpuport.c
│   │   │   │   ├── exception.c
│   │   │   │   ├── interrupt.c
│   │   │   │   ├── ls1b.h
│   │   │   │   ├── mipscfg.c
│   │   │   │   └── start_gcc.S
│   │   │   └── pic32
│   │   │   ├── context_gcc.S
│   │   │   ├── cpuport.c
│   │   │   └── exceptions.c
│   │   ├── nios
│   │   │   └── nios_ii
│   │   │   ├── context_gcc.S
│   │   │   ├── interrupt.c
│   │   │   ├── stack.c
│   │   │   └── vector.S
│   │   ├── ppc
│   │   │   ├── common
│   │   │   │   ├── ptrace.h
│   │   │   │   └── stack.c
│   │   │   └── ppc405
│   │   │   ├── cache_gcc.S
│   │   │   ├── cache.h
│   │   │   ├── context_gcc.S
│   │   │   ├── context.h
│   │   │   ├── dcr_gcc.S
│   │   │   ├── include
│   │   │   │   ├── asm
│   │   │   │   │   ├── ppc405.h
│   │   │   │   │   ├── ppc4xx.h
│   │   │   │   │   ├── ppc4xx-intvec.h
│   │   │   │   │   ├── ppc4xx-uic.h
│   │   │   │   │   ├── ppc_defs.h
│   │   │   │   │   ├── processor.h
│   │   │   │   │   ├── ptrace.h
│   │   │   │   │   └── types.h
│   │   │   │   └── config.h
│   │   │   ├── interrupt.c
│   │   │   ├── io.h
│   │   │   ├── serial.c
│   │   │   ├── start_gcc.S
│   │   │   └── traps.c
│   │   ├── SConscript
│   │   ├── sim
│   │   │   ├── posix
│   │   │   │   └── cpu_port.c
│   │   │   └── win32
│   │   │   ├── cpu_port.c
│   │   │   └── cpu_port.h
│   │   ├── unicore32
│   │   │   └── sep6200
│   │   │   ├── context_gcc.S
│   │   │   ├── cpu.c
│   │   │   ├── interrupt.c
│   │   │   ├── sep6200.h
│   │   │   ├── serial.c
│   │   │   ├── serial.h
│   │   │   ├── stack.c
│   │   │   ├── start_gcc.S
│   │   │   ├── trace.c
│   │   │   └── trap.c
│   │   ├── v850
│   │   │   └── 70f34
│   │   │   ├── context_iar.asm
│   │   │   ├── context_iar.S
│   │   │   ├── cpuport.c
│   │   │   └── macdefs.inc
│   │   └── xilinx
│   │   └── microblaze
│   │   ├── context_gcc.S
│   │   ├── cpu.c
│   │   ├── microblaze.inc
│   │   ├── serial.c
│   │   ├── serial.h
│   │   ├── stack.c
│   │   └── trap.c
│   └── src
│   ├── clock.c
│   ├── cpuusage.c
│   ├── device.c
│   ├── idle.c
│   ├── ipc.c
│   ├── irq.c
│   ├── kservice.c
│   ├── mem.c
│   ├── memheap.c
│   ├── mempool.c
│   ├── module.c
│   ├── module.h
│   ├── object.c
│   ├── scheduler.c
│   ├── SConscript
│   ├── slab.c
│   ├── thread.c
│   └── timer.c
├── RVMDK
│   ├── FreeModbus_Slave&Master+RTT+STM32.uvopt
│   ├── FreeModbus_Slave&Master+RTT+STM32_uvopt.bak
│   ├── FreeModbus_Slave&Master+RTT+STM32.uvproj
│   ├── FreeModbus_Slave&Master+RTT+STM32_uvproj.bak
│   ├── JLinkLog.txt
│   ├── JLink Regs CM3.txt
│   └── JLinkSettings.ini
├── settings
│   ├── FreeModbus_Slave&Master+RTT+STM32.dni
│   ├── FreeModbus_Slave&Master+RTT+STM32_Eclipse Debug.jlink
│   ├── FreeModbus_Slaver&Master+RTT+STM32.dni
│   └── FreeModbus_Slaver&Master+RTT+STM32_Eclipse Debug.jlink
└── tags

129 directories, 656 files

标签:

实例下载地址

包含modbus从机和主机的示例程序

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警