Filter

Struct Filter 

Source
pub struct Filter {
    pub div1: DIV1,
    pub div2: DIV2,
    pub div3: DIV3,
    pub porta: PORTA<DefaultDiv>,
    pub portb: PORTB<DefaultDiv>,
    pub portc: PORTC<DefaultDiv>,
    pub portd: PORTD<DefaultDiv>,
    pub porte: PORTE<DefaultDiv>,
    pub portf: PORTF<DefaultDiv>,
    pub portg: PORTG<DefaultDiv>,
}
Expand description

Input Filter control

per 11.4 of KEA64 ref man, filter acts as lowpass with adjustable timing. holds the pin in previous state until new state exists for longer than adjustable time. This feature is effectively a lowpass filter.

Fields§

§div1: DIV1

Divisor Controller

§div2: DIV2

Divisor Controller

§div3: DIV3

Divisor Controller

§porta: PORTA<DefaultDiv>

Filterable Port

§portb: PORTB<DefaultDiv>

Filterable Port

§portc: PORTC<DefaultDiv>

Filterable Port

§portd: PORTD<DefaultDiv>

Filterable Port

§porte: PORTE<DefaultDiv>

Filterable Port

§portf: PORTF<DefaultDiv>

Filterable Port

§portg: PORTG<DefaultDiv>

Filterable Port

Implementations§

Source§

impl Filter

Source

pub fn get() -> Self

Get the Filter interface.

Auto Trait Implementations§

§

impl Freeze for Filter

§

impl RefUnwindSafe for Filter

§

impl Send for Filter

§

impl Sync for Filter

§

impl Unpin for Filter

§

impl UnwindSafe for Filter

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> 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.