Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/components/freemodbus/modbus/functions/
Dmbfunccoils_m.c89 eMBMasterReqReadCoils( UCHAR ucSndAddr, USHORT usCoilAddr, USHORT usNCoils, LONG lTimeOut ) in eMBMasterReqReadCoils() argument
103 ucMBFrame[MB_PDU_REQ_READ_COILCNT_OFF ] = usNCoils >> 8; in eMBMasterReqReadCoils()
104 ucMBFrame[MB_PDU_REQ_READ_COILCNT_OFF + 1] = usNCoils; in eMBMasterReqReadCoils()
289 USHORT usCoilAddr, USHORT usNCoils, UCHAR * pucDataBuffer, LONG lTimeOut) in eMBMasterReqWriteMultipleCoils() argument
297 else if ( usNCoils > MB_PDU_REQ_WRITE_MUL_COILCNT_MAX ) eErrStatus = MB_MRE_ILL_ARG; in eMBMasterReqWriteMultipleCoils()
306 ucMBFrame[MB_PDU_REQ_WRITE_MUL_COILCNT_OFF] = usNCoils >> 8; in eMBMasterReqWriteMultipleCoils()
307 ucMBFrame[MB_PDU_REQ_WRITE_MUL_COILCNT_OFF + 1] = usNCoils ; in eMBMasterReqWriteMultipleCoils()
308 if( ( usNCoils & 0x0007 ) != 0 ) in eMBMasterReqWriteMultipleCoils()
310 ucByteCount = ( UCHAR )( usNCoils / 8 + 1 ); in eMBMasterReqWriteMultipleCoils()
314 ucByteCount = ( UCHAR )( usNCoils / 8 ); in eMBMasterReqWriteMultipleCoils()
/hal_espressif-3.5.0/components/freemodbus/modbus/include/
Dmb_m.h315 USHORT usNCoils, eMBRegisterMode eMode );
357 eMBMasterReqReadCoils( UCHAR ucSndAddr, USHORT usCoilAddr, USHORT usNCoils, LONG lTimeOut );
362 USHORT usCoilAddr, USHORT usNCoils, UCHAR * pucDataBuffer, LONG lTimeOut );
Dmb.h383 USHORT usNCoils, eMBRegisterMode eMode );
/hal_espressif-3.5.0/components/freemodbus/common/
Desp_modbus_master.c205 USHORT usNCoils, eMBRegisterMode eMode) in eMBMasterRegCoilsCB() argument
215 usNCoils, eMode); in eMBMasterRegCoilsCB()
Desp_modbus_slave.c494 USHORT usNCoils, eMBRegisterMode eMode) in eMBRegCoilsCB() argument
502 error = slave_interface_ptr->slave_reg_cb_coils(pucRegBuffer, usAddress, usNCoils, eMode); in eMBRegCoilsCB()
504 error = mbc_reg_coils_slave_cb(pucRegBuffer, usAddress, usNCoils, eMode); in eMBRegCoilsCB()
/hal_espressif-3.5.0/components/freemodbus/serial_master/modbus_controller/
Dmbc_serial_master.c559 USHORT usNCoils, eMBRegisterMode eMode) in eMBRegCoilsCBSerialMaster() argument
570 USHORT usCoils = usNCoils; in eMBRegCoilsCBSerialMaster()
574 && (usNCoils == usRegCoilNregs)) { in eMBRegCoilsCBSerialMaster()
/hal_espressif-3.5.0/components/freemodbus/tcp_master/modbus_controller/
Dmbc_tcp_master.c675 USHORT usNCoils, eMBRegisterMode eMode) in eMBRegCoilsCBTcpMaster() argument
684 USHORT usCoils = usNCoils; in eMBRegCoilsCBTcpMaster()
688 && (usNCoils == usRegCoilNregs)) { in eMBRegCoilsCBTcpMaster()