Trait drone_cortexm::sv::SvService[][src]

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)[src]

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...