#[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_peri_spi0(&self) -> bool
pub fn set_clk_peri_spi0(&mut self, val: bool)
pub const fn clk_sys_spi0(&self) -> bool
pub fn set_clk_sys_spi0(&mut self, val: bool)
pub const fn clk_peri_spi1(&self) -> bool
pub fn set_clk_peri_spi1(&mut self, val: bool)
pub const fn clk_sys_spi1(&self) -> bool
pub fn set_clk_sys_spi1(&mut self, val: bool)
pub const fn clk_sys_sram0(&self) -> bool
pub fn set_clk_sys_sram0(&mut self, val: bool)
pub const fn clk_sys_sram1(&self) -> bool
pub fn set_clk_sys_sram1(&mut self, val: bool)
pub const fn clk_sys_sram2(&self) -> bool
pub fn set_clk_sys_sram2(&mut self, val: bool)
pub const fn clk_sys_sram3(&self) -> bool
pub fn set_clk_sys_sram3(&mut self, val: bool)
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_sram6(&self) -> bool
pub fn set_clk_sys_sram6(&mut self, val: bool)
pub const fn clk_sys_sram7(&self) -> bool
pub fn set_clk_sys_sram7(&mut self, val: bool)
pub const fn clk_sys_sram8(&self) -> bool
pub fn set_clk_sys_sram8(&mut self, val: bool)
pub const fn clk_sys_sram9(&self) -> bool
pub fn set_clk_sys_sram9(&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_ref_ticks(&self) -> bool
pub fn set_clk_ref_ticks(&mut self, val: bool)
pub const fn clk_sys_ticks(&self) -> bool
pub fn set_clk_sys_ticks(&mut self, val: bool)
pub const fn clk_sys_timer0(&self) -> bool
pub fn set_clk_sys_timer0(&mut self, val: bool)
pub const fn clk_sys_timer1(&self) -> bool
pub fn set_clk_sys_timer1(&mut self, val: bool)
pub const fn clk_sys_trng(&self) -> bool
pub fn set_clk_sys_trng(&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(&self) -> bool
pub fn set_clk_usb(&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
)