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.