Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/freemodbus/serial_master/modbus_controller/
Dmbc_serial_master.c622 USHORT iRegBitIndex, iNReg; in eMBRegDiscreteCBSerialMaster() local
631 iRegBitIndex = (USHORT)(usAddress) % 8; // Get bit index in eMBRegDiscreteCBSerialMaster()
634 xMBUtilSetBits(pucDiscreteInputBuf++, iRegBitIndex, 8, *pucRegBuffer++); in eMBRegDiscreteCBSerialMaster()
642 xMBUtilSetBits(pucDiscreteInputBuf, iRegBitIndex, usNDiscrete, *pucRegBuffer++); in eMBRegDiscreteCBSerialMaster()
/hal_espressif-3.6.0/components/freemodbus/tcp_master/modbus_controller/
Dmbc_tcp_master.c734 USHORT iRegBitIndex, iNReg; in eMBRegDiscreteCBTcpMaster() local
743 iRegBitIndex = (USHORT)(usAddress) % 8; // Get bit index in eMBRegDiscreteCBTcpMaster()
746 xMBUtilSetBits(pucDiscreteInputBuf++, iRegBitIndex, 8, *pucRegBuffer++); in eMBRegDiscreteCBTcpMaster()
754 xMBUtilSetBits(pucDiscreteInputBuf, iRegBitIndex, usNDiscrete, *pucRegBuffer++); in eMBRegDiscreteCBTcpMaster()