Struct esp_idf_svc::hal::sys::touch_pad_sleep_channel_t
source · #[repr(C)]pub struct touch_pad_sleep_channel_t {
pub touch_num: u32,
pub en_proximity: bool,
}
Expand description
Touch sensor channel sleep configuration
Fields§
§touch_num: u32
<Set touch channel number for sleep pad.
Only one touch sensor channel is supported in deep sleep mode.
If clear the sleep channel, point this pad to TOUCH_PAD_NUM0
en_proximity: bool
<enable proximity function for sleep pad
Trait Implementations§
source§impl Clone for touch_pad_sleep_channel_t
impl Clone for touch_pad_sleep_channel_t
source§fn clone(&self) -> touch_pad_sleep_channel_t
fn clone(&self) -> touch_pad_sleep_channel_t
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for touch_pad_sleep_channel_t
impl Debug for touch_pad_sleep_channel_t
source§impl Default for touch_pad_sleep_channel_t
impl Default for touch_pad_sleep_channel_t
source§fn default() -> touch_pad_sleep_channel_t
fn default() -> touch_pad_sleep_channel_t
Returns the “default value” for a type. Read more
impl Copy for touch_pad_sleep_channel_t
Auto Trait Implementations§
impl Freeze for touch_pad_sleep_channel_t
impl RefUnwindSafe for touch_pad_sleep_channel_t
impl Send for touch_pad_sleep_channel_t
impl Sync for touch_pad_sleep_channel_t
impl Unpin for touch_pad_sleep_channel_t
impl UnwindSafe for touch_pad_sleep_channel_t
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)