Lines Matching refs:usRegAddress
80 USHORT usRegAddress; in eMBFuncWriteHoldingRegister() local
86 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_ADDR_OFF] << 8 ); in eMBFuncWriteHoldingRegister()
87 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_ADDR_OFF + 1] ); in eMBFuncWriteHoldingRegister()
88 usRegAddress++; in eMBFuncWriteHoldingRegister()
92 usRegAddress, 1, MB_REG_WRITE ); in eMBFuncWriteHoldingRegister()
113 USHORT usRegAddress; in eMBFuncWriteMultipleHoldingRegister() local
122 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_MUL_ADDR_OFF] << 8 ); in eMBFuncWriteMultipleHoldingRegister()
123 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_MUL_ADDR_OFF + 1] ); in eMBFuncWriteMultipleHoldingRegister()
124 usRegAddress++; in eMBFuncWriteMultipleHoldingRegister()
138 usRegAddress, usRegCount, MB_REG_WRITE ); in eMBFuncWriteMultipleHoldingRegister()
173 USHORT usRegAddress; in eMBFuncReadHoldingRegister() local
182 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_READ_ADDR_OFF] << 8 ); in eMBFuncReadHoldingRegister()
183 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_READ_ADDR_OFF + 1] ); in eMBFuncReadHoldingRegister()
184 usRegAddress++; in eMBFuncReadHoldingRegister()
207 eRegStatus = eMBRegHoldingCB( pucFrameCur, usRegAddress, usRegCount, MB_REG_READ ); in eMBFuncReadHoldingRegister()