#[repr(u8)]pub enum MegaCtrlPcr {
PCR_0 = 0,
PCR_1 = 1,
}Variants§
PCR_0 = 0
Do not switch off power even if pdn_req is asserted.
PCR_1 = 1
Switch off power when pdn_req is asserted.
Implementations§
Source§impl MegaCtrlPcr
impl MegaCtrlPcr
Trait Implementations§
Source§impl Clone for MegaCtrlPcr
impl Clone for MegaCtrlPcr
Source§fn clone(&self) -> MegaCtrlPcr
fn clone(&self) -> MegaCtrlPcr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MegaCtrlPcr
impl Debug for MegaCtrlPcr
Source§impl From<MegaCtrlPcr> for u8
impl From<MegaCtrlPcr> for u8
Source§fn from(val: MegaCtrlPcr) -> u8
fn from(val: MegaCtrlPcr) -> u8
Converts to this type from the input type.
Source§impl From<u8> for MegaCtrlPcr
impl From<u8> for MegaCtrlPcr
Source§fn from(val: u8) -> MegaCtrlPcr
fn from(val: u8) -> MegaCtrlPcr
Converts to this type from the input type.
Source§impl Ord for MegaCtrlPcr
impl Ord for MegaCtrlPcr
Source§fn cmp(&self, other: &MegaCtrlPcr) -> Ordering
fn cmp(&self, other: &MegaCtrlPcr) -> Ordering
1.21.0 · 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
Source§impl PartialEq for MegaCtrlPcr
impl PartialEq for MegaCtrlPcr
Source§impl PartialOrd for MegaCtrlPcr
impl PartialOrd for MegaCtrlPcr
impl Copy for MegaCtrlPcr
impl Eq for MegaCtrlPcr
impl StructuralPartialEq for MegaCtrlPcr
Auto Trait Implementations§
impl Freeze for MegaCtrlPcr
impl RefUnwindSafe for MegaCtrlPcr
impl Send for MegaCtrlPcr
impl Sync for MegaCtrlPcr
impl Unpin for MegaCtrlPcr
impl UnwindSafe for MegaCtrlPcr
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