logo
pub unsafe trait EntryPoint {
    const HANDLE_PEND_SV: unsafe extern "C" fn();

    unsafe fn start() -> !;
}
Expand description

Defines the entry points of a port instantiation. Implemented by use_port!.

Safety

This trait is not intended to be implemented in any other means.

Associated Constants

The PendSV handler.

Safety
  • This method must be registered as a PendSV handler. The callee-saved registers must contain the values from the background context.

Required methods

Proceed with the boot process.

Safety
  • The processor should be in Thread mode.
  • This method hasn’t been entered yet.

Implementors