[][src]Struct at42qt1070::At42qt1070

pub struct At42qt1070<I2C> { /* fields omitted */ }

Implementations

impl<I2C, E> At42qt1070<I2C> where
    I2C: Write<Error = E> + WriteRead<Error = E>, 
[src]

pub fn new(i2c: I2C) -> At42qt1070<I2C>[src]

pub fn release(self) -> I2C[src]

pub fn device_reg(&self, reg: &Register) -> u8[src]

pub fn wait_calibrated_blocking(&mut self) -> Result<(), E>[src]

pub fn set_negative_threshold(
    &mut self,
    threshold: u8,
    key: Key
) -> Result<(), E>
[src]

pub fn set_ave_aks(&mut self, ave: u8, aks: u8, key: Key) -> Result<(), E>[src]

pub fn set_ave(&mut self, ave: u8, key: Key) -> Result<(), E>[src]

pub fn set_aks(&mut self, aks: u8, key: Key) -> Result<(), E>[src]

pub fn set_detection_integrator(&mut self, di: u8, key: Key) -> Result<(), E>[src]

pub fn set_fo_mc_guard(
    &mut self,
    fast_out: bool,
    max_cal: bool,
    guard_channel: Option<Key>
) -> Result<(), E>
[src]

pub fn set_low_power_mode(&mut self, interval: Duration) -> Result<(), E>[src]

pub fn set_max_on_duration(
    &mut self,
    interval: Option<Duration>
) -> Result<(), E>
[src]

pub fn start_calibrate(&mut self) -> Result<(), E>[src]

pub fn start_reset(&mut self) -> Result<(), E>[src]

pub fn read_cached_chip_id(&self) -> (u8, u8)[src]

pub fn read_chip_id(&mut self) -> Result<(u8, u8), E>[src]

pub fn read_cached_firmware_version(&self) -> u8[src]

pub fn read_firmware_version(&mut self) -> Result<u8, E>[src]

pub fn read_cached_detection_status(&self) -> (bool, bool, bool)[src]

pub fn read_detection_status(&mut self) -> Result<(bool, bool, bool), E>[src]

pub fn read_cached_key_status(&self, key: Key) -> bool[src]

pub fn read_key_status(&mut self, key: Key) -> Result<bool, E>[src]

pub fn read_cached_full_key_status(&self) -> [bool; 7][src]

pub fn read_full_key_status(&mut self) -> Result<[bool; 7], E>[src]

pub fn read_cached_key_signal(&self, key: Key) -> u16[src]

pub fn read_key_signal(&mut self, key: Key) -> Result<u16, E>[src]

pub fn read_cached_reference_data(&self, key: Key) -> u16[src]

pub fn read_reference_data(&mut self, key: Key) -> Result<u16, E>[src]

pub fn read_cached_negative_threshold(&self, key: Key) -> u8[src]

pub fn read_negative_threshold(&mut self, key: Key) -> Result<u8, E>[src]

pub fn read_cached_ave_aks(&self, key: Key) -> (u8, u8)[src]

pub fn read_ave_aks(&mut self, key: Key) -> Result<(u8, u8), E>[src]

pub fn read_cached_detection_integrator(&self, key: Key) -> u8[src]

pub fn read_detection_integrator(&mut self, key: Key) -> Result<u8, E>[src]

pub fn read_cached_fo_mc_guard(&self) -> (bool, bool, u8)[src]

pub fn read_fo_mc_guard(&mut self) -> Result<(bool, bool, u8), E>[src]

pub fn read_cached_low_power_mode(&self) -> Duration[src]

pub fn read_low_power_mode(&mut self) -> Result<Duration, E>[src]

pub fn read_cached_max_on_duration(&self) -> Option<Duration>[src]

pub fn read_max_on_duration(&mut self) -> Result<Option<Duration>, E>[src]

pub fn sync_all(&mut self) -> Result<(), E>[src]

pub fn sync_one(&mut self, reg: &Register) -> Result<(), E>[src]

Auto Trait Implementations

impl<I2C> Send for At42qt1070<I2C> where
    I2C: Send

impl<I2C> Sync for At42qt1070<I2C> where
    I2C: Sync

impl<I2C> Unpin for At42qt1070<I2C> where
    I2C: Unpin

Blanket Implementations

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

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

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

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

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

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.

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.