Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/shell/backends/
Dshell_rtt.c39 const struct shell_rtt *sh_rtt = k_timer_user_data_get(timer); in timer_handler() local
42 sh_rtt->handler(SHELL_TRANSPORT_EVT_RX_RDY, sh_rtt->context); in timer_handler()
51 struct shell_rtt *sh_rtt = (struct shell_rtt *)transport->ctx; in init() local
53 sh_rtt->handler = evt_handler; in init()
54 sh_rtt->context = context; in init()
56 k_timer_init(&sh_rtt->timer, timer_handler, NULL); in init()
57 k_timer_user_data_set(&sh_rtt->timer, (void *)sh_rtt); in init()
58 k_timer_start(&sh_rtt->timer, K_MSEC(CONFIG_SHELL_RTT_RX_POLL_PERIOD), in init()
76 struct shell_rtt *sh_rtt = (struct shell_rtt *)transport->ctx; in uninit() local
78 k_timer_stop(&sh_rtt->timer); in uninit()
[all …]