Lines Matching refs:usRegAddress
117 USHORT usRegAddress; in eMBMasterFuncReadCoils() local
132 usRegAddress = ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF] << 8 ); in eMBMasterFuncReadCoils()
133 usRegAddress |= ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF + 1] ); in eMBMasterFuncReadCoils()
134 usRegAddress++; in eMBMasterFuncReadCoils()
157 …eRegStatus = eMBMasterRegCoilsCB( &pucFrame[MB_PDU_FUNC_READ_VALUES_OFF], usRegAddress, usCoilCoun… in eMBMasterFuncReadCoils()
222 USHORT usRegAddress; in eMBMasterFuncWriteCoil() local
230 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_ADDR_OFF] << 8 ); in eMBMasterFuncWriteCoil()
231 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_ADDR_OFF + 1] ); in eMBMasterFuncWriteCoil()
232 usRegAddress++; in eMBMasterFuncWriteCoil()
248 eMBMasterRegCoilsCB( &ucBuf[0], usRegAddress, 1, MB_REG_WRITE ); in eMBMasterFuncWriteCoil()
332 USHORT usRegAddress; in eMBMasterFuncWriteMultipleCoils() local
345 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_MUL_ADDR_OFF] << 8 ); in eMBMasterFuncWriteMultipleCoils()
346 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_MUL_ADDR_OFF + 1] ); in eMBMasterFuncWriteMultipleCoils()
347 usRegAddress++; in eMBMasterFuncWriteMultipleCoils()
368 usRegAddress, usCoilCnt, MB_REG_WRITE ); in eMBMasterFuncWriteMultipleCoils()