Struct stm32h7xx_hal::rcc::rec::Fmc [−][src]
Reset, Enable and Clock functionality for Fmc
Reset/Enable Example
let ccdr = ...; // From RCC // Enable the clock to the peripheral and reset it ccdr.peripheral.FMC.enable().reset();
Individual Kernel Clock
This peripheral has its own dedicated kernel clock. See FmcClkSel for possible clock sources.
let ccdr = ...; // From RCC // Set individual kernel clock let fmc_prec = ccdr.peripheral.FMC.kernel_clk_mux(FmcClkSel::XX_clock_soruce_XX); assert_eq!(fmc_prec.get_kernel_clk_mux(), FmcClkSel::XX_clock_source_XX);
Implementations
impl Fmc
[src]
pub fn low_power(self, lpm: LowPowerMode) -> Self
[src]
Set Low Power Mode for peripheral
impl Fmc
[src]
pub fn kernel_clk_mux(self, sel: FmcClkSel) -> Self
[src]
Modify the kernel clock for FMC. See RM0433 Rev 7 Section 8.5.8.
It is possible to switch this clock dynamically without generating spurs or timing violations. However, the user must ensure that both clocks are running. See RM0433 Rev 7 Section 8.5.10.
pub fn get_kernel_clk_mux(&self) -> FmcClkSel
[src]
Return the current kernel clock selection
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,