#[repr(transparent)]struct InterruptCmdH(u32);
Expand description
Interrupt Command Register 2, R/W
Tuple Fields§
§0: u32
Implementations§
source§impl InterruptCmdH
impl InterruptCmdH
const DESTINATION_BITS: usize = 8usize
const DESTINATION_OFFSET: usize = 24usize
sourceconst fn with_destination(self, value: u8) -> Self
const fn with_destination(self, value: u8) -> Self
The meaning of destination depends on the destination mode:
For the logical destination mode, destination holds a bit mask made up
of the cores that are candidates for receiving the interrupt.
In the single-core case, this value is 1
, in the multi-core case,
the n
low-order bits needs to be set (with n
being the number of CPU cores).
Setting the n
low-order bits marks all available cores as candidates for receiving
interrupts and thereby balancing the number of interrupts between the cores.
Bits: 24..32
sourceconst fn destination(&self) -> u8
const fn destination(&self) -> u8
The meaning of destination depends on the destination mode:
For the logical destination mode, destination holds a bit mask made up
of the cores that are candidates for receiving the interrupt.
In the single-core case, this value is 1
, in the multi-core case,
the n
low-order bits needs to be set (with n
being the number of CPU cores).
Setting the n
low-order bits marks all available cores as candidates for receiving
interrupts and thereby balancing the number of interrupts between the cores.
Bits: 24..32
sourcefn set_destination(&mut self, value: u8)
fn set_destination(&mut self, value: u8)
The meaning of destination depends on the destination mode:
For the logical destination mode, destination holds a bit mask made up
of the cores that are candidates for receiving the interrupt.
In the single-core case, this value is 1
, in the multi-core case,
the n
low-order bits needs to be set (with n
being the number of CPU cores).
Setting the n
low-order bits marks all available cores as candidates for receiving
interrupts and thereby balancing the number of interrupts between the cores.
Bits: 24..32
Trait Implementations§
source§impl Clone for InterruptCmdH
impl Clone for InterruptCmdH
source§fn clone(&self) -> InterruptCmdH
fn clone(&self) -> InterruptCmdH
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more