Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/freemodbus/tcp_master/modbus_controller/
Dmbc_tcp_master.c52 mb_master_options_t* mbm_opts = &mbm_interface_ptr->opts; in mbc_tcp_master_find_slave_addr() local
54 if (LIST_EMPTY(&mbm_opts->mbm_slave_list)) { in mbc_tcp_master_find_slave_addr()
57 LIST_FOREACH(it, &mbm_opts->mbm_slave_list, entries) { in mbc_tcp_master_find_slave_addr()
69 mb_master_options_t* mbm_opts = &mbm_interface_ptr->opts; in mbc_tcp_master_add_slave() local
78 LIST_INSERT_HEAD(&mbm_opts->mbm_slave_list, new_slave_entry, entries); in mbc_tcp_master_add_slave()
79 MB_MASTER_CHECK((mbm_opts->mbm_slave_list_count < (MB_TCP_PORT_MAX_CONN - 1)), in mbc_tcp_master_add_slave()
81 mbm_opts->mbm_slave_list_count++; in mbc_tcp_master_add_slave()
91 mb_master_options_t* mbm_opts = &mbm_interface_ptr->opts; in mbc_tcp_master_free_slave_list() local
93 LIST_FOREACH(it, &mbm_opts->mbm_slave_list, entries) { in mbc_tcp_master_free_slave_list()
95 mbm_opts->mbm_slave_list_count--; in mbc_tcp_master_free_slave_list()
[all …]
/hal_espressif-3.6.0/components/freemodbus/serial_master/modbus_controller/
Dmbc_serial_master.c50 mb_master_options_t* mbm_opts = &mbm_interface_ptr->opts; in modbus_master_task() local
54 BaseType_t status = xEventGroupWaitBits(mbm_opts->mbm_event_group, in modbus_master_task()
78 mb_master_options_t* mbm_opts = &mbm_interface_ptr->opts; in mbc_serial_master_setup() local
90 mbm_opts->mbm_comm = *(mb_communication_info_t*)comm_info_ptr; in mbc_serial_master_setup()
101 mb_master_options_t* mbm_opts = &mbm_interface_ptr->opts; in mbc_serial_master_start() local
102 const mb_communication_info_t* comm_info = (mb_communication_info_t*)&mbm_opts->mbm_comm; in mbc_serial_master_start()
115 EventBits_t flag = xEventGroupSetBits(mbm_opts->mbm_event_group, in mbc_serial_master_start()
128 mb_master_options_t* mbm_opts = &mbm_interface_ptr->opts; in mbc_serial_master_destroy() local
131 EventBits_t flag = xEventGroupClearBits(mbm_opts->mbm_event_group, in mbc_serial_master_destroy()
138 (void)vTaskDelete(mbm_opts->mbm_task_handle); in mbc_serial_master_destroy()
[all …]