Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/freemodbus/modbus/functions/
Dmbfunccoils_m.c119 UCHAR ucByteCount; in eMBMasterFuncReadCoils() local
143 ucByteCount = ( UCHAR )( usCoilCount / 8 + 1 ); in eMBMasterFuncReadCoils()
147 ucByteCount = ( UCHAR )( usCoilCount / 8 ); in eMBMasterFuncReadCoils()
154 ( ucByteCount == pucFrame[MB_PDU_FUNC_READ_COILCNT_OFF] ) ) in eMBMasterFuncReadCoils()
293 UCHAR ucByteCount; in eMBMasterReqWriteMultipleCoils() local
310 ucByteCount = ( UCHAR )( usNCoils / 8 + 1 ); in eMBMasterReqWriteMultipleCoils()
314 ucByteCount = ( UCHAR )( usNCoils / 8 ); in eMBMasterReqWriteMultipleCoils()
316 ucMBFrame[MB_PDU_REQ_WRITE_MUL_BYTECNT_OFF] = ucByteCount; in eMBMasterReqWriteMultipleCoils()
318 while( ucByteCount > usRegIndex) in eMBMasterReqWriteMultipleCoils()
322 vMBMasterSetPDUSndLength( MB_PDU_SIZE_MIN + MB_PDU_REQ_WRITE_MUL_SIZE_MIN + ucByteCount ); in eMBMasterReqWriteMultipleCoils()
[all …]
Dmbfunccoils.c207 UCHAR ucByteCount; in eMBFuncWriteMultipleCoils() local
222 ucByteCount = pucFrame[MB_PDU_FUNC_WRITE_MUL_BYTECNT_OFF]; in eMBFuncWriteMultipleCoils()
236 ( ucByteCountVerify == ucByteCount ) ) in eMBFuncWriteMultipleCoils()