Skip to main content

set_sof_callback

Function set_sof_callback 

Source
pub fn set_sof_callback(f: fn())
Expand description

Call f from the USB interrupt on every SOF (every 125 us microframe at high speed). Keep it short: it delays every other USB completion.