#[non_exhaustive]pub struct Interrupt {
pub name: String,
pub description: Option<String>,
pub value: u32,
}Expand description
Describes an interrupt in the device
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe string represents the interrupt name
description: Option<String>The string describes the interrupt
value: u32Represents the enumeration index value associated to the interrupt
Implementations§
source§impl Interrupt
impl Interrupt
sourcepub fn builder() -> InterruptBuilder
pub fn builder() -> InterruptBuilder
Make a builder for Interrupt