Enum stm32_metapac::rtc::vals::Pcmode
#[repr(u8)]pub enum Pcmode {
FLOATING = 0,
PUSHPULL = 1,
}
Variants§
FLOATING = 0
PCx is controlled by the GPIO configuration Register. Consequently PC15 is floating in Standby mode
PUSHPULL = 1
PCx is forced to push-pull output if LSE is disabled
Implementations§
Trait Implementations§
§impl Ord for Pcmode
impl Ord for Pcmode
§impl PartialOrd for Pcmode
impl PartialOrd for Pcmode
§fn partial_cmp(&self, other: &Pcmode) -> Option<Ordering>
fn partial_cmp(&self, other: &Pcmode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Pcmode
impl Eq for Pcmode
impl StructuralEq for Pcmode
impl StructuralPartialEq for Pcmode
Auto Trait Implementations§
impl RefUnwindSafe for Pcmode
impl Send for Pcmode
impl Sync for Pcmode
impl Unpin for Pcmode
impl UnwindSafe for Pcmode
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