Struct Apb1hlpenr
#[repr(transparent)]pub struct Apb1hlpenr(pub u32);Expand description
RCC APB1 sleep clock register
Tuple Fields§
§0: u32Implementations§
§impl Apb1hlpenr
impl Apb1hlpenr
pub fn set_dtslpen(&mut self, val: bool)
pub fn set_dtslpen(&mut self, val: bool)
DTS clock enable during sleep mode Set and reset by software.
pub const fn lptim2lpen(&self) -> bool
pub const fn lptim2lpen(&self) -> bool
LPTIM2 clock enable during sleep mode Set and reset by software.
pub fn set_lptim2lpen(&mut self, val: bool)
pub fn set_lptim2lpen(&mut self, val: bool)
LPTIM2 clock enable during sleep mode Set and reset by software.
pub const fn fdcan1lpen(&self) -> bool
pub const fn fdcan1lpen(&self) -> bool
FDCAN1 peripheral clock enable during sleep mode Set and reset by software.
pub fn set_fdcan1lpen(&mut self, val: bool)
pub fn set_fdcan1lpen(&mut self, val: bool)
FDCAN1 peripheral clock enable during sleep mode Set and reset by software.
Trait Implementations§
§impl Clone for Apb1hlpenr
impl Clone for Apb1hlpenr
§fn clone(&self) -> Apb1hlpenr
fn clone(&self) -> Apb1hlpenr
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Default for Apb1hlpenr
impl Default for Apb1hlpenr
§fn default() -> Apb1hlpenr
fn default() -> Apb1hlpenr
Returns the “default value” for a type. Read more
§impl PartialEq for Apb1hlpenr
impl PartialEq for Apb1hlpenr
impl Copy for Apb1hlpenr
impl Eq for Apb1hlpenr
impl StructuralPartialEq for Apb1hlpenr
Auto Trait Implementations§
impl Freeze for Apb1hlpenr
impl RefUnwindSafe for Apb1hlpenr
impl Send for Apb1hlpenr
impl Sync for Apb1hlpenr
impl Unpin for Apb1hlpenr
impl UnwindSafe for Apb1hlpenr
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