Trait pca9539::pins::RefreshableInputPin
source · 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§
sourcefn refresh_bank(&self) -> Result<(), Self::Error>
fn refresh_bank(&self) -> Result<(), Self::Error>
Refreshes the input state of all pins of the same bank
sourcefn refresh_all(&self) -> Result<(), Self::Error>
fn refresh_all(&self) -> Result<(), Self::Error>
Refreshes the input state of all pins (on all banks)