#[repr(transparent)]pub struct Ahbclkctrl2(pub u32);Expand description
AHB Clock control 2
Tuple Fields§
§0: u32Implementations§
Source§impl Ahbclkctrl2
impl Ahbclkctrl2
Sourcepub const fn set_usb1_host(&mut self, val: bool)
pub const fn set_usb1_host(&mut self, val: bool)
Enables the clock for the USB1 Host.
Sourcepub const fn set_usb1_dev(&mut self, val: bool)
pub const fn set_usb1_dev(&mut self, val: bool)
Enables the clock for the USB1 dev.
Sourcepub const fn set_usb1_ram(&mut self, val: bool)
pub const fn set_usb1_ram(&mut self, val: bool)
Enables the clock for the USB1 RAM.
Sourcepub const fn set_usb1_phy(&mut self, val: bool)
pub const fn set_usb1_phy(&mut self, val: bool)
Enables the clock for the USB1 PHY.
Sourcepub const fn set_freqme(&mut self, val: bool)
pub const fn set_freqme(&mut self, val: bool)
Enables the clock for the Frequency meter.
Sourcepub const fn set_sysctl(&mut self, val: bool)
pub const fn set_sysctl(&mut self, val: bool)
SYSCTL block clock.
Sourcepub const fn usb0_hostm(&self) -> bool
pub const fn usb0_hostm(&self) -> bool
Enables the clock for the USB0 Host Master.
Sourcepub const fn set_usb0_hostm(&mut self, val: bool)
pub const fn set_usb0_hostm(&mut self, val: bool)
Enables the clock for the USB0 Host Master.
Sourcepub const fn usb0_hosts(&self) -> bool
pub const fn usb0_hosts(&self) -> bool
Enables the clock for the USB0 Host Slave.
Sourcepub const fn set_usb0_hosts(&mut self, val: bool)
pub const fn set_usb0_hosts(&mut self, val: bool)
Enables the clock for the USB0 Host Slave.
Sourcepub const fn set_hash_aes(&mut self, val: bool)
pub const fn set_hash_aes(&mut self, val: bool)
Enables the clock for the HASH_AES.
Sourcepub const fn set_plulut(&mut self, val: bool)
pub const fn set_plulut(&mut self, val: bool)
Enables the clock for the PLU LUT.
Sourcepub const fn set_timer3(&mut self, val: bool)
pub const fn set_timer3(&mut self, val: bool)
Enables the clock for the Timer 3.
Sourcepub const fn set_timer4(&mut self, val: bool)
pub const fn set_timer4(&mut self, val: bool)
Enables the clock for the Timer 4.
Sourcepub const fn set_casper(&mut self, val: bool)
pub const fn set_casper(&mut self, val: bool)
Enables the clock for the Casper.
Sourcepub const fn analog_ctrl(&self) -> bool
pub const fn analog_ctrl(&self) -> bool
Enables the clock for the analog control.
Sourcepub const fn set_analog_ctrl(&mut self, val: bool)
pub const fn set_analog_ctrl(&mut self, val: bool)
Enables the clock for the analog control.
Sourcepub const fn set_hs_lspi(&mut self, val: bool)
pub const fn set_hs_lspi(&mut self, val: bool)
Enables the clock for the HS LSPI.
Sourcepub const fn set_gpio_sec(&mut self, val: bool)
pub const fn set_gpio_sec(&mut self, val: bool)
Enables the clock for the GPIO secure.
Sourcepub const fn gpio_sec_int(&self) -> bool
pub const fn gpio_sec_int(&self) -> bool
Enables the clock for the GPIO secure int.
Sourcepub const fn set_gpio_sec_int(&mut self, val: bool)
pub const fn set_gpio_sec_int(&mut self, val: bool)
Enables the clock for the GPIO secure int.
Trait Implementations§
Source§impl Clone for Ahbclkctrl2
impl Clone for Ahbclkctrl2
Source§fn clone(&self) -> Ahbclkctrl2
fn clone(&self) -> Ahbclkctrl2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more