#[repr(transparent)]pub struct Ahbclkctrl1(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Ahbclkctrl1
impl Ahbclkctrl1
Sourcepub const fn mrt(&self) -> bool
pub const fn mrt(&self) -> bool
Enables the clock for MRT. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_mrt(&mut self, val: bool)
pub const fn set_mrt(&mut self, val: bool)
Enables the clock for MRT. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn ostimer(&self) -> bool
pub const fn ostimer(&self) -> bool
Enables the clock for the OS Event Timer. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_ostimer(&mut self, val: bool)
pub const fn set_ostimer(&mut self, val: bool)
Enables the clock for the OS Event Timer. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn sct(&self) -> bool
pub const fn sct(&self) -> bool
Enables the clock for SCT. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_sct(&mut self, val: bool)
pub const fn set_sct(&mut self, val: bool)
Enables the clock for SCT. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn adc0(&self) -> bool
pub const fn adc0(&self) -> bool
Enables the clock for ADC0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_adc0(&mut self, val: bool)
pub const fn set_adc0(&mut self, val: bool)
Enables the clock for ADC0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn adc1(&self) -> bool
pub const fn adc1(&self) -> bool
Enables the clock for ADC1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_adc1(&mut self, val: bool)
pub const fn set_adc1(&mut self, val: bool)
Enables the clock for ADC1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn dac0(&self) -> bool
pub const fn dac0(&self) -> bool
Enables the clock for DAC0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_dac0(&mut self, val: bool)
pub const fn set_dac0(&mut self, val: bool)
Enables the clock for DAC0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn rtc(&self) -> bool
pub const fn rtc(&self) -> bool
Enables the clock for RTC. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_rtc(&mut self, val: bool)
pub const fn set_rtc(&mut self, val: bool)
Enables the clock for RTC. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn evsim0(&self) -> bool
pub const fn evsim0(&self) -> bool
Enables the clock for EVSIM0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_evsim0(&mut self, val: bool)
pub const fn set_evsim0(&mut self, val: bool)
Enables the clock for EVSIM0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn evsim1(&self) -> bool
pub const fn evsim1(&self) -> bool
Enables the clock for EVSIM1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_evsim1(&mut self, val: bool)
pub const fn set_evsim1(&mut self, val: bool)
Enables the clock for EVSIM1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn utick(&self) -> bool
pub const fn utick(&self) -> bool
Enables the clock for UTICK. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_utick(&mut self, val: bool)
pub const fn set_utick(&mut self, val: bool)
Enables the clock for UTICK. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fc0(&self) -> bool
pub const fn fc0(&self) -> bool
Enables the clock for LP_FLEXCOMM0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fc0(&mut self, val: bool)
pub const fn set_fc0(&mut self, val: bool)
Enables the clock for LP_FLEXCOMM0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fc1(&self) -> bool
pub const fn fc1(&self) -> bool
Enables the clock for LP_FLEXCOMM1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fc1(&mut self, val: bool)
pub const fn set_fc1(&mut self, val: bool)
Enables the clock for LP_FLEXCOMM1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fc2(&self) -> bool
pub const fn fc2(&self) -> bool
Enables the clock for LP_FLEXCOMM2. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fc2(&mut self, val: bool)
pub const fn set_fc2(&mut self, val: bool)
Enables the clock for LP_FLEXCOMM2. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fc3(&self) -> bool
pub const fn fc3(&self) -> bool
Enables the clock for LP_FLEXCOMM3. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fc3(&mut self, val: bool)
pub const fn set_fc3(&mut self, val: bool)
Enables the clock for LP_FLEXCOMM3. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fc4(&self) -> bool
pub const fn fc4(&self) -> bool
Enables the clock for LP_FLEXCOMM4. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fc4(&mut self, val: bool)
pub const fn set_fc4(&mut self, val: bool)
Enables the clock for LP_FLEXCOMM4. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fc5(&self) -> bool
pub const fn fc5(&self) -> bool
Enables the clock for LP_FLEXCOMM5. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fc5(&mut self, val: bool)
pub const fn set_fc5(&mut self, val: bool)
Enables the clock for LP_FLEXCOMM5. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fc6(&self) -> bool
pub const fn fc6(&self) -> bool
Enables the clock for LP_FLEXCOMM6. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fc6(&mut self, val: bool)
pub const fn set_fc6(&mut self, val: bool)
Enables the clock for LP_FLEXCOMM6. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fc7(&self) -> bool
pub const fn fc7(&self) -> bool
Enables the clock for LP_FLEXCOMM7. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fc7(&mut self, val: bool)
pub const fn set_fc7(&mut self, val: bool)
Enables the clock for LP_FLEXCOMM7. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fc8(&self) -> bool
pub const fn fc8(&self) -> bool
Enables the clock for LP_FLEXCOMM8. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fc8(&mut self, val: bool)
pub const fn set_fc8(&mut self, val: bool)
Enables the clock for LP_FLEXCOMM8. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fc9(&self) -> bool
pub const fn fc9(&self) -> bool
Enables the clock for LP_FLEXCOMM9. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fc9(&mut self, val: bool)
pub const fn set_fc9(&mut self, val: bool)
Enables the clock for LP_FLEXCOMM9. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn micfil(&self) -> bool
pub const fn micfil(&self) -> bool
Enables the clock for MICFIL. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_micfil(&mut self, val: bool)
pub const fn set_micfil(&mut self, val: bool)
Enables the clock for MICFIL. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn timer2(&self) -> bool
pub const fn timer2(&self) -> bool
Enables the clock for CTIMER2. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_timer2(&mut self, val: bool)
pub const fn set_timer2(&mut self, val: bool)
Enables the clock for CTIMER2. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn usb0_fs_dcd(&self) -> bool
pub const fn usb0_fs_dcd(&self) -> bool
Enables the clock for USB-FS DCD. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_usb0_fs_dcd(&mut self, val: bool)
pub const fn set_usb0_fs_dcd(&mut self, val: bool)
Enables the clock for USB-FS DCD. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn usb0_fs(&self) -> bool
pub const fn usb0_fs(&self) -> bool
Enables the clock for USB-FS. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_usb0_fs(&mut self, val: bool)
pub const fn set_usb0_fs(&mut self, val: bool)
Enables the clock for USB-FS. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn timer0(&self) -> bool
pub const fn timer0(&self) -> bool
Enables the clock for CTIMER0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_timer0(&mut self, val: bool)
pub const fn set_timer0(&mut self, val: bool)
Enables the clock for CTIMER0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn timer1(&self) -> bool
pub const fn timer1(&self) -> bool
Enables the clock for CTIMER1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_timer1(&mut self, val: bool)
pub const fn set_timer1(&mut self, val: bool)
Enables the clock for CTIMER1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn pkc_ram(&self) -> bool
pub const fn pkc_ram(&self) -> bool
Enables the clock for PKC RAM. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_pkc_ram(&mut self, val: bool)
pub const fn set_pkc_ram(&mut self, val: bool)
Enables the clock for PKC RAM. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn smart_dma(&self) -> bool
pub const fn smart_dma(&self) -> bool
Enables the clock for SmartDMA. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_smart_dma(&mut self, val: bool)
pub const fn set_smart_dma(&mut self, val: bool)
Enables the clock for SmartDMA. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Trait Implementations§
Source§impl Clone for Ahbclkctrl1
impl Clone for Ahbclkctrl1
Source§fn clone(&self) -> Ahbclkctrl1
fn clone(&self) -> Ahbclkctrl1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more