pub trait ConfigureInputFilterClock {
type Debouncing: ConfigureInputFilterClock;
type SlowClock: ConfigureInputFilterClock;
// Required methods
fn debouncing_filter(self) -> Self::Debouncing;
unsafe fn debouncing_filter_unchecked(self) -> Self::Debouncing;
fn slow_clock_filter(self) -> Self::SlowClock;
unsafe fn slow_clock_filter_unchecked(self) -> Self::SlowClock;
}Expand description
§Input filter clock configuration
For further details, refer to the module-level documentation for links to the relevant device manuals.
Required Associated Types§
Required Methods§
Sourcefn debouncing_filter(self) -> Self::Debouncing
fn debouncing_filter(self) -> Self::Debouncing
Select the debouncing filter clock for this pin.
Sourceunsafe fn debouncing_filter_unchecked(self) -> Self::Debouncing
unsafe fn debouncing_filter_unchecked(self) -> Self::Debouncing
Select the debouncing filter clock without waiting for the status register to update.
§Safety
This function returns a type showing that this pin has the debouncing clock selected, but
the clock isn’t actually selected until the corresponding bit in PIO_IFDGSR is cleared.
Sourcefn slow_clock_filter(self) -> Self::SlowClock
fn slow_clock_filter(self) -> Self::SlowClock
Select the slow clock filter clock for this pin.
Sourceunsafe fn slow_clock_filter_unchecked(self) -> Self::SlowClock
unsafe fn slow_clock_filter_unchecked(self) -> Self::SlowClock
Select the slow clock filter clock without waiting for the status register to update.
§Safety
This function returns a type showing that this pin has the slow clock selected, but the
clock isn’t actually selected until the corresponding bit in PIO_IFDGSR is set.