[][src]Trait drone_cortex_m::sv::SvService

pub trait SvService: Sized + Send + 'static {
    unsafe extern "C" fn handler(&mut self);
}

Generic supervisor service.

Required methods

unsafe extern "C" fn handler(&mut self)

Called when SVC num instruction was invoked and num corresponds to the service.

Safety

This function should not be called directly.

Loading content...

Implementors

impl SvService for SwitchBackService[src]

impl SvService for SwitchContextService[src]

Loading content...