Home
last modified time | relevance | path

Searched refs:MB_TCP_GET_FIELD (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/components/freemodbus/port/
Dport.h92 #define MB_TCP_GET_FIELD(buffer, field) ((USHORT)((buffer[field] << 8U) | buffer[field + 1])) macro
/hal_espressif-3.6.0/components/freemodbus/tcp_slave/port/
Dport_tcp_slave.c294 xLength = (int)MB_TCP_GET_FIELD(pxClientInfo->pucTCPBuf, MB_TCP_LEN); in xMBTCPPortRxPoll()
304 … pxClientInfo->usTidCnt = MB_TCP_GET_FIELD(pxClientInfo->pucTCPBuf, MB_TCP_TID); in xMBTCPPortRxPoll()
593 USHORT usSentTid = MB_TCP_GET_FIELD(pucSentBuffer, MB_TCP_TID); in vMBTCPPortServerTask()
/hal_espressif-3.6.0/components/freemodbus/tcp_master/port/
Dport_tcp_master.c345 xLength = (int)MB_TCP_GET_FIELD(pxInfo->pucRcvBuf, MB_TCP_LEN); in vMBTCPPortMasterReadPacket()
358 usTidRcv = MB_TCP_GET_FIELD(pxInfo->pucRcvBuf, MB_TCP_TID); in vMBTCPPortMasterReadPacket()