pub struct InterruptCacheInvalidateDw0Dw1(/* private fields */);Expand description
Interrupt Entry Cache Invalidation Descriptor (type 0x04, §6.5.2.7).
Bits [3:0] = Type (0x04)
Bit [4] = Granularity (0=global, 1=index-selective)
Bits [8:5] = reserved
Bits [11:9] = Type[6:4] (zero)
Bits [26:12] = reserved
Bits [31:27] = IM (Index Mask, for index-selective)
Bits [47:32] = IIDX (Interrupt Index, for index-selective)
Bits [63:48] = reserved
Bits [127:64]= reservedImplementations§
Source§impl InterruptCacheInvalidateDw0Dw1
impl InterruptCacheInvalidateDw0Dw1
Sourcepub const fn with_desc_type_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_desc_type_checked(self, value: u8) -> Result<Self, ()>
Descriptor type (must be 0x04).
Bits: 0..4
Sourcepub const fn with_desc_type(self, value: u8) -> Self
pub const fn with_desc_type(self, value: u8) -> Self
Descriptor type (must be 0x04).
Bits: 0..4
Sourcepub const fn set_desc_type(&mut self, value: u8)
pub const fn set_desc_type(&mut self, value: u8)
Descriptor type (must be 0x04).
Bits: 0..4
Sourcepub const fn set_desc_type_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_desc_type_checked(&mut self, value: u8) -> Result<(), ()>
Descriptor type (must be 0x04).
Bits: 0..4
Sourcepub const fn granularity(&self) -> bool
pub const fn granularity(&self) -> bool
Invalidation granularity: 0=global, 1=index-selective.
Bits: 4..5
Sourcepub const fn with_granularity_checked(self, value: bool) -> Result<Self, ()>
pub const fn with_granularity_checked(self, value: bool) -> Result<Self, ()>
Invalidation granularity: 0=global, 1=index-selective.
Bits: 4..5
Sourcepub const fn with_granularity(self, value: bool) -> Self
pub const fn with_granularity(self, value: bool) -> Self
Invalidation granularity: 0=global, 1=index-selective.
Bits: 4..5
Sourcepub const fn set_granularity(&mut self, value: bool)
pub const fn set_granularity(&mut self, value: bool)
Invalidation granularity: 0=global, 1=index-selective.
Bits: 4..5
Sourcepub const fn set_granularity_checked(&mut self, value: bool) -> Result<(), ()>
pub const fn set_granularity_checked(&mut self, value: bool) -> Result<(), ()>
Invalidation granularity: 0=global, 1=index-selective.
Bits: 4..5
Sourcepub const fn with_type_hi_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_type_hi_checked(self, value: u8) -> Result<Self, ()>
Upper three bits of the descriptor type.
Bits: 9..12
Sourcepub const fn with_type_hi(self, value: u8) -> Self
pub const fn with_type_hi(self, value: u8) -> Self
Upper three bits of the descriptor type.
Bits: 9..12
Sourcepub const fn set_type_hi(&mut self, value: u8)
pub const fn set_type_hi(&mut self, value: u8)
Upper three bits of the descriptor type.
Bits: 9..12
Sourcepub const fn set_type_hi_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_type_hi_checked(&mut self, value: u8) -> Result<(), ()>
Upper three bits of the descriptor type.
Bits: 9..12
Sourcepub const fn im(&self) -> u8
pub const fn im(&self) -> u8
Index Mask (5 bits, for index-selective invalidation).
Bits: 27..32
Sourcepub const fn with_im_checked(self, value: u8) -> Result<Self, ()>
pub const fn with_im_checked(self, value: u8) -> Result<Self, ()>
Index Mask (5 bits, for index-selective invalidation).
Bits: 27..32
Sourcepub const fn with_im(self, value: u8) -> Self
pub const fn with_im(self, value: u8) -> Self
Index Mask (5 bits, for index-selective invalidation).
Bits: 27..32
Sourcepub const fn set_im(&mut self, value: u8)
pub const fn set_im(&mut self, value: u8)
Index Mask (5 bits, for index-selective invalidation).
Bits: 27..32
Sourcepub const fn set_im_checked(&mut self, value: u8) -> Result<(), ()>
pub const fn set_im_checked(&mut self, value: u8) -> Result<(), ()>
Index Mask (5 bits, for index-selective invalidation).
Bits: 27..32
Sourcepub const fn iidx(&self) -> u16
pub const fn iidx(&self) -> u16
Interrupt Index (16 bits, for index-selective invalidation).
Bits: 32..48
Sourcepub const fn with_iidx_checked(self, value: u16) -> Result<Self, ()>
pub const fn with_iidx_checked(self, value: u16) -> Result<Self, ()>
Interrupt Index (16 bits, for index-selective invalidation).
Bits: 32..48
Sourcepub const fn with_iidx(self, value: u16) -> Self
pub const fn with_iidx(self, value: u16) -> Self
Interrupt Index (16 bits, for index-selective invalidation).
Bits: 32..48
Trait Implementations§
Source§impl Clone for InterruptCacheInvalidateDw0Dw1
impl Clone for InterruptCacheInvalidateDw0Dw1
Source§fn clone(&self) -> InterruptCacheInvalidateDw0Dw1
fn clone(&self) -> InterruptCacheInvalidateDw0Dw1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more