#[repr(C)]pub struct Distributor {
pub CTLR: ReadWrite<u32, Register>,
pub ICFGR: [ReadWrite<u32>; 64],
pub IGRPMODR: [ReadWrite<u32>; 32],
/* private fields */
}
Fields§
§CTLR: ReadWrite<u32, Register>
Distributor Control Register.
ICFGR: [ReadWrite<u32>; 64]
Interrupt Configuration Registers.
IGRPMODR: [ReadWrite<u32>; 32]
Implementations§
Source§impl Distributor
impl Distributor
pub fn version(&self) -> u32
pub fn implementer(&self) -> u32
pub fn irq_line_max(&self) -> u32
pub fn max_spi_num(&self) -> usize
pub fn set_enable_interrupt(&self, irq: IntId, enable: bool)
pub fn set_priority(&self, intid: IntId, priority: u8)
pub fn set_bind_cpu(&self, intid: IntId, target_list: u8)
pub fn disable_all_interrupts(&self)
pub fn sgi(&self, intid: IntId, target: SGITarget<'_>)
pub fn set_all_group1(&self)
pub fn set_route(&self, intid: IntId, target: CPUTarget)
Auto Trait Implementations§
impl !Freeze for Distributor
impl !RefUnwindSafe for Distributor
impl Send for Distributor
impl !Sync for Distributor
impl Unpin for Distributor
impl UnwindSafe for Distributor
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