[−][src]Struct r3::kernel::cfg::CfgInterruptLineBuilder
Configuration builder type for InterruptLine
.
Implementations
impl<System: Port> CfgInterruptLineBuilder<System>
[src]
pub const fn line(self, line: InterruptNum) -> Self
[src]
[Required] Specify the interrupt line to confiigure.
pub const fn priority(self, priority: InterruptPriority) -> Self
[src]
Specify the initial priority.
pub const fn enabled(self, enabled: bool) -> Self
[src]
Specify whether the interrupt linie should be enabled at system startup.
Defaults to false
(don't enable).
pub const fn finish(self, cfg: &mut CfgBuilder<System>) -> InterruptLine<System>
[src]
Complete the configuration of an interrupt line, returning an
InterruptLine
object.
Auto Trait Implementations
impl<System> Send for CfgInterruptLineBuilder<System> where
System: Send,
[src]
System: Send,
impl<System> Sync for CfgInterruptLineBuilder<System> where
System: Sync,
[src]
System: Sync,
impl<System> Unpin for CfgInterruptLineBuilder<System> where
System: Unpin,
[src]
System: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,