stm32-metapac

Crates

git

Versions

stm32h7s3v8

Flavors

Struct stm32_metapac::rcc::regs::Ahbperckselr

#[repr(transparent)]
pub struct Ahbperckselr(pub u32);
Expand description

RCC AHB peripheral kernel clock selection register.

Tuple Fields§

§0: u32

Implementations§

§

impl Ahbperckselr

pub const fn fmcsel(&self) -> Fmcsel

FMC kernel clock source selection Set and reset by software.

pub fn set_fmcsel(&mut self, val: Fmcsel)

FMC kernel clock source selection Set and reset by software.

pub const fn sdmmcsel(&self) -> Sdmmcsel

SDMMC1 and SDMMC2 kernel clock source selection Set and reset by software.

pub fn set_sdmmcsel(&mut self, val: Sdmmcsel)

SDMMC1 and SDMMC2 kernel clock source selection Set and reset by software.

pub const fn octospi1sel(&self) -> Octospisel

XSPI1 kernel clock source selection Set and reset by software. 1x: pll2_t_ck selected as kernel peripheral clock.

pub fn set_octospi1sel(&mut self, val: Octospisel)

XSPI1 kernel clock source selection Set and reset by software. 1x: pll2_t_ck selected as kernel peripheral clock.

pub const fn octospi2sel(&self) -> Octospisel

XSPI2 kernel clock source selection Set and reset by software. 1x: pll2_t_ck selected as kernel peripheral clock.

pub fn set_octospi2sel(&mut self, val: Octospisel)

XSPI2 kernel clock source selection Set and reset by software. 1x: pll2_t_ck selected as kernel peripheral clock.

pub const fn usbrefcksel(&self) -> Usbrefcksel

USBPHYC kernel clock frequency selection Set and reset by software. This field is used to indicate to the USBPHYC, the frequency of the reference kernel clock provided to the USBPHYC. others: reserved.

pub fn set_usbrefcksel(&mut self, val: Usbrefcksel)

USBPHYC kernel clock frequency selection Set and reset by software. This field is used to indicate to the USBPHYC, the frequency of the reference kernel clock provided to the USBPHYC. others: reserved.

pub const fn usbphycsel(&self) -> Usbphycsel

USBPHYC kernel clock source selection Set and reset by software.

pub fn set_usbphycsel(&mut self, val: Usbphycsel)

USBPHYC kernel clock source selection Set and reset by software.

pub const fn usb_otg_fssel(&self) -> UsbOtgFssel

OTGFS kernel clock source selection Set and reset by software.

pub fn set_usb_otg_fssel(&mut self, val: UsbOtgFssel)

OTGFS kernel clock source selection Set and reset by software.

pub const fn eth_ref_clk_sel(&self) -> EthRefClkSel

Ethernet reference clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.

pub fn set_eth_ref_clk_sel(&mut self, val: EthRefClkSel)

Ethernet reference clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.

pub const fn ethphy_clk_sel(&self) -> EthphyClkSel

Clock source selection for external Ethernet PHY Set and reset by software.

pub fn set_ethphy_clk_sel(&mut self, val: EthphyClkSel)

Clock source selection for external Ethernet PHY Set and reset by software.

pub const fn adfsel(&self) -> Adfsel

ADF kernel clock source selection Set and reset by software. Note: I2S_CKIN is an external clock taken from a pin.

pub fn set_adfsel(&mut self, val: Adfsel)

ADF kernel clock source selection Set and reset by software. Note: I2S_CKIN is an external clock taken from a pin.

pub const fn adcsel(&self) -> Adcsel

SAR ADC kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.

pub fn set_adcsel(&mut self, val: Adcsel)

SAR ADC kernel clock source selection Set and reset by software. others: reserved, the kernel clock is disabled.

pub const fn pssisel(&self) -> Pssisel

PSSI kernel clock source selection Set and reset by software.

pub fn set_pssisel(&mut self, val: Pssisel)

PSSI kernel clock source selection Set and reset by software.

pub const fn persel(&self) -> Persel

per_ck clock source selection.

pub fn set_persel(&mut self, val: Persel)

per_ck clock source selection.

Trait Implementations§

§

impl Clone for Ahbperckselr

§

fn clone(&self) -> Ahbperckselr

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Default for Ahbperckselr

§

fn default() -> Ahbperckselr

Returns the “default value” for a type. Read more
§

impl PartialEq for Ahbperckselr

§

fn eq(&self, other: &Ahbperckselr) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Copy for Ahbperckselr

§

impl Eq for Ahbperckselr

§

impl StructuralPartialEq for Ahbperckselr

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.