Searched refs:usRegReadCount (Results 1 – 2 of 2) sorted by relevance
239 USHORT usRegReadCount; in eMBFuncReadWriteMultipleHoldingRegister() local254 usRegReadCount = ( USHORT )( pucFrame[MB_PDU_FUNC_READWRITE_READ_REGCNT_OFF] << 8U ); in eMBFuncReadWriteMultipleHoldingRegister()255 usRegReadCount |= ( USHORT )( pucFrame[MB_PDU_FUNC_READWRITE_READ_REGCNT_OFF + 1] ); in eMBFuncReadWriteMultipleHoldingRegister()266 if( ( usRegReadCount >= 1 ) && ( usRegReadCount <= 0x7D ) && in eMBFuncReadWriteMultipleHoldingRegister()285 *pucFrameCur++ = ( UCHAR ) ( usRegReadCount * 2 ); in eMBFuncReadWriteMultipleHoldingRegister()290 eMBRegHoldingCB( pucFrameCur, usRegReadAddress, usRegReadCount, MB_REG_READ ); in eMBFuncReadWriteMultipleHoldingRegister()293 *usLen += 2 * usRegReadCount; in eMBFuncReadWriteMultipleHoldingRegister()
398 USHORT usRegReadCount; in eMBMasterFuncReadWriteMultipleHoldingRegister() local418 usRegReadCount = ( USHORT )( ucMBFrame[MB_PDU_REQ_READWRITE_READ_REGCNT_OFF] << 8U ); in eMBMasterFuncReadWriteMultipleHoldingRegister()419 usRegReadCount |= ( USHORT )( ucMBFrame[MB_PDU_REQ_READWRITE_READ_REGCNT_OFF + 1] ); in eMBMasterFuncReadWriteMultipleHoldingRegister()428 if( ( 2 * usRegReadCount ) == pucFrame[MB_PDU_FUNC_READWRITE_READ_BYTECNT_OFF] ) in eMBMasterFuncReadWriteMultipleHoldingRegister()438 usRegReadAddress, usRegReadCount, MB_REG_READ); in eMBMasterFuncReadWriteMultipleHoldingRegister()