#[repr(transparent)]pub struct Enabled1(pub u32);
Expand description
indicates the state of the clock enable
Tuple Fields§
§0: u32
Implementations§
source§impl Enabled1
impl Enabled1
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 Enabled1
impl Eq for Enabled1
impl StructuralPartialEq for Enabled1
Auto Trait Implementations§
impl Freeze for Enabled1
impl RefUnwindSafe for Enabled1
impl Send for Enabled1
impl Sync for Enabled1
impl Unpin for Enabled1
impl UnwindSafe for Enabled1
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
)