#[repr(transparent)]pub struct Ahbclkctrl2(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Ahbclkctrl2
impl Ahbclkctrl2
Sourcepub const fn dma1(&self) -> bool
pub const fn dma1(&self) -> bool
Enables the clock for DMA1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_dma1(&mut self, val: bool)
pub const fn set_dma1(&mut self, val: bool)
Enables the clock for DMA1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn enet(&self) -> bool
pub const fn enet(&self) -> bool
Enables the clock for Ethernet. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_enet(&mut self, val: bool)
pub const fn set_enet(&mut self, val: bool)
Enables the clock for Ethernet. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn u_sdhc(&self) -> bool
pub const fn u_sdhc(&self) -> bool
Enables the clock for uSDHC. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_u_sdhc(&mut self, val: bool)
pub const fn set_u_sdhc(&mut self, val: bool)
Enables the clock for uSDHC. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn flexio(&self) -> bool
pub const fn flexio(&self) -> bool
Enables the clock for Flexio. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enable clock.
Sourcepub const fn set_flexio(&mut self, val: bool)
pub const fn set_flexio(&mut self, val: bool)
Enables the clock for Flexio. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enable clock.
Sourcepub const fn sai0(&self) -> bool
pub const fn sai0(&self) -> bool
Enables the clock for SAI0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_sai0(&mut self, val: bool)
pub const fn set_sai0(&mut self, val: bool)
Enables the clock for SAI0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn sai1(&self) -> bool
pub const fn sai1(&self) -> bool
Enables the clock for SAI1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_sai1(&mut self, val: bool)
pub const fn set_sai1(&mut self, val: bool)
Enables the clock for SAI1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn tro(&self) -> bool
pub const fn tro(&self) -> bool
Enables the clock for TRO. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_tro(&mut self, val: bool)
pub const fn set_tro(&mut self, val: bool)
Enables the clock for TRO. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn freqme(&self) -> bool
pub const fn freqme(&self) -> bool
Enables the clock for the Frequency meter. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
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. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn trng(&self) -> bool
pub const fn trng(&self) -> bool
Enables the clock for TRNG. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_trng(&mut self, val: bool)
pub const fn set_trng(&mut self, val: bool)
Enables the clock for TRNG. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn flexcan0(&self) -> bool
pub const fn flexcan0(&self) -> bool
Enables the clock for FLEXCAN0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_flexcan0(&mut self, val: bool)
pub const fn set_flexcan0(&mut self, val: bool)
Enables the clock for FLEXCAN0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn flexcan1(&self) -> bool
pub const fn flexcan1(&self) -> bool
Enables the clock for FLEXCAN1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_flexcan1(&mut self, val: bool)
pub const fn set_flexcan1(&mut self, val: bool)
Enables the clock for FLEXCAN1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn usb_hs(&self) -> bool
pub const fn usb_hs(&self) -> bool
Enables the clock for USB HS. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_usb_hs(&mut self, val: bool)
pub const fn set_usb_hs(&mut self, val: bool)
Enables the clock for USB HS. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn usb_hs_phy(&self) -> bool
pub const fn usb_hs_phy(&self) -> bool
Enables the clock for USB HS PHY. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_usb_hs_phy(&mut self, val: bool)
pub const fn set_usb_hs_phy(&mut self, val: bool)
Enables the clock for USB HS PHY. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn els(&self) -> bool
pub const fn els(&self) -> bool
Enables the clock for ELS. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_els(&mut self, val: bool)
pub const fn set_els(&mut self, val: bool)
Enables the clock for ELS. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn pq(&self) -> bool
pub const fn pq(&self) -> bool
Enables the clock for Powerquad. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_pq(&mut self, val: bool)
pub const fn set_pq(&mut self, val: bool)
Enables the clock for Powerquad. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn plu_lut(&self) -> bool
pub const fn plu_lut(&self) -> bool
Enables the clock for PLU_LUT. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_plu_lut(&mut self, val: bool)
pub const fn set_plu_lut(&mut self, val: bool)
Enables the clock for PLU_LUT. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn timer3(&self) -> bool
pub const fn timer3(&self) -> bool
Enables the clock for CTIMER3. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_timer3(&mut self, val: bool)
pub const fn set_timer3(&mut self, val: bool)
Enables the clock for CTIMER3. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn timer4(&self) -> bool
pub const fn timer4(&self) -> bool
Enables the clock for CTIMER4. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_timer4(&mut self, val: bool)
pub const fn set_timer4(&mut self, val: bool)
Enables the clock for CTIMER4. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn puf(&self) -> bool
pub const fn puf(&self) -> bool
Enables the clock for PUF. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_puf(&mut self, val: bool)
pub const fn set_puf(&mut self, val: bool)
Enables the clock for PUF. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn pkc(&self) -> bool
pub const fn pkc(&self) -> bool
Enables the clock for PKC. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_pkc(&mut self, val: bool)
pub const fn set_pkc(&mut self, val: bool)
Enables the clock for PKC. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn scg(&self) -> bool
pub const fn scg(&self) -> bool
Enables the clock for SCG. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_scg(&mut self, val: bool)
pub const fn set_scg(&mut self, val: bool)
Enables the clock for SCG. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn gdet(&self) -> bool
pub const fn gdet(&self) -> bool
Enables the clock for GDET0 and GDET1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_gdet(&mut self, val: bool)
pub const fn set_gdet(&mut self, val: bool)
Enables the clock for GDET0 and GDET1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
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