Home
last modified time | relevance | path

Searched refs:task (Results 1 – 25 of 37) sorted by relevance

12

/hal_espressif-latest/components/driver/gpio/
Dgpio_etm.c80 static esp_err_t gpio_etm_task_register_to_group(gpio_etm_task_t *task) in gpio_etm_task_register_to_group() argument
89 group->tasks[j] = task; in gpio_etm_task_register_to_group()
96 task->group = group; in gpio_etm_task_register_to_group()
97 task->chan_id = chan_id; in gpio_etm_task_register_to_group()
110 static void gpio_etm_task_unregister_from_group(gpio_etm_task_t *task) in gpio_etm_task_unregister_from_group() argument
112 gpio_etm_group_t *group = task->group; in gpio_etm_task_unregister_from_group()
113 int chan_id = task->chan_id; in gpio_etm_task_unregister_from_group()
128 static esp_err_t gpio_etm_task_destroy(gpio_etm_task_t *task) in gpio_etm_task_destroy() argument
130 if (task->group) { in gpio_etm_task_destroy()
131 gpio_etm_task_unregister_from_group(task); in gpio_etm_task_destroy()
[all …]
/hal_espressif-latest/components/esp_hw_support/dma/
Dgdma_etm.c37 static esp_err_t gdma_del_etm_task(esp_etm_task_t *task) in gdma_del_etm_task() argument
39 gdma_etm_task_t *gdma_task = __containerof(task, gdma_etm_task_t, base); in gdma_del_etm_task()
89 gdma_etm_task_t *task = NULL; in gdma_new_etm_task() local
93 task = heap_caps_calloc(1, sizeof(gdma_etm_task_t), ETM_MEM_ALLOC_CAPS); in gdma_new_etm_task()
94 ESP_GOTO_ON_FALSE(task, ESP_ERR_NO_MEM, err, TAG, "no memory for ETM task"); in gdma_new_etm_task()
112 task->chan = dma_chan; in gdma_new_etm_task()
113 task->base.task_id = task_id; in gdma_new_etm_task()
114 task->base.trig_periph = ETM_TRIG_PERIPH_GDMA; in gdma_new_etm_task()
115 task->base.del = gdma_del_etm_task; in gdma_new_etm_task()
116 *out_task = &(task->base); in gdma_new_etm_task()
[all …]
/hal_espressif-latest/components/esp_event/host_test/
Dfixtures.hpp126 MockTask (CreateAnd flags) : task((TaskHandle_t) 1) in MockTask()
132 xTaskCreatePinnedToCore_ReturnThruPtr_pvCreatedTask(&task); in MockTask()
136 xTaskCreatePinnedToCore_ReturnThruPtr_pvCreatedTask(&task); in MockTask()
137 vTaskDelete_Expect(task); in MockTask()
147 TaskHandle_t task; member
/hal_espressif-latest/components/esp_hw_support/
Desp_etm.c60 esp_etm_task_handle_t task; // which task is connect to the channel member
242 …el_connect(esp_etm_channel_handle_t chan, esp_etm_event_handle_t event, esp_etm_task_handle_t task) in esp_etm_channel_connect() argument
253 if (task) { in esp_etm_channel_connect()
254 task_id = task->task_id; in esp_etm_channel_connect()
259 chan->task = task; in esp_etm_channel_connect()
271 esp_err_t esp_etm_del_task(esp_etm_task_handle_t task) in esp_etm_del_task() argument
273 ESP_RETURN_ON_FALSE(task, ESP_ERR_INVALID_ARG, TAG, "invalid argument"); in esp_etm_del_task()
274 return task->del(task); in esp_etm_del_task()
301 etm_chan->task ? etm_chan->task->task_id : 0); in esp_etm_dump()
DREADME.md18 …ripheral driver, and can be located in different components. Usually, the task and event extension…
29 -esp_etm_task_t task
32 +connect(event, task) esp_err_t
/hal_espressif-latest/components/esp_timer/
DKconfig22 int "High-resolution timer task stack size"
26 Configure the stack size of "timer_task" task. This task is used
28 APIs. If you are seing stack overflow errors in timer task, increase
31 Note that this is not the same as FreeRTOS timer task. To configure
32 FreeRTOS timer task size, see "FreeRTOS timer task stack size" option
57 prompt "esp_timer task core affinity"
63 - "CPU0": (default) esp_timer task is processed by CPU0.
64 - "CPU1": esp_timer task is processed by CPU1.
65 - "No affinity": esp_timer task can be processed by any CPU.
112 - ESP_TIMER_TASK - Timer callbacks are dispatched from a high-priority esp_timer task.
/hal_espressif-latest/components/esp_event/host_test/esp_event_unit_test/main/
Desp_event_test.cpp57 MockTask task(CreateAnd::IGNORE);
68 MockTask task(CreateAnd::IGNORE);
80 MockTask task(CreateAnd::IGNORE);
92 MockTask task(CreateAnd::FAIL);
126 MockTask task(CreateAnd::SUCCEED);
/hal_espressif-latest/components/heap/
Dmulti_heap_platform.h69 #define MULTI_HEAP_BLOCK_OWNER TaskHandle_t task;
70 #define MULTI_HEAP_SET_BLOCK_OWNER(HEAD) (HEAD)->task = xTaskGetCurrentTaskHandle()
71 #define MULTI_HEAP_GET_BLOCK_OWNER(HEAD) ((HEAD)->task)
Dheap_task_info.c77 if (params->totals[i].task == btask) { in heap_caps_get_per_task_info()
87 params->totals[count].task = btask; in heap_caps_get_per_task_info()
108 blocks->task = btask; in heap_caps_get_per_task_info()
DKconfig65 bool "Enable heap task tracking"
68 Enables tracking the task responsible for each heap allocation.
/hal_espressif-latest/components/driver/gpio/include/driver/
Dgpio_etm.h112 esp_err_t gpio_etm_task_add_gpio(esp_etm_task_handle_t task, int gpio_num);
128 esp_err_t gpio_etm_task_rm_gpio(esp_etm_task_handle_t task, int gpio_num);
/hal_espressif-latest/components/heap/include/
Desp_heap_task_info.h22 TaskHandle_t task; ///< Task to which these totals belong member
29 TaskHandle_t task; ///< Task that allocated the block member
/hal_espressif-latest/components/esp_hw_support/include/
Desp_etm.h106 …l_connect(esp_etm_channel_handle_t chan, esp_etm_event_handle_t event, esp_etm_task_handle_t task);
132 esp_err_t esp_etm_del_task(esp_etm_task_handle_t task);
/hal_espressif-latest/components/hal/esp32h2/include/hal/
Detm_ll.h96 static inline void etm_ll_channel_set_task(soc_etm_dev_t *hw, uint32_t chan, uint32_t task) in etm_ll_channel_set_task() argument
98 hw->channel[chan].task_id.task_id = task; in etm_ll_channel_set_task()
Dgdma_ll.h69 #define GDMA_LL_TX_ETM_TASK_TABLE(group, chan, task) \ argument
78 }}}[group][chan][task]
80 #define GDMA_LL_RX_ETM_TASK_TABLE(group, chan, task) \ argument
89 }}}[group][chan][task]
Dtimer_ll.h27 #define TIMER_LL_ETM_TASK_TABLE(group, timer, task) \ argument
42 }[group][timer][task]
/hal_espressif-latest/components/hal/esp32c6/include/hal/
Detm_ll.h97 static inline void etm_ll_channel_set_task(soc_etm_dev_t *hw, uint32_t chan, uint32_t task) in etm_ll_channel_set_task() argument
99 hw->channel[chan].task_id.task_id = task; in etm_ll_channel_set_task()
Dgdma_ll.h69 #define GDMA_LL_TX_ETM_TASK_TABLE(group, chan, task) \ argument
78 }}}[group][chan][task]
80 #define GDMA_LL_RX_ETM_TASK_TABLE(group, chan, task) \ argument
89 }}}[group][chan][task]
Dtimer_ll.h27 #define TIMER_LL_ETM_TASK_TABLE(group, timer, task) \ argument
42 }[group][timer][task]
/hal_espressif-latest/components/esp_hw_support/include/esp_private/
Detm_interface.h66 esp_err_t (*del)(esp_etm_task_t *task);
/hal_espressif-latest/components/esp_system/
DKconfig171 int "Event loop task stack size"
174 Config system event task stack size in different application.
177 int "Main task stack size"
180 Configure the "main task" stack size. This is the stack of the task
181 which calls app_main(). If app_main() returns then this task is deleted
185 prompt "Main task core affinity"
188 Configure the "main task" core affinity. This is the used core of the task
189 which calls app_main(). If app_main() returns then this task is deleted.
391 …either because a task turned off interrupts and did not turn them on for a long time, or because an
578 int "Inter-Processor Call (IPC) task stack size"
[all …]
/hal_espressif-latest/components/esp_event/private_include/
Desp_event_internal.h80 …TaskHandle_t task; /**< task that consumes the event … member
/hal_espressif-latest/components/esp_event/
Desp_event.c498 event_loop_args->task_priority, &(loop->task), event_loop_args->task_core_id); in esp_event_loop_create()
511 loop->task = NULL; in esp_event_loop_create()
663 if (loop->task != NULL) { in esp_event_loop_delete()
664 vTaskDelete(loop->task); in esp_event_loop_delete()
865 if (loop->task == NULL) { in esp_event_post_to()
880 if (loop->task != xTaskGetCurrentTaskHandle()) { in esp_event_post_to()
979 …PRINT_DUMP_INFO(dst, sz, LOOP_DUMP_FORMAT, loop_it, loop_it->task != NULL ? loop_it->name : "none"… in esp_event_dump()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dadv.c115 StaticTask_t *task; member
643 adv_task.task = heap_caps_calloc(1, sizeof(StaticTask_t), MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in bt_mesh_adv_init()
644 __ASSERT(adv_task.task, "Failed to create adv thread task"); in bt_mesh_adv_init()
648 … BLE_MESH_ADV_TASK_PRIO, adv_task.stack, adv_task.task, BLE_MESH_ADV_TASK_CORE); in bt_mesh_adv_init()
672 heap_caps_free(adv_task.task); in bt_mesh_adv_deinit()
673 adv_task.task = NULL; in bt_mesh_adv_deinit()
/hal_espressif-latest/components/esp_rom/include/esp32/rom/
Dets_sys.h103 void ets_task(ETSTask task, uint8_t prio, ETSEvent *queue, uint8_t qlen);

12