Struct Ahb2enr
#[repr(transparent)]pub struct Ahb2enr(pub u32);Expand description
RCC AHB2 peripheral clock register
Tuple Fields§
§0: u32Implementations§
§impl Ahb2enr
impl Ahb2enr
pub const fn set_gpioaen(&mut self, val: bool)
pub const fn set_gpioaen(&mut self, val: bool)
GPIOA clock enable Set and reset by software.
pub const fn set_gpioben(&mut self, val: bool)
pub const fn set_gpioben(&mut self, val: bool)
GPIOB clock enable Set and reset by software.
pub const fn set_gpiocen(&mut self, val: bool)
pub const fn set_gpiocen(&mut self, val: bool)
GPIOC clock enable Set and reset by software.
pub const fn set_gpioden(&mut self, val: bool)
pub const fn set_gpioden(&mut self, val: bool)
GPIOD clock enable Set and reset by software.
pub const fn set_gpioeen(&mut self, val: bool)
pub const fn set_gpioeen(&mut self, val: bool)
GPIOE clock enable Set and reset by software.
pub const fn set_gpiofen(&mut self, val: bool)
pub const fn set_gpiofen(&mut self, val: bool)
GPIOF clock enable Set and reset by software.
pub const fn set_gpiogen(&mut self, val: bool)
pub const fn set_gpiogen(&mut self, val: bool)
GPIOG clock enable Set and reset by software.
pub const fn set_gpiohen(&mut self, val: bool)
pub const fn set_gpiohen(&mut self, val: bool)
GPIOH clock enable Set and reset by software.
pub const fn set_gpioien(&mut self, val: bool)
pub const fn set_gpioien(&mut self, val: bool)
GPIOI clock enable Set and reset by software.
pub const fn set_gpiojen(&mut self, val: bool)
pub const fn set_gpiojen(&mut self, val: bool)
GPIOJ clock enable.
pub const fn set_adc12en(&mut self, val: bool)
pub const fn set_adc12en(&mut self, val: bool)
ADC1 and 2 peripherals clock enabled Set and reset by software.
pub const fn set_dac1en(&mut self, val: bool)
pub const fn set_dac1en(&mut self, val: bool)
DAC clock enable Set and reset by software.
pub const fn dcmi_pssien(&self) -> bool
pub const fn dcmi_pssien(&self) -> bool
digital camera interface clock enable (DCMI or PSSI depending which interface is active) Set and reset by software.
pub const fn set_dcmi_pssien(&mut self, val: bool)
pub const fn set_dcmi_pssien(&mut self, val: bool)
digital camera interface clock enable (DCMI or PSSI depending which interface is active) Set and reset by software.
pub const fn set_otgphyen(&mut self, val: bool)
pub const fn set_otgphyen(&mut self, val: bool)
OTGPHY clock enable.
pub const fn set_otghsen(&mut self, val: bool)
pub const fn set_otghsen(&mut self, val: bool)
OTGHS clock enable.
pub const fn set_otgfsen(&mut self, val: bool)
pub const fn set_otgfsen(&mut self, val: bool)
OTGFS clock enable.
pub const fn set_hashen(&mut self, val: bool)
pub const fn set_hashen(&mut self, val: bool)
HASH clock enable Set and reset by software.
pub const fn set_saesen(&mut self, val: bool)
pub const fn set_saesen(&mut self, val: bool)
SAES clock enable Set and reset by software.
pub const fn set_adc3en(&mut self, val: bool)
pub const fn set_adc3en(&mut self, val: bool)
ADC3 clock enable.
pub const fn set_adf1en(&mut self, val: bool)
pub const fn set_adf1en(&mut self, val: bool)
ADF1 clock enable.
pub const fn set_gpioken(&mut self, val: bool)
pub const fn set_gpioken(&mut self, val: bool)
GPIOK clock enable.
pub const fn set_sram4en(&mut self, val: bool)
pub const fn set_sram4en(&mut self, val: bool)
SRAM4 clock enable.
pub const fn set_sram5en(&mut self, val: bool)
pub const fn set_sram5en(&mut self, val: bool)
SRAM5 clock enable.
pub const fn set_sram3en(&mut self, val: bool)
pub const fn set_sram3en(&mut self, val: bool)
SRAM3 clock enable Set and reset by software.
pub const fn set_sram2en(&mut self, val: bool)
pub const fn set_sram2en(&mut self, val: bool)
SRAM2 clock enable Set and reset by software.