#[repr(transparent)]pub struct Claimset(pub u32);
Expand description
Software can use the claim tag to coordinate application and debugger access to trace unit functionality. The claim tags have no effect on the operation of the component. The CLAIMSET register sets bits in the claim tag, and determines the number of claim bits implemented.
Tuple Fields§
§0: u32
Implementations§
Source§impl Claimset
impl Claimset
Sourcepub const fn bit_0(&self) -> ClaimsetBit0
pub const fn bit_0(&self) -> ClaimsetBit0
Set claim bit 0 and check if bit is implemented or not.
Sourcepub fn set_bit_0(&mut self, val: ClaimsetBit0)
pub fn set_bit_0(&mut self, val: ClaimsetBit0)
Set claim bit 0 and check if bit is implemented or not.
Sourcepub const fn bit_1(&self) -> ClaimsetBit1
pub const fn bit_1(&self) -> ClaimsetBit1
Set claim bit 1 and check if bit is implemented or not.
Sourcepub fn set_bit_1(&mut self, val: ClaimsetBit1)
pub fn set_bit_1(&mut self, val: ClaimsetBit1)
Set claim bit 1 and check if bit is implemented or not.
Sourcepub const fn bit_2(&self) -> ClaimsetBit2
pub const fn bit_2(&self) -> ClaimsetBit2
Set claim bit 2 and check if bit is implemented or not.
Sourcepub fn set_bit_2(&mut self, val: ClaimsetBit2)
pub fn set_bit_2(&mut self, val: ClaimsetBit2)
Set claim bit 2 and check if bit is implemented or not.
Sourcepub const fn bit_3(&self) -> ClaimsetBit3
pub const fn bit_3(&self) -> ClaimsetBit3
Set claim bit 3 and check if bit is implemented or not.
Sourcepub fn set_bit_3(&mut self, val: ClaimsetBit3)
pub fn set_bit_3(&mut self, val: ClaimsetBit3)
Set claim bit 3 and check if bit is implemented or not.
Trait Implementations§
impl Copy for Claimset
impl Eq for Claimset
impl StructuralPartialEq for Claimset
Auto Trait Implementations§
impl Freeze for Claimset
impl RefUnwindSafe for Claimset
impl Send for Claimset
impl Sync for Claimset
impl Unpin for Claimset
impl UnwindSafe for Claimset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)