0: R0: 0x00
1: R1: 0x01
2: R2: 0x02
3: R3: 0x03
4: R4: 0x04
5: R5: 0x05
6: R6: 0x06
7: R7: 0x07
8: R8: 0x08
9: R9: 0x09
10: R10: 0x0a
11: R11: 0x0b
12: R12: 0x0c
13: R13: 0x0d
14: R14: 0x0e
15: R15: 0x0f
16: XPSR: 0x10
17: MSP: 0x11
18: PSP: 0x12
19: RAZ: 0x13
20: CFBP: 0x14
21: APSR: 0x15
22: EPSR: 0x16
23: IPSR: 0x17
24: PRIMASK: 0x18
25: BASEPRI: 0x19
26: FAULTMASK: 0x1a
27: CONTROL: 0x1b
28: BASEPRI_MAX: 0x1c
29: IAPSR: 0x1d
30: EAPSR: 0x1e
31: IEPSR: 0x1f
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
stm32f103实现的RS485串口Modbus协议实现开关量数据采集与控制: int main(void) { LED_Config(); //--------LED端口初始化------------- Button_Config(); //-----按键端口初始化------------ eMBInit(MB_RTU, 0x02, 0x01, 9600, MB_PAR_NONE); //初始化 RTU模式 从机地址为1 USART1 9600 无校验 eMBEnable(); //启动FreeModbus while(1) { eMBPoll(); LED_Poll(); Button_Poll(); } } void LED_Poll(void) { uint8_t LED_Status; LED_Status = ucRegCoilsBuf[0];
资源推荐
资源详情
资源评论
收起资源包目录
stm32f103实现的RS485串口Modbus协议实现开关量数据采集与控制.zip (106个子文件)
Template.uvgui_xiehaitian.bak 69KB
Template_uvopt.bak 21KB
Template_uvproj.bak 20KB
keilkilll.bat 399B
stm32f10x_tim.c 107KB
stm32f10x_flash.c 61KB
stm32f10x_rcc.c 50KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 45KB
stm32f10x_can.c 44KB
stm32f10x_usart.c 37KB
system_stm32f10x.c 36KB
stm32f10x_fsmc.c 35KB
stm32f10x_spi.c 30KB
stm32f10x_dma.c 29KB
stm32f10x_sdio.c 28KB
stm32f10x_gpio.c 23KB
stm32f10x_dac.c 19KB
core_cm3.c 17KB
mbascii.c 15KB
mb.c 13KB
mbrtu.c 13KB
mbfuncholding.c 12KB
stm32f10x_cec.c 11KB
mbfunccoils.c 10KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
main.c 7KB
misc.c 7KB
stm32f10x_exti.c 7KB
portserial.c 6KB
portserial2.c 6KB
stm32f10x_wwdg.c 6KB
mbtcp.c 6KB
mbcrc.c 5KB
stm32f10x_dbgmcu.c 5KB
mbutils.c 5KB
usart.c 5KB
delay.c 5KB
stm32f10x_iwdg.c 5KB
mbfuncinput.c 5KB
mbfuncdisc.c 5KB
porttimer.c 4KB
mbfuncother.c 3KB
stm32f10x_crc.c 3KB
uart2.c 3KB
stm32f10x_it.c 2KB
portevent.c 2KB
mbfuncdiag.c 2KB
led.c 957B
sys.c 163B
Template_Template.dep 17KB
stm32f10x.h 619KB
core_cm3.h 84KB
stm32f10x_tim.h 51KB
stm32f10x_rcc.h 30KB
stm32f10x_i2c.h 29KB
stm32f10x_can.h 27KB
stm32f10x_fsmc.h 26KB
stm32f10x_flash.h 25KB
stm32f10x_sdio.h 21KB
stm32f10x_adc.h 21KB
stm32f10x_dma.h 20KB
stm32f10x_gpio.h 20KB
mb.h 19KB
stm32f10x_spi.h 17KB
stm32f10x_usart.h 16KB
stm32f10x_dac.h 15KB
misc.h 9KB
stm32f10x_bkp.h 7KB
stm32f10x_exti.h 7KB
stm32f10x_cec.h 6KB
mbconfig.h 6KB
mbport.h 5KB
stm32f10x_pwr.h 4KB
mbutils.h 4KB
mbproto.h 4KB
stm32f10x_rtc.h 4KB
stm32f10x_iwdg.h 4KB
stm32f10x_dbgmcu.h 4KB
mbframe.h 4KB
stm32f10x_conf.h 3KB
mbfunc.h 3KB
stm32f10x_wwdg.h 3KB
mbascii.h 2KB
mbrtu.h 2KB
mbtcp.h 2KB
stm32f10x_crc.h 2KB
system_stm32f10x.h 2KB
stm32f10x_it.h 2KB
mbcrc.h 2KB
port.h 2KB
delay.h 1KB
usart.h 1KB
led.h 707B
uart2.h 146B
sys.h 100B
Template.hex 42KB
JLinkSettings.ini 285B
共 106 条
- 1
- 2
探索者我有我路向
- 粉丝: 283
- 资源: 1816
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
前往页