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
impl Ahbperckselr
pub fn set_fmcsel(&mut self, val: Fmcsel)
pub fn set_fmcsel(&mut self, val: Fmcsel)
FMC kernel clock source selection Set and reset by software.
pub const fn sdmmcsel(&self) -> Sdmmcsel
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)
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
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)
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
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)
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
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)
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
pub const fn usbphycsel(&self) -> Usbphycsel
USBPHYC kernel clock source selection Set and reset by software.
pub fn set_usbphycsel(&mut self, val: Usbphycsel)
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
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)
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
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)
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
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)
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
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)
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
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)
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 fn set_pssisel(&mut self, val: Pssisel)
pub fn set_pssisel(&mut self, val: Pssisel)
PSSI kernel clock source selection Set and reset by software.
pub fn set_persel(&mut self, val: Persel)
pub fn set_persel(&mut self, val: Persel)
per_ck clock source selection.
Trait Implementations§
§impl Clone for Ahbperckselr
impl Clone for Ahbperckselr
§fn clone(&self) -> Ahbperckselr
fn clone(&self) -> Ahbperckselr
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for Ahbperckselr
impl Default for Ahbperckselr
§fn default() -> Ahbperckselr
fn default() -> Ahbperckselr
§impl PartialEq for Ahbperckselr
impl PartialEq for Ahbperckselr
impl Copy for Ahbperckselr
impl Eq for Ahbperckselr
impl StructuralPartialEq for Ahbperckselr
Auto Trait Implementations§
impl Freeze for Ahbperckselr
impl RefUnwindSafe for Ahbperckselr
impl Send for Ahbperckselr
impl Sync for Ahbperckselr
impl Unpin for Ahbperckselr
impl UnwindSafe for Ahbperckselr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)