Struct stm32_metapac::pwr::regs::Pdcre
#[repr(transparent)]pub struct Pdcre(pub u32);
Expand description
Power Port E pull-down control register
Tuple Fields§
§0: u32
Implementations§
§impl Pdcre
impl Pdcre
pub const fn pd3(&self) -> bool
pub const fn pd3(&self) -> bool
Port E pull-down bit 3 When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register.
pub fn set_pd3(&mut self, val: bool)
pub fn set_pd3(&mut self, val: bool)
Port E pull-down bit 3 When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register.
pub const fn pd7(&self) -> bool
pub const fn pd7(&self) -> bool
Port E pull-down bit y When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register.
pub fn set_pd7(&mut self, val: bool)
pub fn set_pd7(&mut self, val: bool)
Port E pull-down bit y When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register.
pub const fn pd8(&self) -> bool
pub const fn pd8(&self) -> bool
Port E pull-down bit y When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register.
pub fn set_pd8(&mut self, val: bool)
pub fn set_pd8(&mut self, val: bool)
Port E pull-down bit y When set, this bit activates the pull-down on PE[y] when APC bit is set in PWR_CR3 register.
Trait Implementations§
impl Copy for Pdcre
impl Eq for Pdcre
impl StructuralPartialEq for Pdcre
Auto Trait Implementations§
impl Freeze for Pdcre
impl RefUnwindSafe for Pdcre
impl Send for Pdcre
impl Sync for Pdcre
impl Unpin for Pdcre
impl UnwindSafe for Pdcre
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
)