Struct stm32_metapac::pwr::regs::Pdcrf
#[repr(transparent)]pub struct Pdcrf(pub u32);
Expand description
Power Port F pull-down control register
Tuple Fields§
§0: u32
Implementations§
§impl Pdcrf
impl Pdcrf
pub const fn pd0(&self) -> bool
pub const fn pd0(&self) -> bool
Port F pull-down bit y When set, this bit activates the pull-down on PH[y] when APC bit is set in PWR_CR3 register.
pub fn set_pd0(&mut self, val: bool)
pub fn set_pd0(&mut self, val: bool)
Port F pull-down bit y When set, this bit activates the pull-down on PH[y] when APC bit is set in PWR_CR3 register.
pub const fn pd1(&self) -> bool
pub const fn pd1(&self) -> bool
Port F pull-down bit y When set, this bit activates the pull-down on PH[y] when APC bit is set in PWR_CR3 register.
pub fn set_pd1(&mut self, val: bool)
pub fn set_pd1(&mut self, val: bool)
Port F pull-down bit y When set, this bit activates the pull-down on PH[y] when APC bit is set in PWR_CR3 register.
pub const fn pd2(&self) -> bool
pub const fn pd2(&self) -> bool
Port F pull-down bit y When set, this bit activates the pull-down on PH[y] when APC bit is set in PWR_CR3 register.
pub fn set_pd2(&mut self, val: bool)
pub fn set_pd2(&mut self, val: bool)
Port F pull-down bit y When set, this bit activates the pull-down on PH[y] when APC bit is set in PWR_CR3 register.
Trait Implementations§
impl Copy for Pdcrf
impl Eq for Pdcrf
impl StructuralPartialEq for Pdcrf
Auto Trait Implementations§
impl Freeze for Pdcrf
impl RefUnwindSafe for Pdcrf
impl Send for Pdcrf
impl Sync for Pdcrf
impl Unpin for Pdcrf
impl UnwindSafe for Pdcrf
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
)