pub trait RefreshableInputPin {
    type Error;

    // Required methods
    fn refresh_bank(&self) -> Result<(), Self::Error>;
    fn refresh_all(&self) -> Result<(), Self::Error>;
}
Expand description

Trait for refreshable pins in input mode

Required Associated Types§

Required Methods§

source

fn refresh_bank(&self) -> Result<(), Self::Error>

Refreshes the input state of all pins of the same bank

source

fn refresh_all(&self) -> Result<(), Self::Error>

Refreshes the input state of all pins (on all banks)

Implementors§

source§

impl<'a, B, R> RefreshableInputPin for Pin<'a, B, R, Input, RefreshMode>
where B: Write + Read, R: RefGuard<B>,