Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 210) sorted by relevance

123456789

/hal_espressif-3.6.0/examples/peripherals/timer_group/main/
Dtimer_group_example_main.c30 example_timer_info_t info; member
50 example_timer_info_t *info = (example_timer_info_t *) args; in timer_group_isr_callback() local
52 …uint64_t timer_counter_value = timer_group_get_counter_value_in_isr(info->timer_group, info->timer… in timer_group_isr_callback()
56 .info.timer_group = info->timer_group, in timer_group_isr_callback()
57 .info.timer_idx = info->timer_idx, in timer_group_isr_callback()
58 .info.auto_reload = info->auto_reload, in timer_group_isr_callback()
59 .info.alarm_interval = info->alarm_interval, in timer_group_isr_callback()
63 if (!info->auto_reload) { in timer_group_isr_callback()
64 timer_counter_value += info->alarm_interval * TIMER_SCALE; in timer_group_isr_callback()
65 timer_group_set_alarm_value_in_isr(info->timer_group, info->timer_idx, timer_counter_value); in timer_group_isr_callback()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/esp_ble_mesh/common_components/fast_provisioning/
Dble_mesh_fast_prov_operation.c327 example_msg_common_info_t *info, in example_send_config_appkey_add() argument
334 if (!model || !info) { in example_send_config_appkey_add()
344 key = esp_ble_mesh_get_fast_prov_app_key(info->net_idx, info->app_idx); in example_send_config_appkey_add()
349 set.app_key_add.net_idx = info->net_idx; in example_send_config_appkey_add()
350 set.app_key_add.app_idx = info->app_idx; in example_send_config_appkey_add()
356 common.ctx.net_idx = info->net_idx; in example_send_config_appkey_add()
358 common.ctx.addr = info->dst; in example_send_config_appkey_add()
361 common.msg_timeout = info->timeout; in example_send_config_appkey_add()
362 common.msg_role = info->role; in example_send_config_appkey_add()
368 example_msg_common_info_t *info) in example_send_generic_onoff_get() argument
[all …]
Dble_mesh_fast_prov_operation.h40 example_msg_common_info_t *info,
44 example_msg_common_info_t *info);
47 example_msg_common_info_t *info,
51 example_msg_common_info_t *info,
55 example_msg_common_info_t *info,
59 example_msg_common_info_t *info,
63 example_msg_common_info_t *info);
Dble_mesh_fast_prov_client_model.c135 example_msg_common_info_t info = { in example_send_self_prov_node_addr() local
142 err = example_send_fast_prov_self_prov_node_addr(model, &info, node_addr_send.addr); in example_send_self_prov_node_addr()
185 example_msg_common_info_t info = { in example_get_all_node_addr() local
192 err = example_send_fast_prov_all_node_addr_get(model, &info); in example_get_all_node_addr()
230 example_msg_common_info_t info = { in example_fast_prov_client_recv_timeout() local
245 info.role = ROLE_FAST_PROV; in example_fast_prov_client_recv_timeout()
250 info.role = ROLE_PROVISIONER; in example_fast_prov_client_recv_timeout()
252 err = example_send_fast_prov_info_set(model, &info, &set); in example_fast_prov_client_recv_timeout()
264 example_msg_common_info_t info = { in example_fast_prov_client_recv_timeout() local
271 err = example_send_fast_prov_self_prov_node_addr(model, &info, node_addr_send.addr); in example_fast_prov_client_recv_timeout()
[all …]
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/
Dtest.c30 int bt_mesh_device_auto_enter_network(struct bt_mesh_device_network_info *info) in bt_mesh_device_auto_enter_network() argument
41 if (info == NULL || !BLE_MESH_ADDR_IS_UNICAST(info->unicast_addr) || in bt_mesh_device_auto_enter_network()
42 !BLE_MESH_ADDR_IS_GROUP(info->group_addr)) { in bt_mesh_device_auto_enter_network()
49 err = bt_mesh_provision(info->net_key, info->net_idx, info->flags, info->iv_index, in bt_mesh_device_auto_enter_network()
50 info->unicast_addr, info->dev_key); in bt_mesh_device_auto_enter_network()
57 sub = bt_mesh_subnet_get(info->net_idx); in bt_mesh_device_auto_enter_network()
59 BT_ERR("Invalid NetKeyIndex 0x%04x", info->net_idx); in bt_mesh_device_auto_enter_network()
70 BT_ERR("Failed to allocate AppKey, 0x%04x", info->app_idx); in bt_mesh_device_auto_enter_network()
76 if (bt_mesh_app_id(info->app_key, &keys->id)) { in bt_mesh_device_auto_enter_network()
77 BT_ERR("Failed to calculate AID, 0x%04x", info->app_idx); in bt_mesh_device_auto_enter_network()
[all …]
Dfriend.c322 struct friend_pdu_info *info, in create_friend_pdu() argument
334 net_buf_add_u8(buf, (info->iv_index & 1) << 7); /* Will be reset in encryption */ in create_friend_pdu()
336 if (info->ctl) { in create_friend_pdu()
337 net_buf_add_u8(buf, info->ttl | 0x80); in create_friend_pdu()
339 net_buf_add_u8(buf, info->ttl); in create_friend_pdu()
342 net_buf_add_mem(buf, info->seq, sizeof(info->seq)); in create_friend_pdu()
344 net_buf_add_be16(buf, info->src); in create_friend_pdu()
345 net_buf_add_be16(buf, info->dst); in create_friend_pdu()
535 struct friend_pdu_info info = {0}; in encode_friend_ctl() local
541 info.src = bt_mesh_primary_addr(); in encode_friend_ctl()
[all …]
/hal_espressif-3.6.0/components/esp_system/
Dpanic.c217 void esp_panic_handler(panic_info_t *info) in esp_panic_handler() argument
225 info->description = NULL; in esp_panic_handler()
226 info->details = s_panic_abort_details ? print_abort_details : NULL; in esp_panic_handler()
227 info->reason = NULL; in esp_panic_handler()
228 info->exception = PANIC_EXCEPTION_ABORT; in esp_panic_handler()
254 if (info->reason) { in esp_panic_handler()
256 panic_print_dec(info->core); in esp_panic_handler()
258 panic_print_str(info->reason); in esp_panic_handler()
262 if (info->description) { in esp_panic_handler()
263 panic_print_str(info->description); in esp_panic_handler()
[all …]
/hal_espressif-3.6.0/components/esp_system/port/arch/riscv/
Dpanic_arch.c250 void panic_soc_fill_info(void *f, panic_info_t *info) in panic_soc_fill_info() argument
267 info->reason = pseudo_reason[0]; in panic_soc_fill_info()
268 info->addr = (void *) frame->mepc; in panic_soc_fill_info()
279 info->core = esp_cache_err_get_cpuid(); in panic_soc_fill_info()
280 info->reason = pseudo_reason[PANIC_RSN_CACHEERR]; in panic_soc_fill_info()
281 info->details = print_cache_err_details; in panic_soc_fill_info()
288 info->core = core; in panic_soc_fill_info()
289 info->exception = PANIC_EXCEPTION_IWDT; in panic_soc_fill_info()
295 info->reason = pseudo_reason[PANIC_RSN_INTWDT_CPU0 + core]; in panic_soc_fill_info()
299 info->reason = pseudo_reason[PANIC_RSN_MEMPROT]; in panic_soc_fill_info()
[all …]
/hal_espressif-3.6.0/components/esp_system/port/
Dpanic_handler.c104 static void frame_to_panic_info(void *frame, panic_info_t *info, bool pseudo_excause) argument
106 info->core = cpu_hal_get_core_id();
107 info->exception = PANIC_EXCEPTION_FAULT;
108 info->details = NULL;
109 info->reason = "Unknown";
110 info->pseudo_excause = pseudo_excause;
113 panic_soc_fill_info(frame, info);
115 panic_arch_fill_info(frame, info);
118 info->state = print_state;
119 info->frame = frame;
[all …]
/hal_espressif-3.6.0/examples/peripherals/usb/host/msc/main/
Dmsc_example_main.c41 static void print_device_info(msc_host_device_info_t *info) in print_device_info() argument
44 uint64_t capacity = ((uint64_t)info->sector_size * info->sector_count) / megabyte; in print_device_info()
48 printf("\t Sector size: %u\n", info->sector_size); in print_device_info()
49 printf("\t Sector count: %u\n", info->sector_count); in print_device_info()
50 printf("\t PID: 0x%4X \n", info->idProduct); in print_device_info()
51 printf("\t VID: 0x%4X \n", info->idVendor); in print_device_info()
52 wprintf(L"\t iProduct: %S \n", info->iProduct); in print_device_info()
53 wprintf(L"\t iManufacturer: %S \n", info->iManufacturer); in print_device_info()
54 wprintf(L"\t iSerialNumber: %S \n", info->iSerialNumber); in print_device_info()
159 msc_host_device_info_t info; in app_main() local
[all …]
/hal_espressif-3.6.0/components/spi_flash/
Dpartition.c41 esp_partition_t info; member
51 …esp_partition_t* info; // pointer to info (it is redundant, but makes code more rea… member
114 esp_partition_t* p = &it->next_item->info; in esp_partition_next()
132 it->info = &it->next_item->info; in esp_partition_next()
158 it->info = NULL; in iterator_create()
219 item->info.flash_chip = esp_flash_default_chip; in load_partitions()
220 item->info.address = entry.pos.offset; in load_partitions()
221 item->info.size = entry.pos.size; in load_partitions()
222 item->info.type = entry.type; in load_partitions()
223 item->info.subtype = entry.subtype; in load_partitions()
[all …]
/hal_espressif-3.6.0/components/esp_system/port/arch/xtensa/
Dpanic_arch.c364 void panic_arch_fill_info(void *f, panic_info_t *info) in panic_arch_fill_info() argument
381 info->reason = (reason[frame->exccause]); in panic_arch_fill_info()
383 info->reason = "Unknown"; in panic_arch_fill_info()
386 info->description = "Exception was unhandled."; in panic_arch_fill_info()
389 info->details = print_illegal_instruction_details; in panic_arch_fill_info()
392 info->addr = ((void *) ((XtExcFrame *) frame)->pc); in panic_arch_fill_info()
395 void panic_soc_fill_info(void *f, panic_info_t *info) in panic_soc_fill_info() argument
401 info->core = 0; in panic_soc_fill_info()
402 info->exception = PANIC_EXCEPTION_IWDT; in panic_soc_fill_info()
404 info->core = 1; in panic_soc_fill_info()
[all …]
/hal_espressif-3.6.0/components/heap/
Dheap_caps.c486 multi_heap_info_t info; in heap_caps_get_largest_free_block() local
487 heap_caps_get_info(&info, caps); in heap_caps_get_largest_free_block()
488 return info.largest_free_block; in heap_caps_get_largest_free_block()
491 void heap_caps_get_info( multi_heap_info_t *info, uint32_t caps ) in heap_caps_get_info() argument
493 bzero(info, sizeof(multi_heap_info_t)); in heap_caps_get_info()
501 info->total_free_bytes += hinfo.total_free_bytes; in heap_caps_get_info()
502 info->total_allocated_bytes += hinfo.total_allocated_bytes; in heap_caps_get_info()
503 info->largest_free_block = MAX(info->largest_free_block, in heap_caps_get_info()
505 info->minimum_free_bytes += hinfo.minimum_free_bytes; in heap_caps_get_info()
506 info->allocated_blocks += hinfo.allocated_blocks; in heap_caps_get_info()
[all …]
Dmulti_heap.c56 void multi_heap_get_info(multi_heap_handle_t heap, multi_heap_info_t *info)
346 multi_heap_info_t *info = user; in multi_heap_get_info_tlsf() local
349 info->allocated_blocks++; in multi_heap_get_info_tlsf()
351 info->free_blocks++; in multi_heap_get_info_tlsf()
353 if(size > info->largest_free_block ) { in multi_heap_get_info_tlsf()
354 info->largest_free_block = size; in multi_heap_get_info_tlsf()
358 info->total_blocks++; in multi_heap_get_info_tlsf()
361 void multi_heap_get_info_impl(multi_heap_handle_t heap, multi_heap_info_t *info) in multi_heap_get_info_impl() argument
365 memset(info, 0, sizeof(multi_heap_info_t)); in multi_heap_get_info_impl()
372 tlsf_walk_pool(tlsf_get_pool(heap->heap_data), multi_heap_get_info_tlsf, info); in multi_heap_get_info_impl()
[all …]
/hal_espressif-3.6.0/components/bt/common/btc/profile/esp/blufi/
Dblufi_prf.c260 …pmode, uint8_t sta_conn_state, uint8_t softap_conn_num, esp_blufi_extra_info_t *info, int info_len) in btc_blufi_wifi_conn_report() argument
278 if (info) { in btc_blufi_wifi_conn_report()
279 if (info->sta_bssid_set) { in btc_blufi_wifi_conn_report()
282 memcpy(p, info->sta_bssid, 6); in btc_blufi_wifi_conn_report()
285 if (info->sta_ssid) { in btc_blufi_wifi_conn_report()
287 *p++ = info->sta_ssid_len; in btc_blufi_wifi_conn_report()
288 memcpy(p, info->sta_ssid, info->sta_ssid_len); in btc_blufi_wifi_conn_report()
289 p += info->sta_ssid_len; in btc_blufi_wifi_conn_report()
291 if (info->sta_passwd) { in btc_blufi_wifi_conn_report()
293 *p++ = info->sta_passwd_len; in btc_blufi_wifi_conn_report()
[all …]
/hal_espressif-3.6.0/examples/bluetooth/blufi/main/
Dblufi_example_main.c64 esp_blufi_extra_info_t info; in ip_event_handler() local
69 memset(&info, 0, sizeof(esp_blufi_extra_info_t)); in ip_event_handler()
70 memcpy(info.sta_bssid, gl_sta_bssid, 6); in ip_event_handler()
71 info.sta_bssid_set = true; in ip_event_handler()
72 info.sta_ssid = gl_sta_ssid; in ip_event_handler()
73 info.sta_ssid_len = gl_sta_ssid_len; in ip_event_handler()
75 esp_blufi_send_wifi_conn_report(mode, ESP_BLUFI_STA_CONN_SUCCESS, 0, &info); in ip_event_handler()
243 esp_blufi_extra_info_t info; in example_event_callback() local
248 memset(&info, 0, sizeof(esp_blufi_extra_info_t)); in example_event_callback()
249 memcpy(info.sta_bssid, gl_sta_bssid, 6); in example_event_callback()
[all …]
/hal_espressif-3.6.0/components/esp_system/include/esp_private/
Dpanic_internal.h63 #define PANIC_INFO_DUMP(info, dump_fn) {if ((info)->dump_fn) (*(info)->dump_fn)((info->frame))… argument
81 void panic_arch_fill_info(void *frame, panic_info_t *info);
83 void panic_soc_fill_info(void *frame, panic_info_t *info);
/hal_espressif-3.6.0/tools/test_apps/system/memprot/main/esp32s2/
Dtest_panic.c18 extern void esp_panic_handler(panic_info_t *info);
21 void __real_esp_panic_handler(panic_info_t *info);
34 void __wrap_esp_panic_handler(panic_info_t *info) in __wrap_esp_panic_handler() argument
36 XtExcFrame *frm = (XtExcFrame *)info->frame; in __wrap_esp_panic_handler()
41 __real_esp_panic_handler(info); in __wrap_esp_panic_handler()
/hal_espressif-3.6.0/components/wpa_supplicant/src/common/
Dwnm_sta.c202 struct wpa_bss_candidate_info *info = NULL; in get_mbo_transition_candidate() local
228 info = wpa_drv_get_bss_trans_status(wpa_s, &params); in get_mbo_transition_candidate()
230 if (!info) { in get_mbo_transition_candidate()
239 for (i = 0; i < info->num; i++) { in get_mbo_transition_candidate()
240 if (info->candidates[i].is_accept) { in get_mbo_transition_candidate()
242 info->candidates[i].bssid); in get_mbo_transition_candidate()
252 for (i = 0; i < info->num; i++) { in get_mbo_transition_candidate()
254 info->candidates[i].bssid); in get_mbo_transition_candidate()
272 for (i = 0; i < info->num; i++) { in get_mbo_transition_candidate()
275 info->candidates[i].bssid, ETH_ALEN) == 0) in get_mbo_transition_candidate()
[all …]
/hal_espressif-3.6.0/tools/test_apps/system/memprot/main/esp32c3/
Dtest_panic.c20 extern void esp_panic_handler(panic_info_t *info);
23 void __real_esp_panic_handler(panic_info_t *info);
38 void __wrap_esp_panic_handler(panic_info_t *info) in __wrap_esp_panic_handler() argument
40 RvExcFrame *frm = (RvExcFrame *)info->frame; in __wrap_esp_panic_handler()
50 __real_esp_panic_handler(info); in __wrap_esp_panic_handler()
/hal_espressif-3.6.0/examples/peripherals/mcpwm/mcpwm_brushed_dc_control/components/motor_ctrl_timer/
Dmotor_ctrl_timer.c33 motor_ctrl_timer_info_t *info = (motor_ctrl_timer_info_t *) args; in motor_ctrl_timer_isr_callback() local
34info->pulse_info.pulse_cnt = info->pulse_info.get_pulse_callback(info->pulse_info.callback_args); in motor_ctrl_timer_isr_callback()
37 xQueueSendFromISR(info->timer_evt_que, info, &high_task_awoken); in motor_ctrl_timer_isr_callback()
/hal_espressif-3.6.0/examples/bluetooth/nimble/throughput_app/blecent_throughput/components/cmd_system/
Dcmd_system.c55 esp_chip_info_t info; in get_version() local
56 esp_chip_info(&info); in get_version()
59 printf("\tmodel:%s\r\n", info.model == CHIP_ESP32 ? "ESP32" : "Unknow"); in get_version()
60 printf("\tcores:%d\r\n", info.cores); in get_version()
62 info.features & CHIP_FEATURE_WIFI_BGN ? "/802.11bgn" : "", in get_version()
63 info.features & CHIP_FEATURE_BLE ? "/BLE" : "", in get_version()
64 info.features & CHIP_FEATURE_BT ? "/BT" : "", in get_version()
65 info.features & CHIP_FEATURE_EMB_FLASH ? "/Embedded-Flash:" : "/External-Flash:", in get_version()
67 printf("\trevision number:%d\r\n", info.revision); in get_version()
/hal_espressif-3.6.0/examples/system/console/advanced/components/cmd_system/
Dcmd_system.c69 esp_chip_info_t info; in get_version() local
70 esp_chip_info(&info); in get_version()
73 printf("\tmodel:%s\r\n", info.model == CHIP_ESP32 ? "ESP32" : "Unknown"); in get_version()
74 printf("\tcores:%d\r\n", info.cores); in get_version()
76 info.features & CHIP_FEATURE_WIFI_BGN ? "/802.11bgn" : "", in get_version()
77 info.features & CHIP_FEATURE_BLE ? "/BLE" : "", in get_version()
78 info.features & CHIP_FEATURE_BT ? "/BT" : "", in get_version()
79 info.features & CHIP_FEATURE_EMB_FLASH ? "/Embedded-Flash:" : "/External-Flash:", in get_version()
81 printf("\trevision number:%d\r\n", info.revision); in get_version()
/hal_espressif-3.6.0/examples/protocols/modbus/serial/
Dexample_test.py161 logger.info('%s {%s} = %s.\n' % (str(dut), mode_str, opt))
164 … logger.info('ENV_TEST_FAILURE: %s: Cannot find option %s in sdkconfig.' % (str(dut), mode_str))
183 logger.info('ENV_TEST_INFO: Modbus ASCII test mode selected in the configuration. \n')
187 logger.info('ENV_TEST_INFO: Modbus RTU test mode selected in the configuration. \n')
241 logger.info('The data for master thread is captured.')
246 logger.info('The data for slave thread is captured.')
254 logger.info('OK pattern test for %s, match_count=%d.' % (dut_master_thread.tname, match_count))
261 … logger.info('ERROR pattern test for %s, match_count=%d.' % (dut_master_thread.tname, match_count))
267 logger.info('OK pattern test for %s, match_count=%d.' % (dut_slave_thread.tname, match_count))
285 logger.info('Start script %s.' % os.path.basename(__file__))
/hal_espressif-3.6.0/components/heap/test_multi_heap_host/
DMakefile40 coverage.info: $(COVERAGE_FILES)
42 …lcov --capture --directory $(abspath ../) --no-external --output-file coverage.info --gcov-tool $(…
44 coverage_report: coverage.info
45 genhtml coverage.info --output-directory coverage_report
52 rm -f coverage.info

123456789