#[repr(transparent)]pub struct Ahbclkctrl0(pub u32);Tuple Fields§
§0: u32Implementations§
Source§impl Ahbclkctrl0
impl Ahbclkctrl0
Sourcepub const fn rom(&self) -> bool
pub const fn rom(&self) -> bool
Enables the clock for the ROM. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_rom(&mut self, val: bool)
pub const fn set_rom(&mut self, val: bool)
Enables the clock for the ROM. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn ramb_ctrl(&self) -> bool
pub const fn ramb_ctrl(&self) -> bool
Enables the clock for the RAMB Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_ramb_ctrl(&mut self, val: bool)
pub const fn set_ramb_ctrl(&mut self, val: bool)
Enables the clock for the RAMB Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn ramc_ctrl(&self) -> bool
pub const fn ramc_ctrl(&self) -> bool
Enables the clock for the RAMC Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_ramc_ctrl(&mut self, val: bool)
pub const fn set_ramc_ctrl(&mut self, val: bool)
Enables the clock for the RAMC Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn ramd_ctrl(&self) -> bool
pub const fn ramd_ctrl(&self) -> bool
Enables the clock for the RAMD Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_ramd_ctrl(&mut self, val: bool)
pub const fn set_ramd_ctrl(&mut self, val: bool)
Enables the clock for the RAMD Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn rame_ctrl(&self) -> bool
pub const fn rame_ctrl(&self) -> bool
Enables the clock for the RAME Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_rame_ctrl(&mut self, val: bool)
pub const fn set_rame_ctrl(&mut self, val: bool)
Enables the clock for the RAME Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn ramf_ctrl(&self) -> bool
pub const fn ramf_ctrl(&self) -> bool
Enables the clock for the RAMF Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_ramf_ctrl(&mut self, val: bool)
pub const fn set_ramf_ctrl(&mut self, val: bool)
Enables the clock for the RAMF Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn ramg_ctrl(&self) -> bool
pub const fn ramg_ctrl(&self) -> bool
Enables the clock for the RAMG Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_ramg_ctrl(&mut self, val: bool)
pub const fn set_ramg_ctrl(&mut self, val: bool)
Enables the clock for the RAMG Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn ramh_ctrl(&self) -> bool
pub const fn ramh_ctrl(&self) -> bool
Enables the clock for the RAMH Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_ramh_ctrl(&mut self, val: bool)
pub const fn set_ramh_ctrl(&mut self, val: bool)
Enables the clock for the RAMH Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fmu(&self) -> bool
pub const fn fmu(&self) -> bool
Enables the clock for the Flash Management Unit. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fmu(&mut self, val: bool)
pub const fn set_fmu(&mut self, val: bool)
Enables the clock for the Flash Management Unit. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn fmc(&self) -> bool
pub const fn fmc(&self) -> bool
Enables the clock for the Flash Memory Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_fmc(&mut self, val: bool)
pub const fn set_fmc(&mut self, val: bool)
Enables the clock for the Flash Memory Controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn flexspi(&self) -> bool
pub const fn flexspi(&self) -> bool
Enables the clock for FlexSPI. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_flexspi(&mut self, val: bool)
pub const fn set_flexspi(&mut self, val: bool)
Enables the clock for FlexSPI. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn mux(&self) -> bool
pub const fn mux(&self) -> bool
Enables the clock for INPUTMUX. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_mux(&mut self, val: bool)
pub const fn set_mux(&mut self, val: bool)
Enables the clock for INPUTMUX. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn port0(&self) -> bool
pub const fn port0(&self) -> bool
Enables the clock for PORT0 controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_port0(&mut self, val: bool)
pub const fn set_port0(&mut self, val: bool)
Enables the clock for PORT0 controller. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn port1(&self) -> bool
pub const fn port1(&self) -> bool
Enables the clock for PORT1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_port1(&mut self, val: bool)
pub const fn set_port1(&mut self, val: bool)
Enables the clock for PORT1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn port2(&self) -> bool
pub const fn port2(&self) -> bool
Enables the clock for PORT2. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_port2(&mut self, val: bool)
pub const fn set_port2(&mut self, val: bool)
Enables the clock for PORT2. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn port3(&self) -> bool
pub const fn port3(&self) -> bool
Enables the clock for PORT3. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_port3(&mut self, val: bool)
pub const fn set_port3(&mut self, val: bool)
Enables the clock for PORT3. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn port4(&self) -> bool
pub const fn port4(&self) -> bool
Enables the clock for PORT4. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_port4(&mut self, val: bool)
pub const fn set_port4(&mut self, val: bool)
Enables the clock for PORT4. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn gpio0(&self) -> bool
pub const fn gpio0(&self) -> bool
Enables the clock for GPIO0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_gpio0(&mut self, val: bool)
pub const fn set_gpio0(&mut self, val: bool)
Enables the clock for GPIO0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn gpio1(&self) -> bool
pub const fn gpio1(&self) -> bool
Enables the clock for GPIO1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_gpio1(&mut self, val: bool)
pub const fn set_gpio1(&mut self, val: bool)
Enables the clock for GPIO1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn gpio2(&self) -> bool
pub const fn gpio2(&self) -> bool
Enables the clock for GPIO2. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_gpio2(&mut self, val: bool)
pub const fn set_gpio2(&mut self, val: bool)
Enables the clock for GPIO2. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn gpio3(&self) -> bool
pub const fn gpio3(&self) -> bool
Enables the clock for GPIO3. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_gpio3(&mut self, val: bool)
pub const fn set_gpio3(&mut self, val: bool)
Enables the clock for GPIO3. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn gpio4(&self) -> bool
pub const fn gpio4(&self) -> bool
Enables the clock for GPIO4. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_gpio4(&mut self, val: bool)
pub const fn set_gpio4(&mut self, val: bool)
Enables the clock for GPIO4. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn pint(&self) -> bool
pub const fn pint(&self) -> bool
Enables the clock for PINT. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_pint(&mut self, val: bool)
pub const fn set_pint(&mut self, val: bool)
Enables the clock for PINT. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn dma0(&self) -> bool
pub const fn dma0(&self) -> bool
Enables the clock for DMA0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_dma0(&mut self, val: bool)
pub const fn set_dma0(&mut self, val: bool)
Enables the clock for DMA0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn crc(&self) -> bool
pub const fn crc(&self) -> bool
Enables the clock for CRC. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_crc(&mut self, val: bool)
pub const fn set_crc(&mut self, val: bool)
Enables the clock for CRC. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn wwdt0(&self) -> bool
pub const fn wwdt0(&self) -> bool
Enables the clock for WWDT0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_wwdt0(&mut self, val: bool)
pub const fn set_wwdt0(&mut self, val: bool)
Enables the clock for WWDT0. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn wwdt1(&self) -> bool
pub const fn wwdt1(&self) -> bool
Enables the clock for WWDT1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_wwdt1(&mut self, val: bool)
pub const fn set_wwdt1(&mut self, val: bool)
Enables the clock for WWDT1. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn mailbox(&self) -> bool
pub const fn mailbox(&self) -> bool
Enables the clock for the Inter CPU communication Mailbox. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Sourcepub const fn set_mailbox(&mut self, val: bool)
pub const fn set_mailbox(&mut self, val: bool)
Enables the clock for the Inter CPU communication Mailbox. Raw bit values: false (0) = Disable: Disables clock.; true (1) = Enable: Enables clock.
Trait Implementations§
Source§impl Clone for Ahbclkctrl0
impl Clone for Ahbclkctrl0
Source§fn clone(&self) -> Ahbclkctrl0
fn clone(&self) -> Ahbclkctrl0
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more