Struct Pdcrh
#[repr(transparent)]pub struct Pdcrh(pub u32);Expand description
PWR port H pull-down control register.
Tuple Fields§
§0: u32Implementations§
§impl Pdcrh
impl Pdcrh
pub const fn pd0(&self) -> bool
pub const fn pd0(&self) -> bool
When set, each bit activates the pull-down on PH0 when the APC bit is set in APCR. Note: The bit is reserved and must be kept to reset value when the corresponding I/O is not available on the selected package.
pub fn set_pd0(&mut self, val: bool)
pub fn set_pd0(&mut self, val: bool)
When set, each bit activates the pull-down on PH0 when the APC bit is set in APCR. Note: The bit is reserved and must be kept to reset value when the corresponding I/O is not available on the selected package.
pub const fn pd1(&self) -> bool
pub const fn pd1(&self) -> bool
When set, each bit activates the pull-down on PH1 when the APC bit is set in APCR. Note: The bit is reserved and must be kept to reset value when the corresponding I/O is not available on the selected package.
pub fn set_pd1(&mut self, val: bool)
pub fn set_pd1(&mut self, val: bool)
When set, each bit activates the pull-down on PH1 when the APC bit is set in APCR. Note: The bit is reserved and must be kept to reset value when the corresponding I/O is not available on the selected package.