Struct kea_hal::port::Filter[][src]

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

impl Filter[src]

pub fn get() -> Self[src]

Get the Filter interface.

Auto Trait Implementations

impl Send for Filter

impl Sync for Filter

impl Unpin for Filter

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

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]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.