Trait adafruit_seesaw::modules::EncoderModule
source · pub trait EncoderModule<D: Driver>: GpioModule<D> {
const ENCODER_BTN_PIN: u8;
fn enable_button(&mut self) -> Result<(), SeesawError<D::I2cError>> { ... }
fn button(&mut self) -> Result<bool, SeesawError<D::I2cError>> { ... }
fn delta(&mut self) -> Result<i32, SeesawError<D::I2cError>> { ... }
fn disable_interrupt(&mut self) -> Result<(), SeesawError<D::I2cError>> { ... }
fn enable_interrupt(&mut self) -> Result<(), SeesawError<D::I2cError>> { ... }
fn position(&mut self) -> Result<i32, SeesawError<D::I2cError>> { ... }
fn set_position(&mut self, pos: i32) -> Result<(), SeesawError<D::I2cError>> { ... }
}