Struct r3::kernel::cfg::CfgInterruptHandlerBuilder[][src]

pub struct CfgInterruptHandlerBuilder<System> { /* fields omitted */ }
Expand description

Configuration builder type for InterruptHandler.

Implementations

[Required] Specify the entry point.

Specify the parameter to start. Defaults to 0.

[Required] Specify the interrupt line to attach the interrupt handler to.

Specify the priority. Defaults to 0 when unspecified.

When multiple handlers are registered to a single interrupt line, those with smaller priority values will execute earlier.

This should not be confused with an interrupt line’s priority.

Indicate that the entry point function is unmanaged-safe (designed to execute as an unmanaged interrupt handler).

If an interrupt line is not configured with an initial priority value that falls within a managed range, configuration will fail unless all of its attached interrupt handlers are marked as unmanaged-safe.

Safety

The behavior of system calls is undefined in an unmanaged interrupt handler.

Complete the registration of an interrupt handler, returning an InterruptHandler object.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.