Searched refs:pucFrameCur (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.6.0/components/freemodbus/modbus/functions/ |
D | mbfuncholding.c | 175 UCHAR *pucFrameCur; in eMBFuncReadHoldingRegister() local 195 pucFrameCur = &pucFrame[MB_PDU_FUNC_OFF]; in eMBFuncReadHoldingRegister() 199 *pucFrameCur++ = MB_FUNC_READ_HOLDING_REGISTER; in eMBFuncReadHoldingRegister() 203 *pucFrameCur++ = ( UCHAR ) ( usRegCount * 2 ); in eMBFuncReadHoldingRegister() 207 eRegStatus = eMBRegHoldingCB( pucFrameCur, usRegAddress, usRegCount, MB_REG_READ ); in eMBFuncReadHoldingRegister() 243 UCHAR *pucFrameCur; in eMBFuncReadWriteMultipleHoldingRegister() local 277 pucFrameCur = &pucFrame[MB_PDU_FUNC_OFF]; in eMBFuncReadWriteMultipleHoldingRegister() 281 *pucFrameCur++ = MB_FUNC_READWRITE_MULTIPLE_REGISTERS; in eMBFuncReadWriteMultipleHoldingRegister() 285 *pucFrameCur++ = ( UCHAR ) ( usRegReadCount * 2 ); in eMBFuncReadWriteMultipleHoldingRegister() 290 eMBRegHoldingCB( pucFrameCur, usRegReadAddress, usRegReadCount, MB_REG_READ ); in eMBFuncReadWriteMultipleHoldingRegister()
|
D | mbfuncinput.c | 65 UCHAR *pucFrameCur; in eMBFuncReadInputRegister() local 86 pucFrameCur = &pucFrame[MB_PDU_FUNC_OFF]; in eMBFuncReadInputRegister() 90 *pucFrameCur++ = MB_FUNC_READ_INPUT_REGISTER; in eMBFuncReadInputRegister() 94 *pucFrameCur++ = ( UCHAR )( usRegCount * 2 ); in eMBFuncReadInputRegister() 98 eMBRegInputCB( pucFrameCur, usRegAddress, usRegCount ); in eMBFuncReadInputRegister()
|
D | mbfuncdisc.c | 70 UCHAR *pucFrameCur; in eMBFuncReadDiscreteInputs() local 91 pucFrameCur = &pucFrame[MB_PDU_FUNC_OFF]; in eMBFuncReadDiscreteInputs() 95 *pucFrameCur++ = MB_FUNC_READ_DISCRETE_INPUTS; in eMBFuncReadDiscreteInputs() 108 *pucFrameCur++ = ucNBytes; in eMBFuncReadDiscreteInputs() 112 eMBRegDiscreteCB( pucFrameCur, usRegAddress, usDiscreteCnt ); in eMBFuncReadDiscreteInputs()
|
D | mbfunccoils.c | 75 UCHAR *pucFrameCur; in eMBFuncReadCoils() local 96 pucFrameCur = &pucFrame[MB_PDU_FUNC_OFF]; in eMBFuncReadCoils() 100 *pucFrameCur++ = MB_FUNC_READ_COILS; in eMBFuncReadCoils() 113 *pucFrameCur++ = ucNBytes; in eMBFuncReadCoils() 117 eMBRegCoilsCB( pucFrameCur, usRegAddress, usCoilCount, in eMBFuncReadCoils()
|