pub enum ControlMode {
ForceActive = 0,
MonitorIdle = 1,
}
Expand description
The mode that the device will use to scan for touch events.
This corresponds to the CTRL
register.
Variants§
ForceActive = 0
Force active will force the device to continously scan at it’s full rate.
MonitorIdle = 1
In monitor idle mode, the device will automatically switch to monitor
mode after a timeout period of no touch events in active mode.
The timeout period can be set with FT6x06::set_active_idle_timeout
.
Trait Implementations§
Source§impl Clone for ControlMode
impl Clone for ControlMode
Source§fn clone(&self) -> ControlMode
fn clone(&self) -> ControlMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ControlMode
impl Debug for ControlMode
Source§impl Format for ControlMode
impl Format for ControlMode
Source§impl PartialEq for ControlMode
impl PartialEq for ControlMode
Source§impl TryFrom<u8> for ControlMode
impl TryFrom<u8> for ControlMode
impl Copy for ControlMode
impl StructuralPartialEq for ControlMode
Auto Trait Implementations§
impl Freeze for ControlMode
impl RefUnwindSafe for ControlMode
impl Send for ControlMode
impl Sync for ControlMode
impl Unpin for ControlMode
impl UnwindSafe for ControlMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more