Searched refs:usRegAddress (Results 1 – 8 of 8) sorted by relevance
/hal_espressif-3.6.0/components/freemodbus/modbus/functions/ |
D | mbfunccoils.c | 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() [all …]
|
D | mbfuncholding.c | 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() [all …]
|
D | mbfunccoils_m.c | 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() [all …]
|
D | mbfuncholding_m.c | 127 USHORT usRegAddress; in eMBMasterFuncWriteHoldingRegister() local 133 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_ADDR_OFF] << 8 ); in eMBMasterFuncWriteHoldingRegister() 134 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_WRITE_ADDR_OFF + 1] ); in eMBMasterFuncWriteHoldingRegister() 135 usRegAddress++; in eMBMasterFuncWriteHoldingRegister() 139 usRegAddress, 1, MB_REG_WRITE ); in eMBMasterFuncWriteHoldingRegister() 206 USHORT usRegAddress; in eMBMasterFuncWriteMultipleHoldingRegister() local 217 usRegAddress = ( USHORT )( ucMBFrame[MB_PDU_REQ_WRITE_MUL_ADDR_OFF] << 8 ); in eMBMasterFuncWriteMultipleHoldingRegister() 218 usRegAddress |= ( USHORT )( ucMBFrame[MB_PDU_REQ_WRITE_MUL_ADDR_OFF + 1] ); in eMBMasterFuncWriteMultipleHoldingRegister() 219 usRegAddress++; in eMBMasterFuncWriteMultipleHoldingRegister() 230 usRegAddress, usRegCount, MB_REG_WRITE ); in eMBMasterFuncWriteMultipleHoldingRegister() [all …]
|
D | mbfuncinput.c | 63 USHORT usRegAddress; in eMBFuncReadInputRegister() local 72 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_READ_ADDR_OFF] << 8 ); in eMBFuncReadInputRegister() 73 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_READ_ADDR_OFF + 1] ); in eMBFuncReadInputRegister() 74 usRegAddress++; in eMBFuncReadInputRegister() 98 eMBRegInputCB( pucFrameCur, usRegAddress, usRegCount ); in eMBFuncReadInputRegister()
|
D | mbfuncdisc.c | 67 USHORT usRegAddress; in eMBFuncReadDiscreteInputs() local 77 usRegAddress = ( USHORT )( pucFrame[MB_PDU_FUNC_READ_ADDR_OFF] << 8 ); in eMBFuncReadDiscreteInputs() 78 usRegAddress |= ( USHORT )( pucFrame[MB_PDU_FUNC_READ_ADDR_OFF + 1] ); in eMBFuncReadDiscreteInputs() 79 usRegAddress++; in eMBFuncReadDiscreteInputs() 112 eMBRegDiscreteCB( pucFrameCur, usRegAddress, usDiscreteCnt ); in eMBFuncReadDiscreteInputs()
|
D | mbfuncinput_m.c | 99 USHORT usRegAddress; in eMBMasterFuncReadInputRegister() local 113 usRegAddress = ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF] << 8 ); in eMBMasterFuncReadInputRegister() 114 usRegAddress |= ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF + 1] ); in eMBMasterFuncReadInputRegister() 115 usRegAddress++; in eMBMasterFuncReadInputRegister() 126 …eRegStatus = eMBMasterRegInputCB( &pucFrame[MB_PDU_FUNC_READ_VALUES_OFF], usRegAddress, usRegCount… in eMBMasterFuncReadInputRegister()
|
D | mbfuncdisc_m.c | 99 USHORT usRegAddress; in eMBMasterFuncReadDiscreteInputs() local 115 usRegAddress = ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF] << 8 ); in eMBMasterFuncReadDiscreteInputs() 116 usRegAddress |= ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF + 1] ); in eMBMasterFuncReadDiscreteInputs() 117 usRegAddress++; in eMBMasterFuncReadDiscreteInputs() 139 …tus = eMBMasterRegDiscreteCB( &pucFrame[MB_PDU_FUNC_READ_VALUES_OFF], usRegAddress, usDiscreteCnt … in eMBMasterFuncReadDiscreteInputs()
|