Searched refs:mbs_opts (Results 1 – 3 of 3) sorted by relevance
41 mb_slave_options_t* mbs_opts = &mbs_interface_ptr->opts; in modbus_tcp_slave_task() local45 BaseType_t status = xEventGroupWaitBits(mbs_opts->mbs_event_group, in modbus_tcp_slave_task()61 mb_slave_options_t* mbs_opts = &mbs_interface_ptr->opts; in mbc_tcp_slave_setup() local72 mbs_opts->mbs_comm = *comm_settings; in mbc_tcp_slave_setup()80 mb_slave_options_t* mbs_opts = &mbs_interface_ptr->opts; in mbc_tcp_slave_start() local84 status = eMBTCPInit((USHORT)mbs_opts->mbs_comm.ip_port); in mbc_tcp_slave_start()88 eMBPortProto proto = (mbs_opts->mbs_comm.ip_mode == MB_MODE_TCP) ? MB_PROTO_TCP : MB_PROTO_UDP; in mbc_tcp_slave_start()89 … eMBPortIpVer ip_ver = (mbs_opts->mbs_comm.ip_addr_type == MB_IPV4) ? MB_PORT_IPV4 : MB_PORT_IPV6; in mbc_tcp_slave_start()90 …vMBTCPPortSlaveSetNetOpt(mbs_opts->mbs_comm.ip_netif_ptr, ip_ver, proto, (char*)mbs_opts->mbs_comm… in mbc_tcp_slave_start()96 EventBits_t flag = xEventGroupSetBits(mbs_opts->mbs_event_group, in mbc_tcp_slave_start()[all …]
39 mb_slave_options_t* mbs_opts = &mbs_interface_ptr->opts; in modbus_slave_task() local41 MB_SLAVE_ASSERT(mbs_opts != NULL); in modbus_slave_task()44 BaseType_t status = xEventGroupWaitBits(mbs_opts->mbs_event_group, in modbus_slave_task()69 mb_slave_options_t* mbs_opts = &mbs_interface_ptr->opts; in mbc_serial_slave_setup() local83 mbs_opts->mbs_comm = *(mb_communication_info_t*)comm_settings; in mbc_serial_slave_setup()93 mb_slave_options_t* mbs_opts = &mbs_interface_ptr->opts; in mbc_serial_slave_start() local95 const mb_communication_info_t* comm_info = (mb_communication_info_t*)&mbs_opts->mbs_comm; in mbc_serial_slave_start()110 EventBits_t flag = xEventGroupSetBits(mbs_opts->mbs_event_group, in mbc_serial_slave_start()123 mb_slave_options_t* mbs_opts = &mbs_interface_ptr->opts; in mbc_serial_slave_check_event() local124 MB_SLAVE_ASSERT(mbs_opts->mbs_event_group != NULL); in mbc_serial_slave_check_event()[all …]
54 mb_slave_options_t* mbs_opts = &slave_interface_ptr->opts; in mbc_slave_find_reg_descriptor() local56 if (LIST_EMPTY(&mbs_opts->mbs_area_descriptors[type])) { in mbc_slave_find_reg_descriptor()61 …for (it = LIST_FIRST(&mbs_opts->mbs_area_descriptors[type]); it != NULL; it = LIST_NEXT(it, entrie… in mbc_slave_find_reg_descriptor()77 mb_slave_options_t* mbs_opts = &slave_interface_ptr->opts; in mbc_slave_free_descriptors() local80 …for (it = LIST_FIRST(&mbs_opts->mbs_area_descriptors[descr_type]); it != NULL; it = LIST_NEXT(it, … in mbc_slave_free_descriptors()90 mb_slave_options_t* mbs_opts = &slave_interface_ptr->opts; in mbc_slave_init_iface() local92 LIST_INIT(&mbs_opts->mbs_area_descriptors[MB_PARAM_INPUT]); in mbc_slave_init_iface()93 LIST_INIT(&mbs_opts->mbs_area_descriptors[MB_PARAM_HOLDING]); in mbc_slave_init_iface()94 LIST_INIT(&mbs_opts->mbs_area_descriptors[MB_PARAM_COIL]); in mbc_slave_init_iface()95 LIST_INIT(&mbs_opts->mbs_area_descriptors[MB_PARAM_DISCRETE]); in mbc_slave_init_iface()[all …]