Home
last modified time | relevance | path

Searched full:task (Results 1 – 25 of 206) sorted by relevance

123456789

/Zephyr-latest/subsys/task_wdt/
DKconfig7 bool "Task-level software watchdog"
10 Enable task watchdog
12 The task watchdog allows to have individual watchdog channels
17 int "Maximum number of task watchdog channels"
29 application that is used as an additional safety layer if the task
33 int "Minimum timeout for task watchdog (ms)"
38 The task watchdog uses a continuously restarted k_timer as its
40 among all task watchdogs used in the application.
42 If a hardware watchdog is configured as a fallback for the task
62 bool "Task watchdog shell utilities"
[all …]
Dtask_wdt_shell.c23 shell_fprintf(sh, SHELL_INFO, "Init task watchdog ...\n"); in cmd_init()
28 shell_fprintf(sh, SHELL_ERROR, "Failed to init task watchdog: %d\n", ret); in cmd_init()
42 shell_fprintf(sh, SHELL_INFO, "Add task watchdog channel\n"); in cmd_add()
49 shell_fprintf(sh, SHELL_ERROR, "Failed to add task watchdog channel: %d\n", ret); in cmd_add()
53 shell_fprintf(sh, SHELL_INFO, "Task watchdog channel: %d\n", ret); in cmd_add()
70 shell_fprintf(sh, SHELL_INFO, "Feed task watchdog channel %s\n", argv[1]); in cmd_feed()
75 shell_fprintf(sh, SHELL_ERROR, "Failed to add task watchdog channel: %d\n", ret); in cmd_feed()
89 shell_fprintf(sh, SHELL_INFO, "Delete task watchdog channel %s\n", argv[1]); in cmd_del()
94 shell_fprintf(sh, SHELL_ERROR, "Failed to delete task watchdog channel: %d\n", ret); in cmd_del()
103 SHELL_CMD(init, NULL, "Initialize task watchdog", cmd_init),
[all …]
Dtask_wdt.c20 * task watchdog timeouts are too long for regular updates
25 * Task watchdog channel data
40 /* array of all task watchdog channels */
77 /* update task wdt kernel timer */ in schedule_next_timeout()
89 * @brief Task watchdog timer callback.
95 * If all task watchdogs have longer timeouts than the hardware watchdog,
98 * task watchdog timeout used in the application.
166 * triggering other task watchdog channel (executed in ISR context). in task_wdt_add()
229 * and block a high priority thread that wants to feed its task wdt. in task_wdt_feed()
/Zephyr-latest/samples/subsys/task_wdt/
DREADME.rst1 .. zephyr:code-sample:: task-wdt
2 :name: Task watchdog
5 Monitor a thread using a task watchdog.
10 This sample allows to test the :ref:`task watchdog <task_wdt_api>` subsystem.
15 It should be possible to build and run the task watchdog sample on almost any
17 fallback. Otherwise the task watchdog will run independently.
40 Task watchdog sample application.
48 Task watchdog channel 1 callback, thread: control
Dsample.yaml2 name: Task Watchdog Subsytem Sample
11 - "Task watchdog sample application."
15 - "Task watchdog channel 1 callback, thread: control"
17 - "Task watchdog sample application."
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_nrf5_ppi_resources.h49 * EVENT_TIMER TASKS_START task.
54 * EVENT_TIMER TASKS_CAPTURE[<radio ready timer>] task.
58 /* Trigger encryption task upon address reception:
59 * wire the RADIO EVENTS_ADDRESS event to the CCM TASKS_CRYPT task.
68 * wire the RADIO EVENTS_BCMATCH event to the AAR TASKS_START task.
98 * wire the RADIO EVENTS_END event to SW_SWITCH_TIMER TASKS_CLEAR task.
108 * EVENT_TIMER TASKS_CLEAR task.
118 * to a PPI GROUP TASK DISABLE task (PPI group with index <index>).
128 /* Wire the RADIO EVENTS_END event to one of the PPI GROUP TASK ENABLE task.
139 * to RADIO TASKS_TXEN/RXEN task.
[all …]
Dradio_nrf5_dppi_gpiote.h18 nrf_gpiote_task_t task; in hal_palna_ppi_setup() local
20 task = nrf_gpiote_out_task_get(gpiote_ch_palna); in hal_palna_ppi_setup()
21 nrf_gpiote_subscribe_set(gpiote_palna.p_reg, task, HAL_DISABLE_PALNA_PPI); in hal_palna_ppi_setup()
34 nrf_gpiote_task_t task; in hal_gpiote_tasks_setup() local
36 task = inv ? nrf_gpiote_clr_task_get(gpiote_ch) : in hal_gpiote_tasks_setup()
38 nrf_gpiote_subscribe_set(gpiote, task, ppi_ch_enable); in hal_gpiote_tasks_setup()
40 task = inv ? nrf_gpiote_set_task_get(gpiote_ch) : in hal_gpiote_tasks_setup()
42 nrf_gpiote_subscribe_set(gpiote, task, ppi_ch_disable); in hal_gpiote_tasks_setup()
Dradio_nrf5_dppi_resources.h9 * wire the EVENT_TIMER EVENTS_COMPARE[0] event to RADIO TASKS_TXEN/RXEN task.
17 * EVENT_TIMER TASKS_CAPTURE[<address timer>] task.
24 * to the RADIO TASKS_DISABLE task.
31 * EVENT_TIMER TASKS_CAPTURE[<radio end timer>] task.
37 * wire the RTC0 EVENTS_COMPARE[2] event to EVENT_TIMER TASKS_START task.
48 * EVENT_TIMER TASKS_CAPTURE[<radio ready timer>] task.
53 * Trigger encryption task upon address reception:
54 * wire the RADIO EVENTS_ADDRESS event to the CCM TASKS_CRYPT task.
63 * wire the RADIO EVENTS_BCMATCH event to the AAR TASKS_START task.
95 * wire the RADIO EVENTS_END event to SW_SWITCH_TIMER TASKS_CLEAR task.
[all …]
Dradio_nrf5_dppi.h24 * wire the EVENT_TIMER EVENTS_COMPARE[0] event to RADIO TASKS_TXEN/RXEN task.
62 * EVENT_TIMER TASKS_CAPTURE[<address timer>] task.
75 * to the RADIO TASKS_DISABLE task.
88 * EVENT_TIMER TASKS_CAPTURE[<radio end timer>] task.
99 * wire the RTC0 EVENTS_COMPARE[2] event to EVENT_TIMER TASKS_START task.
130 * EVENT_TIMER TASKS_CAPTURE[<radio ready timer>] task.
142 * Trigger encryption task upon address reception:
143 * wire the RADIO EVENTS_ADDRESS event to the CCM TASKS_CRYPT task.
156 * Disable trigger encryption task
165 * wire the RADIO EVENTS_BCMATCH event to the AAR TASKS_START task.
[all …]
Dradio_nrf5_ppi.h17 * to RADIO TASKS_TXEN/RXEN task.
38 * wire the EVENT_TIMER EVENTS_COMPARE[0] event to RADIO TASKS_TXEN/RXEN task.
105 * EVENT_TIMER TASKS_CAPTURE[<address timer>] task.
133 * to the RADIO TASKS_DISABLE task.
161 * EVENT_TIMER TASKS_CAPTURE[<radio end timer>] task.
188 * wire the RTC0 EVENTS_COMPARE[2] event to EVENT_TIMER TASKS_START task.
202 * EVENT_TIMER TASKS_CAPTURE[<radio ready timer>] task.
214 * Trigger encryption task upon address reception:
215 * wire the RADIO EVENTS_ADDRESS event to the CCM TASKS_CRYPT task.
227 * Disable trigger encryption task
[all …]
/Zephyr-latest/include/zephyr/task_wdt/
Dtask_wdt.h9 * @brief Task watchdog header file
11 * This header file declares prototypes for the task watchdog APIs.
13 * The task watchdog can be used to monitor correct operation of individual
25 * @brief Task Watchdog APIs
26 * @defgroup task_wdt_api Task Watchdog APIs
37 /** Task watchdog callback. */
41 * @brief Initialize task watchdog.
61 * Adds a new timeout to the list of task watchdog channels.
79 * @brief Delete task watchdog channel.
81 * Deletes the specified channel from the list of task watchdog channels. The
[all …]
/Zephyr-latest/drivers/ipm/
DKconfig.ivshmem7 int "Stack size in bytes of IVSHMEM IPM Event loop task"
10 Adjust the stack size, in bytes of the ivshmem event loop task.
13 int "Priority of IVSHMEM IPM Event loop task"
16 Adjust the priority of the ivshmem event loop task.
/Zephyr-latest/drivers/mbox/
DKconfig.ivshmem16 int "Stack size in bytes of IVSHMEM MBOX Event loop task"
19 Adjust the stack size, in bytes of the ivshmem event loop task.
22 int "Priority of IVSHMEM MBOX Event loop task"
25 Adjust the priority of the ivshmem event loop task.
DKconfig.nrf_vevif_task5 bool "nRF VEVIF task RX driver"
12 bool "nRF VEVIF task TX driver"
/Zephyr-latest/doc/services/task_wdt/
Dindex.rst3 Task Watchdog
18 only one task. This software watchdog based on kernel timers provides a method
21 An existing hardware watchdog can be used as an optional fallback if the task
24 The task watchdog uses a kernel timer as its backend. If configured properly,
28 It's currently not possible to have multiple instances of task watchdogs.
29 Instead, the task watchdog API can be accessed globally to add or delete new
/Zephyr-latest/dts/bindings/mbox/
Dnordic,nrf-vevif-task-tx.yaml5 Nordic VEVIF (VPR Event Interface) - TASK TX MODE
12 When used in task tx mode, the VEVIF tasks are used to trigger IRQs on VPR core.
19 compatible = "nordic,nrf-vevif-task-tx";
27 compatible: "nordic,nrf-vevif-task-tx"
Dnordic,nrf-vevif-task-rx.yaml5 Nordic VEVIF (VPR Event Interface) - TASK RX MODE
12 When used in task rx mode, the VEVIF tasks are used to receive events triggered by other core.
19 compatible = "nordic,nrf-vevif-task-rx";
30 compatible: "nordic,nrf-vevif-task-rx"
/Zephyr-latest/samples/subsys/task_wdt/src/
Dmain.c21 * from there. Otherwise, the task watchdog will be used without a
46 printk("Task watchdog channel %d callback, thread: %s\n", in task_wdt_callback()
66 printk("Task watchdog sample application.\n"); in main()
74 printk("task wdt init failure: %d\n", ret); in main()
101 * Add a new task watchdog channel with custom callback function and in control_thread()
/Zephyr-latest/tests/benchmarks/app_kernel/src/
Dsema_r.c15 * @brief Receive task (Wait task)
/Zephyr-latest/include/zephyr/arch/x86/intel64/
Dthread.h28 #define X86_KERNEL_CPU0_TR 0x40 /* 64-bit task state segment */
29 #define X86_KERNEL_CPU1_TR 0x50 /* 64-bit task state segment */
30 #define X86_KERNEL_CPU2_TR 0x60 /* 64-bit task state segment */
31 #define X86_KERNEL_CPU3_TR 0x70 /* 64-bit task state segment */
52 * 64-bit Task State Segment. One defined per CPU.
/Zephyr-latest/modules/hal_nordic/nrfs/dvfs/
DKconfig37 int "Stack size used for DVFS handling task"
43 int "Priority of DVFS handling task"
/Zephyr-latest/drivers/ethernet/phy/
DKconfig88 int "Monitor task execution period"
91 Monitor task execution period in milliseconds. The monitor task is
/Zephyr-latest/tests/kernel/context/
DREADME.txt21 - Called from an ISR (interrupted a task)
23 - Called from a task
27 - Called from an ISR that interrupted a task
29 - Called from a task
87 Testing k_current_get() from an ISR and task
90 Spawning a thread from a task
/Zephyr-latest/arch/sparc/core/
Dinterrupt_trap.S81 * Save the state of the interrupted task including global registers on
82 * the task stack.
84 * IMPORTANT: Globals are saved here as well on the task stack, since a
86 * task is restored.
92 * %fp: %sp of interrupted task
93 * %sp: %sp of interrupted task - ISF_SIZE.
115 * %fp: %sp of interrupted task - ISF_SIZE.
168 * %fp: %sp of interrupted task - ISF_SIZE.
176 * %fp: %sp of interrupted task - ISF_SIZE.
177 * %sp: %sp of interrupted task - ISF_SIZE - STACK_FRAME_SIZE - 8.
/Zephyr-latest/samples/boards/nordic/nrf53_sync_rtc/src/
Dmain.c28 nrf_ipc_task_t task = offsetof(NRF_IPC_Type, TASKS_SEND[2]); in timeout_handler() local
32 nrf_ipc_task_trigger(NRF_IPC, task); in timeout_handler()

123456789