#[repr(transparent)]pub struct LpreqCfg2(pub u32);Expand description
Low-Power Request Configuration.
Tuple Fields§
§0: u32Implementations§
Source§impl LpreqCfg2
impl LpreqCfg2
Sourcepub const fn lpreqoe(&self) -> bool
pub const fn lpreqoe(&self) -> bool
Low-Power Request Output Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn set_lpreqoe(&mut self, val: bool)
pub const fn set_lpreqoe(&mut self, val: bool)
Low-Power Request Output Enable. Raw bit values: false (0) = Disable: Disable.; true (1) = Enable: Enable.
Sourcepub const fn lpreqpol(&self) -> bool
pub const fn lpreqpol(&self) -> bool
Low-Power Request Output Pin Polarity Control. Raw bit values: false (0) = High: High.; true (1) = Low: Low.
Sourcepub const fn set_lpreqpol(&mut self, val: bool)
pub const fn set_lpreqpol(&mut self, val: bool)
Low-Power Request Output Pin Polarity Control. Raw bit values: false (0) = High: High.; true (1) = Low: Low.
Sourcepub const fn set_lpreqov(&mut self, val: Lpreqov2)
pub const fn set_lpreqov(&mut self, val: Lpreqov2)
Low-Power Request Output Override.
Trait Implementations§
impl Copy for LpreqCfg2
impl Eq for LpreqCfg2
impl StructuralPartialEq for LpreqCfg2
Auto Trait Implementations§
impl Freeze for LpreqCfg2
impl RefUnwindSafe for LpreqCfg2
impl Send for LpreqCfg2
impl Sync for LpreqCfg2
impl Unpin for LpreqCfg2
impl UnwindSafe for LpreqCfg2
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