Firmware  0.4.1
Loading...
Searching...
No Matches
mw::zimo::ulf::susiv2 Namespace Reference

Namespaces

namespace  anonymous_namespace{task_function.cpp}
 

Functions

 SHARED_TASK (task, "mw::zimo::ulf::susiv2", intf::usb::rx_task.priority - 1u, APP_CPU_NUM, 0u)
 
void task_function (void *)
 ULF_SUSIV2 task function.
 

Function Documentation

◆ SHARED_TASK()

mw::zimo::ulf::susiv2::SHARED_TASK ( task ,
"mw::zimo::ulf::susiv2" ,
intf::usb::rx_task.priority - 1u,
APP_CPU_NUM ,
0u  )
inline

◆ task_function()

void mw::zimo::ulf::susiv2::task_function ( void * )

This task is created by the USB receive task when a SUSIV2\r protocol string is received. Once running the task scans the CDC character stream for SUSIV2 frames, converts them to ZUSI packets and transmits them to drv::out::tx_message_buffer.

Upon receiving an exit command the USB receive task is created and this task destroys itself.