Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/freemodbus/modbus/functions/
Dmbfuncinput_m.c45 #define MB_PDU_REQ_READ_ADDR_OFF ( MB_PDU_DATA_OFF + 0 ) macro
84 ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF] = usRegAddr >> 8; in eMBMasterReqReadInputRegister()
85 ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF + 1] = usRegAddr; in eMBMasterReqReadInputRegister()
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()
Dmbfuncdisc_m.c47 #define MB_PDU_REQ_READ_ADDR_OFF ( MB_PDU_DATA_OFF + 0 ) macro
85 ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF] = usDiscreteAddr >> 8; in eMBMasterReqReadDiscreteInputs()
86 ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF + 1] = usDiscreteAddr; in eMBMasterReqReadDiscreteInputs()
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()
Dmbfunccoils_m.c46 #define MB_PDU_REQ_READ_ADDR_OFF ( MB_PDU_DATA_OFF + 0 ) macro
101 ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF] = usCoilAddr >> 8; in eMBMasterReqReadCoils()
102 ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF + 1] = usCoilAddr; in eMBMasterReqReadCoils()
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()
Dmbfuncholding_m.c46 #define MB_PDU_REQ_READ_ADDR_OFF ( MB_PDU_DATA_OFF + 0 ) macro
277 ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF] = usRegAddr >> 8; in eMBMasterReqReadHoldingRegister()
278 ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF + 1] = usRegAddr; in eMBMasterReqReadHoldingRegister()
306 usRegAddress = ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF] << 8 ); in eMBMasterFuncReadHoldingRegister()
307 usRegAddress |= ( USHORT )( ucMBFrame[MB_PDU_REQ_READ_ADDR_OFF + 1] ); in eMBMasterFuncReadHoldingRegister()