Skip to main content

SyscfgExt

Trait SyscfgExt 

Source
pub trait SyscfgExt {
    // Required method
    fn constrain(self, rcu: &mut Rcu) -> Syscfg;
}
Expand description

Takes the raw peripheral into Syscfg.

Required Methods§

Source

fn constrain(self, rcu: &mut Rcu) -> Syscfg

Switches the SYSCFG clock on and hands back the owning type.

The clock bit is shared with the comparator, so CMP is clocked too; see Rcu::enable_cfgcmp.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl SyscfgExt for Syscfg

Source§

fn constrain(self, rcu: &mut Rcu) -> Syscfg

Implementors§