#[repr(transparent)]pub struct PcrPvPfeMux2(pub u32);Expand description
Pin Control.
Tuple Fields§
§0: u32Implementations§
Source§impl PcrPvPfeMux2
impl PcrPvPfeMux2
Sourcepub const fn ps(&self) -> bool
pub const fn ps(&self) -> bool
Pull Select. Raw bit values: false (0) = Ps0: Enables internal pulldown resistor.; true (1) = Ps1: Enables internal pullup resistor.
Sourcepub const fn set_ps(&mut self, val: bool)
pub const fn set_ps(&mut self, val: bool)
Pull Select. Raw bit values: false (0) = Ps0: Enables internal pulldown resistor.; true (1) = Ps1: Enables internal pullup resistor.
Sourcepub const fn pe(&self) -> bool
pub const fn pe(&self) -> bool
Pull Enable. Raw bit values: false (0) = Pe0: Disables.; true (1) = Pe1: Enables.
Sourcepub const fn set_pe(&mut self, val: bool)
pub const fn set_pe(&mut self, val: bool)
Pull Enable. Raw bit values: false (0) = Pe0: Disables.; true (1) = Pe1: Enables.
Sourcepub const fn pv(&self) -> bool
pub const fn pv(&self) -> bool
Pull Value. Raw bit values: false (0) = Pv0: Low.; true (1) = Pv1: High.
Sourcepub const fn set_pv(&mut self, val: bool)
pub const fn set_pv(&mut self, val: bool)
Pull Value. Raw bit values: false (0) = Pv0: Low.; true (1) = Pv1: High.
Sourcepub const fn pfe(&self) -> bool
pub const fn pfe(&self) -> bool
Passive Filter Enable. Raw bit values: false (0) = Pfe0: Disables.; true (1) = Pfe1: Enables.
Sourcepub const fn set_pfe(&mut self, val: bool)
pub const fn set_pfe(&mut self, val: bool)
Passive Filter Enable. Raw bit values: false (0) = Pfe0: Disables.; true (1) = Pfe1: Enables.
Sourcepub const fn ode(&self) -> bool
pub const fn ode(&self) -> bool
Open Drain Enable. Raw bit values: false (0) = Ode0: Disables.; true (1) = Ode1: Enables.
Sourcepub const fn set_ode(&mut self, val: bool)
pub const fn set_ode(&mut self, val: bool)
Open Drain Enable. Raw bit values: false (0) = Ode0: Disables.; true (1) = Ode1: Enables.
Sourcepub const fn ibe(&self) -> bool
pub const fn ibe(&self) -> bool
Input Buffer Enable. Raw bit values: false (0) = Ibe0: Disables.; true (1) = Ibe1: Enables.
Sourcepub const fn set_ibe(&mut self, val: bool)
pub const fn set_ibe(&mut self, val: bool)
Input Buffer Enable. Raw bit values: false (0) = Ibe0: Disables.; true (1) = Ibe1: Enables.
Sourcepub const fn inv(&self) -> bool
pub const fn inv(&self) -> bool
Invert Input. Raw bit values: false (0) = Inv0: Does not invert.; true (1) = Inv1: Inverts.
Sourcepub const fn set_inv(&mut self, val: bool)
pub const fn set_inv(&mut self, val: bool)
Invert Input. Raw bit values: false (0) = Inv0: Does not invert.; true (1) = Inv1: Inverts.
Trait Implementations§
Source§impl Clone for PcrPvPfeMux2
impl Clone for PcrPvPfeMux2
Source§fn clone(&self) -> PcrPvPfeMux2
fn clone(&self) -> PcrPvPfeMux2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more