Home
last modified time | relevance | path

Searched refs:pxMbSlaveInfo (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.4.0/components/freemodbus/tcp_master/port/
Dport_tcp_master.c108 xMbPortConfig.pxMbSlaveInfo = calloc(MB_TCP_PORT_MAX_CONN, sizeof(MbSlaveInfo_t*)); in xMBMasterTCPPortInit()
109 if (!xMbPortConfig.pxMbSlaveInfo) { in xMBMasterTCPPortInit()
113 for(int idx = 0; idx < MB_TCP_PORT_MAX_CONN; xMbPortConfig.pxMbSlaveInfo[idx] = NULL, idx++); in xMBMasterTCPPortInit()
155 if (xMbPortConfig.pxMbSlaveInfo[xIndex]->ucSlaveAddr == ucSlaveAddr) { in vMBTCPPortMasterFindSlaveInfo()
156 xMbPortConfig.pxMbSlaveCurrInfo = xMbPortConfig.pxMbSlaveInfo[xIndex]; in vMBTCPPortMasterFindSlaveInfo()
612 pxInfo = xMbPortConfig.pxMbSlaveInfo[xIndex]; in xMBTCPPortMasterGetSlaveReady()
710 xMbPortConfig.pxMbSlaveInfo[xMbPortConfig.usMbSlaveInfoCount++] = pxInfo; in vMBTCPPortMasterTask()
728 pxInfo = xMbPortConfig.pxMbSlaveInfo[ucCnt]; in vMBTCPPortMasterTask()
909 MbSlaveInfo_t* pxInfo = xMbPortConfig.pxMbSlaveInfo[ucCnt]; in vMBMasterTCPPortDisable()
916 xMbPortConfig.pxMbSlaveInfo[ucCnt] = NULL; in vMBMasterTCPPortDisable()
[all …]
Dport_tcp_master.h89 … MbSlaveInfo_t** pxMbSlaveInfo; /*!< Master information structure for each connected slave */ member