#[repr(transparent)]pub struct SleepEn1(pub u32);
Expand description
enable clock in sleep mode
Tuple Fields§
§0: u32
Implementations§
source§impl SleepEn1
impl SleepEn1
pub const fn clk_sys_sram4(&self) -> bool
pub fn set_clk_sys_sram4(&mut self, val: bool)
pub const fn clk_sys_sram5(&self) -> bool
pub fn set_clk_sys_sram5(&mut self, val: bool)
pub const fn clk_sys_syscfg(&self) -> bool
pub fn set_clk_sys_syscfg(&mut self, val: bool)
pub const fn clk_sys_sysinfo(&self) -> bool
pub fn set_clk_sys_sysinfo(&mut self, val: bool)
pub const fn clk_sys_tbman(&self) -> bool
pub fn set_clk_sys_tbman(&mut self, val: bool)
pub const fn clk_sys_timer(&self) -> bool
pub fn set_clk_sys_timer(&mut self, val: bool)
pub const fn clk_peri_uart0(&self) -> bool
pub fn set_clk_peri_uart0(&mut self, val: bool)
pub const fn clk_sys_uart0(&self) -> bool
pub fn set_clk_sys_uart0(&mut self, val: bool)
pub const fn clk_peri_uart1(&self) -> bool
pub fn set_clk_peri_uart1(&mut self, val: bool)
pub const fn clk_sys_uart1(&self) -> bool
pub fn set_clk_sys_uart1(&mut self, val: bool)
pub const fn clk_sys_usbctrl(&self) -> bool
pub fn set_clk_sys_usbctrl(&mut self, val: bool)
pub const fn clk_usb_usbctrl(&self) -> bool
pub fn set_clk_usb_usbctrl(&mut self, val: bool)
pub const fn clk_sys_watchdog(&self) -> bool
pub fn set_clk_sys_watchdog(&mut self, val: bool)
pub const fn clk_sys_xip(&self) -> bool
pub fn set_clk_sys_xip(&mut self, val: bool)
pub const fn clk_sys_xosc(&self) -> bool
pub fn set_clk_sys_xosc(&mut self, val: bool)
Trait Implementations§
impl Copy for SleepEn1
impl Eq for SleepEn1
impl StructuralPartialEq for SleepEn1
Auto Trait Implementations§
impl Freeze for SleepEn1
impl RefUnwindSafe for SleepEn1
impl Send for SleepEn1
impl Sync for SleepEn1
impl Unpin for SleepEn1
impl UnwindSafe for SleepEn1
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)