Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/freemodbus/modbus/functions/
Dmbfuncdisc.c69 UCHAR ucNBytes; in eMBFuncReadDiscreteInputs() local
102 ucNBytes = ( UCHAR ) ( usDiscreteCnt / 8 + 1 ); in eMBFuncReadDiscreteInputs()
106 ucNBytes = ( UCHAR ) ( usDiscreteCnt / 8 ); in eMBFuncReadDiscreteInputs()
108 *pucFrameCur++ = ucNBytes; in eMBFuncReadDiscreteInputs()
124 *usLen += ucNBytes;; in eMBFuncReadDiscreteInputs()
Dmbfunccoils.c74 UCHAR ucNBytes; in eMBFuncReadCoils() local
107 ucNBytes = ( UCHAR )( usCoilCount / 8 + 1 ); in eMBFuncReadCoils()
111 ucNBytes = ( UCHAR )( usCoilCount / 8 ); in eMBFuncReadCoils()
113 *pucFrameCur++ = ucNBytes; in eMBFuncReadCoils()
130 *usLen += ucNBytes;; in eMBFuncReadCoils()
Dmbfuncdisc_m.c101 UCHAR ucNBytes; in eMBMasterFuncReadDiscreteInputs() local
126 ucNBytes = ( UCHAR )( usDiscreteCnt / 8 + 1 ); in eMBMasterFuncReadDiscreteInputs()
130 ucNBytes = ( UCHAR )( usDiscreteCnt / 8 ); in eMBMasterFuncReadDiscreteInputs()
136 if ((usDiscreteCnt >= 1) && ucNBytes == pucFrame[MB_PDU_FUNC_READ_DISCCNT_OFF]) in eMBMasterFuncReadDiscreteInputs()