Home
last modified time | relevance | path

Searched refs:MB_PDU_REQ_READ_DISCCNT_OFF (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/freemodbus/modbus/functions/
Dmbfuncdisc_m.c48 #define MB_PDU_REQ_READ_DISCCNT_OFF ( MB_PDU_DATA_OFF + 2 ) macro
87 ucMBFrame[MB_PDU_REQ_READ_DISCCNT_OFF ] = usNDiscreteIn >> 8; in eMBMasterReqReadDiscreteInputs()
88 ucMBFrame[MB_PDU_REQ_READ_DISCCNT_OFF + 1] = usNDiscreteIn; in eMBMasterReqReadDiscreteInputs()
119 usDiscreteCnt = ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_DISCCNT_OFF] << 8 ); in eMBMasterFuncReadDiscreteInputs()
120 usDiscreteCnt |= ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_DISCCNT_OFF + 1] ); in eMBMasterFuncReadDiscreteInputs()