Struct Ahb1enr1
#[repr(transparent)]pub struct Ahb1enr1(pub u32);Expand description
RCC AHB1 peripheral clock enable register 1.
Tuple Fields§
§0: u32Implementations§
§impl Ahb1enr1
impl Ahb1enr1
pub fn set_gpdma1en(&mut self, val: bool)
pub fn set_gpdma1en(&mut self, val: bool)
GPDMA1 clock enable.
pub fn set_adf1en(&mut self, val: bool)
pub fn set_adf1en(&mut self, val: bool)
ADF1 clock enable.
pub fn set_flashen(&mut self, val: bool)
pub fn set_flashen(&mut self, val: bool)
FLASH clock enable.
pub fn set_ramcfgen(&mut self, val: bool)
pub fn set_ramcfgen(&mut self, val: bool)
RAMCFG clock enable.
pub fn set_gtzc1en(&mut self, val: bool)
pub fn set_gtzc1en(&mut self, val: bool)
GTZC1 clock enable.
pub fn set_sram1en(&mut self, val: bool)
pub fn set_sram1en(&mut self, val: bool)
SRAM1 clock enable.
Trait Implementations§
impl Copy for Ahb1enr1
impl Eq for Ahb1enr1
impl StructuralPartialEq for Ahb1enr1
Auto Trait Implementations§
impl Freeze for Ahb1enr1
impl RefUnwindSafe for Ahb1enr1
impl Send for Ahb1enr1
impl Sync for Ahb1enr1
impl Unpin for Ahb1enr1
impl UnwindSafe for Ahb1enr1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more