pub struct InterruptController { /* private fields */ }
Implementations§
Source§impl InterruptController
impl InterruptController
Sourcepub fn interrupt_cells(&self) -> Result<u32, FdtError>
pub fn interrupt_cells(&self) -> Result<u32, FdtError>
Get the number of interrupt cells this controller uses
Methods from Deref<Target = NodeBase>§
pub fn level(&self) -> usize
pub fn name(&self) -> &str
pub fn full_path(&self) -> &str
pub fn parent(&self) -> Option<Node>
pub fn properties<'a>(&'a self) -> Vec<Property<'a>>
pub fn find_property<'a>( &'a self, name: impl AsRef<str>, ) -> Option<Property<'a>>
Sourcepub fn compatibles(&self) -> Vec<String>
pub fn compatibles(&self) -> Vec<String>
Get compatible strings for this node (placeholder implementation)
pub fn address_cells(&self) -> u8
pub fn ranges(&self) -> Option<FdtRangeSilce<'_>>
pub fn interrupt_parent_phandle(&self) -> Option<Phandle>
pub fn interrupt_parent(&self) -> Option<InterruptController>
pub fn interrupts(&self) -> Result<Vec<Vec<u32>>, FdtError>
Trait Implementations§
Source§impl Clone for InterruptController
impl Clone for InterruptController
Source§fn clone(&self) -> InterruptController
fn clone(&self) -> InterruptController
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InterruptController
impl Debug for InterruptController
Auto Trait Implementations§
impl Freeze for InterruptController
impl RefUnwindSafe for InterruptController
impl Send for InterruptController
impl Sync for InterruptController
impl Unpin for InterruptController
impl UnwindSafe for InterruptController
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more