Struct esp_idf_sys::gpio_dev_s

source ·
#[repr(C)]
pub struct gpio_dev_s {
Show 39 fields pub bt_select: u32, pub out: u32, pub out_w1ts: u32, pub out_w1tc: u32, pub out1: gpio_dev_s__bindgen_ty_1, pub out1_w1ts: gpio_dev_s__bindgen_ty_2, pub out1_w1tc: gpio_dev_s__bindgen_ty_3, pub sdio_select: gpio_dev_s__bindgen_ty_4, pub enable: u32, pub enable_w1ts: u32, pub enable_w1tc: u32, pub enable1: gpio_dev_s__bindgen_ty_5, pub enable1_w1ts: gpio_dev_s__bindgen_ty_6, pub enable1_w1tc: gpio_dev_s__bindgen_ty_7, pub strap: gpio_dev_s__bindgen_ty_8, pub in_: u32, pub in1: gpio_dev_s__bindgen_ty_9, pub status: u32, pub status_w1ts: u32, pub status_w1tc: u32, pub status1: gpio_dev_s__bindgen_ty_10, pub status1_w1ts: gpio_dev_s__bindgen_ty_11, pub status1_w1tc: gpio_dev_s__bindgen_ty_12, pub reserved_5c: u32, pub acpu_int: u32, pub acpu_nmi_int: u32, pub pcpu_int: u32, pub pcpu_nmi_int: u32, pub cpusdio_int: u32, pub acpu_int1: gpio_dev_s__bindgen_ty_13, pub acpu_nmi_int1: gpio_dev_s__bindgen_ty_14, pub pcpu_int1: gpio_dev_s__bindgen_ty_15, pub pcpu_nmi_int1: gpio_dev_s__bindgen_ty_16, pub cpusdio_int1: gpio_dev_s__bindgen_ty_17, pub pin: [gpio_dev_s__bindgen_ty_18; 40], pub cali_conf: gpio_dev_s__bindgen_ty_19, pub cali_data: gpio_dev_s__bindgen_ty_20, pub func_in_sel_cfg: [gpio_dev_s__bindgen_ty_21; 256], pub func_out_sel_cfg: [gpio_dev_s__bindgen_ty_22; 40],
}

Fields§

§bt_select: u32§out: u32§out_w1ts: u32§out_w1tc: u32§out1: gpio_dev_s__bindgen_ty_1§out1_w1ts: gpio_dev_s__bindgen_ty_2§out1_w1tc: gpio_dev_s__bindgen_ty_3§sdio_select: gpio_dev_s__bindgen_ty_4§enable: u32§enable_w1ts: u32§enable_w1tc: u32§enable1: gpio_dev_s__bindgen_ty_5§enable1_w1ts: gpio_dev_s__bindgen_ty_6§enable1_w1tc: gpio_dev_s__bindgen_ty_7§strap: gpio_dev_s__bindgen_ty_8§in_: u32§in1: gpio_dev_s__bindgen_ty_9§status: u32§status_w1ts: u32§status_w1tc: u32§status1: gpio_dev_s__bindgen_ty_10§status1_w1ts: gpio_dev_s__bindgen_ty_11§status1_w1tc: gpio_dev_s__bindgen_ty_12§reserved_5c: u32§acpu_int: u32§acpu_nmi_int: u32§pcpu_int: u32§pcpu_nmi_int: u32§cpusdio_int: u32§acpu_int1: gpio_dev_s__bindgen_ty_13§acpu_nmi_int1: gpio_dev_s__bindgen_ty_14§pcpu_int1: gpio_dev_s__bindgen_ty_15§pcpu_nmi_int1: gpio_dev_s__bindgen_ty_16§cpusdio_int1: gpio_dev_s__bindgen_ty_17§pin: [gpio_dev_s__bindgen_ty_18; 40]§cali_conf: gpio_dev_s__bindgen_ty_19§cali_data: gpio_dev_s__bindgen_ty_20§func_in_sel_cfg: [gpio_dev_s__bindgen_ty_21; 256]§func_out_sel_cfg: [gpio_dev_s__bindgen_ty_22; 40]

Trait Implementations§

source§

impl Clone for gpio_dev_s

source§

fn clone(&self) -> gpio_dev_s

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for gpio_dev_s

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for gpio_dev_s

Auto Trait Implementations§

§

impl Freeze for gpio_dev_s

§

impl RefUnwindSafe for gpio_dev_s

§

impl Send for gpio_dev_s

§

impl Sync for gpio_dev_s

§

impl Unpin for gpio_dev_s

§

impl UnwindSafe for gpio_dev_s

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Copy,

§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.