#[repr(transparent)]pub struct Ahbclkctrl2N2(pub u32);Expand description
AHB Clock Control 2.
Tuple Fields§
§0: u32Implementations§
Source§impl Ahbclkctrl2N2
impl Ahbclkctrl2N2
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 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 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 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.
Trait Implementations§
Source§impl Clone for Ahbclkctrl2N2
impl Clone for Ahbclkctrl2N2
Source§fn clone(&self) -> Ahbclkctrl2N2
fn clone(&self) -> Ahbclkctrl2N2
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more