Enum SpidenCtrlValue
#[repr(u8)]pub enum SpidenCtrlValue {
Low = 0,
High = 1,
}Variants§
Low = 0
Signal is logic 0, indicating that secure priviliged invasive debug is disabled.
High = 1
Signal is logic 1, indicating that secure priviliged invasive debug is enabled.
Implementations§
§impl SpidenCtrlValue
impl SpidenCtrlValue
pub const fn from_bits(val: u8) -> SpidenCtrlValue
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for SpidenCtrlValue
impl Clone for SpidenCtrlValue
§fn clone(&self) -> SpidenCtrlValue
fn clone(&self) -> SpidenCtrlValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SpidenCtrlValue
§impl Debug for SpidenCtrlValue
impl Debug for SpidenCtrlValue
impl Eq for SpidenCtrlValue
§impl From<u8> for SpidenCtrlValue
impl From<u8> for SpidenCtrlValue
§fn from(val: u8) -> SpidenCtrlValue
fn from(val: u8) -> SpidenCtrlValue
Converts to this type from the input type.
§impl Ord for SpidenCtrlValue
impl Ord for SpidenCtrlValue
§fn cmp(&self, other: &SpidenCtrlValue) -> Ordering
fn cmp(&self, other: &SpidenCtrlValue) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for SpidenCtrlValue
impl PartialEq for SpidenCtrlValue
§impl PartialOrd for SpidenCtrlValue
impl PartialOrd for SpidenCtrlValue
impl StructuralPartialEq for SpidenCtrlValue
Auto Trait Implementations§
impl Freeze for SpidenCtrlValue
impl RefUnwindSafe for SpidenCtrlValue
impl Send for SpidenCtrlValue
impl Sync for SpidenCtrlValue
impl Unpin for SpidenCtrlValue
impl UnsafeUnpin for SpidenCtrlValue
impl UnwindSafe for SpidenCtrlValue
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