Searched refs:usRegWriteCount (Results 1 – 2 of 2) sorted by relevance
241 USHORT usRegWriteCount; in eMBFuncReadWriteMultipleHoldingRegister() local261 usRegWriteCount = ( USHORT )( pucFrame[MB_PDU_FUNC_READWRITE_WRITE_REGCNT_OFF] << 8U ); in eMBFuncReadWriteMultipleHoldingRegister()262 usRegWriteCount |= ( USHORT )( pucFrame[MB_PDU_FUNC_READWRITE_WRITE_REGCNT_OFF + 1] ); in eMBFuncReadWriteMultipleHoldingRegister()267 ( usRegWriteCount >= 1 ) && ( usRegWriteCount <= 0x79 ) && in eMBFuncReadWriteMultipleHoldingRegister()268 ( ( 2 * usRegWriteCount ) == ucRegWriteByteCount ) ) in eMBFuncReadWriteMultipleHoldingRegister()272 usRegWriteAddress, usRegWriteCount, MB_REG_WRITE ); in eMBFuncReadWriteMultipleHoldingRegister()
400 USHORT usRegWriteCount; in eMBMasterFuncReadWriteMultipleHoldingRegister() local425 usRegWriteCount = ( USHORT )( ucMBFrame[MB_PDU_REQ_READWRITE_WRITE_REGCNT_OFF] << 8U ); in eMBMasterFuncReadWriteMultipleHoldingRegister()426 usRegWriteCount |= ( USHORT )( ucMBFrame[MB_PDU_REQ_READWRITE_WRITE_REGCNT_OFF + 1] ); in eMBMasterFuncReadWriteMultipleHoldingRegister()432 usRegWriteAddress, usRegWriteCount, MB_REG_WRITE ); in eMBMasterFuncReadWriteMultipleHoldingRegister()