15 lines
435 B
C
15 lines
435 B
C
#ifndef __MODBUS_H
|
||
#define __MODBUS_H
|
||
#include "stdint.h"
|
||
#include "gpio.h"
|
||
#include "usart.h"
|
||
|
||
void parse_scom_485(st_scom *scom);
|
||
|
||
//PC <---SIG---> HART/BLUETOOTH/MODBUS
|
||
//BLE:将接收完成的BLE数据发送至上位机,将来自上位机的BLE数据装载至comhart_tx
|
||
//HART:将接收完成的HART的数据发送至上位机,将来自上位机的HART数据装载至comhart_tx
|
||
void transparent_485(st_scom *scom);
|
||
|
||
#endif
|