Struct Ahb2enr1
#[repr(transparent)]pub struct Ahb2enr1(pub u32);Expand description
RCC AHB2 peripheral clock enable register 1.
Tuple Fields§
§0: u32Implementations§
§impl Ahb2enr1
impl Ahb2enr1
pub fn set_gpioaen(&mut self, val: bool)
pub fn set_gpioaen(&mut self, val: bool)
I/O port i clock enable (i = E to A).
pub fn set_gpioben(&mut self, val: bool)
pub fn set_gpioben(&mut self, val: bool)
I/O port i clock enable (i = E to A).
pub fn set_gpiocen(&mut self, val: bool)
pub fn set_gpiocen(&mut self, val: bool)
I/O port i clock enable (i = E to A).
pub fn set_gpioden(&mut self, val: bool)
pub fn set_gpioden(&mut self, val: bool)
I/O port i clock enable (i = E to A).
pub fn set_gpioeen(&mut self, val: bool)
pub fn set_gpioeen(&mut self, val: bool)
I/O port i clock enable (i = E to A).
pub fn set_gpiogen(&mut self, val: bool)
pub fn set_gpiogen(&mut self, val: bool)
I/O port i clock enable (i = H to G).
pub fn set_gpiohen(&mut self, val: bool)
pub fn set_gpiohen(&mut self, val: bool)
I/O port i clock enable (i = H to G).
pub fn set_adc12en(&mut self, val: bool)
pub fn set_adc12en(&mut self, val: bool)
ADC12 clock enable.
pub fn set_dac1en(&mut self, val: bool)
pub fn set_dac1en(&mut self, val: bool)
DAC1 clock enable.
pub fn set_hashen(&mut self, val: bool)
pub fn set_hashen(&mut self, val: bool)
HASH clock enable.
pub fn set_saesen(&mut self, val: bool)
pub fn set_saesen(&mut self, val: bool)
SAES clock enable.
pub fn set_sdmmc1en(&mut self, val: bool)
pub fn set_sdmmc1en(&mut self, val: bool)
SDMMC1 clock enable.
pub fn set_sram2en(&mut self, val: bool)
pub fn set_sram2en(&mut self, val: bool)
SRAM2 clock enable.
Trait Implementations§
impl Copy for Ahb2enr1
impl Eq for Ahb2enr1
impl StructuralPartialEq for Ahb2enr1
Auto Trait Implementations§
impl Freeze for Ahb2enr1
impl RefUnwindSafe for Ahb2enr1
impl Send for Ahb2enr1
impl Sync for Ahb2enr1
impl Unpin for Ahb2enr1
impl UnwindSafe for Ahb2enr1
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