pub enum TP2R {
_0,
_1,
}Expand description
Possible values of the field TP2
Variants§
_0
Accesses from an untrusted master are allowed.
_1
Accesses from an untrusted master are not allowed.
Implementations§
Source§impl TP2R
impl TP2R
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true if the bit is set (1)
Trait Implementations§
impl Copy for TP2R
impl StructuralPartialEq for TP2R
Auto Trait Implementations§
impl Freeze for TP2R
impl RefUnwindSafe for TP2R
impl Send for TP2R
impl Sync for TP2R
impl Unpin for TP2R
impl UnwindSafe for TP2R
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