Trait drone_cortexm::sv::SvCall[][src]

pub trait SvCall<T: SvService>: Supervisor {
    unsafe fn call(service: &mut T);
}
[]

A supervisor call.

Required methods

unsafe fn call(service: &mut T)[src][]

Calls the supervisor service service. Translates to SVC num instruction, where num corresponds to the service T.

Safety

Safety is implementation defined.

Implementors