Searched refs:sh_rtt (Results 1 – 1 of 1) sorted by relevance
39 const struct shell_rtt *sh_rtt = k_timer_user_data_get(timer); in timer_handler() local42 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() local53 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() local78 k_timer_stop(&sh_rtt->timer); in uninit()[all …]