Lines Matching refs:usRegAddress
72 USHORT usRegAddress; in eMBFuncReadCoils() local
82 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_READ_ADDR_OFF] << 8 ); in eMBFuncReadCoils()
83 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_READ_ADDR_OFF + 1] ); in eMBFuncReadCoils()
84 usRegAddress++; in eMBFuncReadCoils()
117 eMBRegCoilsCB( pucFrameCur, usRegAddress, usCoilCount, in eMBFuncReadCoils()
151 USHORT usRegAddress; in eMBFuncWriteCoil() local
159 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_ADDR_OFF] << 8 ); in eMBFuncWriteCoil()
160 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_ADDR_OFF + 1] ); in eMBFuncWriteCoil()
161 usRegAddress++; in eMBFuncWriteCoil()
177 eMBRegCoilsCB( &ucBuf[0], usRegAddress, 1, MB_REG_WRITE ); in eMBFuncWriteCoil()
205 USHORT usRegAddress; in eMBFuncWriteMultipleCoils() local
215 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_MUL_ADDR_OFF] << 8 ); in eMBFuncWriteMultipleCoils()
216 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_MUL_ADDR_OFF + 1] ); in eMBFuncWriteMultipleCoils()
217 usRegAddress++; in eMBFuncWriteMultipleCoils()
240 usRegAddress, usCoilCnt, MB_REG_WRITE ); in eMBFuncWriteMultipleCoils()