Struct stm32_metapac::pwr::regs::Pdcro
#[repr(transparent)]pub struct Pdcro(pub u32);
Expand description
PWR port O pull-down control register.
Tuple Fields§
§0: u32
Implementations§
§impl Pdcro
impl Pdcro
pub const fn pdo0(&self) -> bool
pub const fn pdo0(&self) -> bool
Port O pull-down bit y When set, each bit activates the pull-down on POy when the APC bit is set in PWR_APCR.
pub fn set_pdo0(&mut self, val: bool)
pub fn set_pdo0(&mut self, val: bool)
Port O pull-down bit y When set, each bit activates the pull-down on POy when the APC bit is set in PWR_APCR.
pub const fn pdo1(&self) -> bool
pub const fn pdo1(&self) -> bool
Port O pull-down bit y When set, each bit activates the pull-down on POy when the APC bit is set in PWR_APCR.
pub fn set_pdo1(&mut self, val: bool)
pub fn set_pdo1(&mut self, val: bool)
Port O pull-down bit y When set, each bit activates the pull-down on POy when the APC bit is set in PWR_APCR.
pub const fn pdo2(&self) -> bool
pub const fn pdo2(&self) -> bool
Port O pull-down bit y When set, each bit activates the pull-down on POy when the APC bit is set in PWR_APCR.
pub fn set_pdo2(&mut self, val: bool)
pub fn set_pdo2(&mut self, val: bool)
Port O pull-down bit y When set, each bit activates the pull-down on POy when the APC bit is set in PWR_APCR.
pub const fn pdo3(&self) -> bool
pub const fn pdo3(&self) -> bool
Port O pull-down bit y When set, each bit activates the pull-down on POy when the APC bit is set in PWR_APCR.
pub fn set_pdo3(&mut self, val: bool)
pub fn set_pdo3(&mut self, val: bool)
Port O pull-down bit y When set, each bit activates the pull-down on POy when the APC bit is set in PWR_APCR.
Trait Implementations§
impl Copy for Pdcro
impl Eq for Pdcro
impl StructuralPartialEq for Pdcro
Auto Trait Implementations§
impl Freeze for Pdcro
impl RefUnwindSafe for Pdcro
impl Send for Pdcro
impl Sync for Pdcro
impl Unpin for Pdcro
impl UnwindSafe for Pdcro
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
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)
clone_to_uninit
)