Struct esp_idf_hal::sys::gpio_dev_s

source ·
#[repr(C)]
pub struct gpio_dev_s {
Show 271 fields pub bt_select: u32, pub out: gpio_dev_s__bindgen_ty_1, pub out_w1ts: gpio_dev_s__bindgen_ty_2, pub out_w1tc: gpio_dev_s__bindgen_ty_3, pub reserved_10: u32, pub reserved_14: u32, pub reserved_18: u32, pub sdio_select: gpio_dev_s__bindgen_ty_4, pub enable: gpio_dev_s__bindgen_ty_5, pub enable_w1ts: gpio_dev_s__bindgen_ty_6, pub enable_w1tc: gpio_dev_s__bindgen_ty_7, pub reserved_2c: u32, pub reserved_30: u32, pub reserved_34: u32, pub strap: gpio_dev_s__bindgen_ty_8, pub in_: gpio_dev_s__bindgen_ty_9, pub reserved_40: u32, pub status: gpio_dev_s__bindgen_ty_10, pub status_w1ts: gpio_dev_s__bindgen_ty_11, pub status_w1tc: gpio_dev_s__bindgen_ty_12, pub reserved_50: u32, pub reserved_54: u32, pub reserved_58: u32, pub pcpu_int: gpio_dev_s__bindgen_ty_13, pub pcpu_nmi_int: gpio_dev_s__bindgen_ty_14, pub cpusdio_int: gpio_dev_s__bindgen_ty_15, pub reserved_68: u32, pub reserved_6c: u32, pub reserved_70: u32, pub pin: [gpio_dev_s__bindgen_ty_16; 26], pub reserved_dc: u32, pub reserved_e0: u32, pub reserved_e4: u32, pub reserved_e8: u32, pub reserved_ec: u32, pub reserved_f0: u32, pub reserved_f4: u32, pub reserved_f8: u32, pub reserved_fc: u32, pub reserved_100: u32, pub reserved_104: u32, pub reserved_108: u32, pub reserved_10c: u32, pub reserved_110: u32, pub reserved_114: u32, pub reserved_118: u32, pub reserved_11c: u32, pub reserved_120: u32, pub reserved_124: u32, pub reserved_128: u32, pub reserved_12c: u32, pub reserved_130: u32, pub reserved_134: u32, pub reserved_138: u32, pub reserved_13c: u32, pub reserved_140: u32, pub reserved_144: u32, pub reserved_148: u32, pub status_next: gpio_dev_s__bindgen_ty_17, pub reserved_150: u32, pub func_in_sel_cfg: [gpio_dev_s__bindgen_ty_18; 128], pub reserved_354: u32, pub reserved_358: u32, pub reserved_35c: u32, pub reserved_360: u32, pub reserved_364: u32, pub reserved_368: u32, pub reserved_36c: u32, pub reserved_370: u32, pub reserved_374: u32, pub reserved_378: u32, pub reserved_37c: u32, pub reserved_380: u32, pub reserved_384: u32, pub reserved_388: u32, pub reserved_38c: u32, pub reserved_390: u32, pub reserved_394: u32, pub reserved_398: u32, pub reserved_39c: u32, pub reserved_3a0: u32, pub reserved_3a4: u32, pub reserved_3a8: u32, pub reserved_3ac: u32, pub reserved_3b0: u32, pub reserved_3b4: u32, pub reserved_3b8: u32, pub reserved_3bc: u32, pub reserved_3c0: u32, pub reserved_3c4: u32, pub reserved_3c8: u32, pub reserved_3cc: u32, pub reserved_3d0: u32, pub reserved_3d4: u32, pub reserved_3d8: u32, pub reserved_3dc: u32, pub reserved_3e0: u32, pub reserved_3e4: u32, pub reserved_3e8: u32, pub reserved_3ec: u32, pub reserved_3f0: u32, pub reserved_3f4: u32, pub reserved_3f8: u32, pub reserved_3fc: u32, pub reserved_400: u32, pub reserved_404: u32, pub reserved_408: u32, pub reserved_40c: u32, pub reserved_410: u32, pub reserved_414: u32, pub reserved_418: u32, pub reserved_41c: u32, pub reserved_420: u32, pub reserved_424: u32, pub reserved_428: u32, pub reserved_42c: u32, pub reserved_430: u32, pub reserved_434: u32, pub reserved_438: u32, pub reserved_43c: u32, pub reserved_440: u32, pub reserved_444: u32, pub reserved_448: u32, pub reserved_44c: u32, pub reserved_450: u32, pub reserved_454: u32, pub reserved_458: u32, pub reserved_45c: u32, pub reserved_460: u32, pub reserved_464: u32, pub reserved_468: u32, pub reserved_46c: u32, pub reserved_470: u32, pub reserved_474: u32, pub reserved_478: u32, pub reserved_47c: u32, pub reserved_480: u32, pub reserved_484: u32, pub reserved_488: u32, pub reserved_48c: u32, pub reserved_490: u32, pub reserved_494: u32, pub reserved_498: u32, pub reserved_49c: u32, pub reserved_4a0: u32, pub reserved_4a4: u32, pub reserved_4a8: u32, pub reserved_4ac: u32, pub reserved_4b0: u32, pub reserved_4b4: u32, pub reserved_4b8: u32, pub reserved_4bc: u32, pub reserved_4c0: u32, pub reserved_4c4: u32, pub reserved_4c8: u32, pub reserved_4cc: u32, pub reserved_4d0: u32, pub reserved_4d4: u32, pub reserved_4d8: u32, pub reserved_4dc: u32, pub reserved_4e0: u32, pub reserved_4e4: u32, pub reserved_4e8: u32, pub reserved_4ec: u32, pub reserved_4f0: u32, pub reserved_4f4: u32, pub reserved_4f8: u32, pub reserved_4fc: u32, pub reserved_500: u32, pub reserved_504: u32, pub reserved_508: u32, pub reserved_50c: u32, pub reserved_510: u32, pub reserved_514: u32, pub reserved_518: u32, pub reserved_51c: u32, pub reserved_520: u32, pub reserved_524: u32, pub reserved_528: u32, pub reserved_52c: u32, pub reserved_530: u32, pub reserved_534: u32, pub reserved_538: u32, pub reserved_53c: u32, pub reserved_540: u32, pub reserved_544: u32, pub reserved_548: u32, pub reserved_54c: u32, pub reserved_550: u32, pub func_out_sel_cfg: [gpio_dev_s__bindgen_ty_19; 26], pub reserved_5bc: u32, pub reserved_5c0: u32, pub reserved_5c4: u32, pub reserved_5c8: u32, pub reserved_5cc: u32, pub reserved_5d0: u32, pub reserved_5d4: u32, pub reserved_5d8: u32, pub reserved_5dc: u32, pub reserved_5e0: u32, pub reserved_5e4: u32, pub reserved_5e8: u32, pub reserved_5ec: u32, pub reserved_5f0: u32, pub reserved_5f4: u32, pub reserved_5f8: u32, pub reserved_5fc: u32, pub reserved_600: u32, pub reserved_604: u32, pub reserved_608: u32, pub reserved_60c: u32, pub reserved_610: u32, pub reserved_614: u32, pub reserved_618: u32, pub reserved_61c: u32, pub reserved_620: u32, pub reserved_624: u32, pub reserved_628: u32, pub clock_gate: gpio_dev_s__bindgen_ty_20, pub reserved_630: u32, pub reserved_634: u32, pub reserved_638: u32, pub reserved_63c: u32, pub reserved_640: u32, pub reserved_644: u32, pub reserved_648: u32, pub reserved_64c: u32, pub reserved_650: u32, pub reserved_654: u32, pub reserved_658: u32, pub reserved_65c: u32, pub reserved_660: u32, pub reserved_664: u32, pub reserved_668: u32, pub reserved_66c: u32, pub reserved_670: u32, pub reserved_674: u32, pub reserved_678: u32, pub reserved_67c: u32, pub reserved_680: u32, pub reserved_684: u32, pub reserved_688: u32, pub reserved_68c: u32, pub reserved_690: u32, pub reserved_694: u32, pub reserved_698: u32, pub reserved_69c: u32, pub reserved_6a0: u32, pub reserved_6a4: u32, pub reserved_6a8: u32, pub reserved_6ac: u32, pub reserved_6b0: u32, pub reserved_6b4: u32, pub reserved_6b8: u32, pub reserved_6bc: u32, pub reserved_6c0: u32, pub reserved_6c4: u32, pub reserved_6c8: u32, pub reserved_6cc: u32, pub reserved_6d0: u32, pub reserved_6d4: u32, pub reserved_6d8: u32, pub reserved_6dc: u32, pub reserved_6e0: u32, pub reserved_6e4: u32, pub reserved_6e8: u32, pub reserved_6ec: u32, pub reserved_6f0: u32, pub reserved_6f4: u32, pub reserved_6f8: u32, pub date: gpio_dev_s__bindgen_ty_21,
}

Fields§

§bt_select: u32§out: gpio_dev_s__bindgen_ty_1§out_w1ts: gpio_dev_s__bindgen_ty_2§out_w1tc: gpio_dev_s__bindgen_ty_3§reserved_10: u32§reserved_14: u32§reserved_18: u32§sdio_select: gpio_dev_s__bindgen_ty_4§enable: gpio_dev_s__bindgen_ty_5§enable_w1ts: gpio_dev_s__bindgen_ty_6§enable_w1tc: gpio_dev_s__bindgen_ty_7§reserved_2c: u32§reserved_30: u32§reserved_34: u32§strap: gpio_dev_s__bindgen_ty_8§in_: gpio_dev_s__bindgen_ty_9§reserved_40: u32§status: gpio_dev_s__bindgen_ty_10§status_w1ts: gpio_dev_s__bindgen_ty_11§status_w1tc: gpio_dev_s__bindgen_ty_12§reserved_50: u32§reserved_54: u32§reserved_58: u32§pcpu_int: gpio_dev_s__bindgen_ty_13§pcpu_nmi_int: gpio_dev_s__bindgen_ty_14§cpusdio_int: gpio_dev_s__bindgen_ty_15§reserved_68: u32§reserved_6c: u32§reserved_70: u32§pin: [gpio_dev_s__bindgen_ty_16; 26]§reserved_dc: u32§reserved_e0: u32§reserved_e4: u32§reserved_e8: u32§reserved_ec: u32§reserved_f0: u32§reserved_f4: u32§reserved_f8: u32§reserved_fc: u32§reserved_100: u32§reserved_104: u32§reserved_108: u32§reserved_10c: u32§reserved_110: u32§reserved_114: u32§reserved_118: u32§reserved_11c: u32§reserved_120: u32§reserved_124: u32§reserved_128: u32§reserved_12c: u32§reserved_130: u32§reserved_134: u32§reserved_138: u32§reserved_13c: u32§reserved_140: u32§reserved_144: u32§reserved_148: u32§status_next: gpio_dev_s__bindgen_ty_17§reserved_150: u32§func_in_sel_cfg: [gpio_dev_s__bindgen_ty_18; 128]§reserved_354: u32§reserved_358: u32§reserved_35c: u32§reserved_360: u32§reserved_364: u32§reserved_368: u32§reserved_36c: u32§reserved_370: u32§reserved_374: u32§reserved_378: u32§reserved_37c: u32§reserved_380: u32§reserved_384: u32§reserved_388: u32§reserved_38c: u32§reserved_390: u32§reserved_394: u32§reserved_398: u32§reserved_39c: u32§reserved_3a0: u32§reserved_3a4: u32§reserved_3a8: u32§reserved_3ac: u32§reserved_3b0: u32§reserved_3b4: u32§reserved_3b8: u32§reserved_3bc: u32§reserved_3c0: u32§reserved_3c4: u32§reserved_3c8: u32§reserved_3cc: u32§reserved_3d0: u32§reserved_3d4: u32§reserved_3d8: u32§reserved_3dc: u32§reserved_3e0: u32§reserved_3e4: u32§reserved_3e8: u32§reserved_3ec: u32§reserved_3f0: u32§reserved_3f4: u32§reserved_3f8: u32§reserved_3fc: u32§reserved_400: u32§reserved_404: u32§reserved_408: u32§reserved_40c: u32§reserved_410: u32§reserved_414: u32§reserved_418: u32§reserved_41c: u32§reserved_420: u32§reserved_424: u32§reserved_428: u32§reserved_42c: u32§reserved_430: u32§reserved_434: u32§reserved_438: u32§reserved_43c: u32§reserved_440: u32§reserved_444: u32§reserved_448: u32§reserved_44c: u32§reserved_450: u32§reserved_454: u32§reserved_458: u32§reserved_45c: u32§reserved_460: u32§reserved_464: u32§reserved_468: u32§reserved_46c: u32§reserved_470: u32§reserved_474: u32§reserved_478: u32§reserved_47c: u32§reserved_480: u32§reserved_484: u32§reserved_488: u32§reserved_48c: u32§reserved_490: u32§reserved_494: u32§reserved_498: u32§reserved_49c: u32§reserved_4a0: u32§reserved_4a4: u32§reserved_4a8: u32§reserved_4ac: u32§reserved_4b0: u32§reserved_4b4: u32§reserved_4b8: u32§reserved_4bc: u32§reserved_4c0: u32§reserved_4c4: u32§reserved_4c8: u32§reserved_4cc: u32§reserved_4d0: u32§reserved_4d4: u32§reserved_4d8: u32§reserved_4dc: u32§reserved_4e0: u32§reserved_4e4: u32§reserved_4e8: u32§reserved_4ec: u32§reserved_4f0: u32§reserved_4f4: u32§reserved_4f8: u32§reserved_4fc: u32§reserved_500: u32§reserved_504: u32§reserved_508: u32§reserved_50c: u32§reserved_510: u32§reserved_514: u32§reserved_518: u32§reserved_51c: u32§reserved_520: u32§reserved_524: u32§reserved_528: u32§reserved_52c: u32§reserved_530: u32§reserved_534: u32§reserved_538: u32§reserved_53c: u32§reserved_540: u32§reserved_544: u32§reserved_548: u32§reserved_54c: u32§reserved_550: u32§func_out_sel_cfg: [gpio_dev_s__bindgen_ty_19; 26]§reserved_5bc: u32§reserved_5c0: u32§reserved_5c4: u32§reserved_5c8: u32§reserved_5cc: u32§reserved_5d0: u32§reserved_5d4: u32§reserved_5d8: u32§reserved_5dc: u32§reserved_5e0: u32§reserved_5e4: u32§reserved_5e8: u32§reserved_5ec: u32§reserved_5f0: u32§reserved_5f4: u32§reserved_5f8: u32§reserved_5fc: u32§reserved_600: u32§reserved_604: u32§reserved_608: u32§reserved_60c: u32§reserved_610: u32§reserved_614: u32§reserved_618: u32§reserved_61c: u32§reserved_620: u32§reserved_624: u32§reserved_628: u32§clock_gate: gpio_dev_s__bindgen_ty_20§reserved_630: u32§reserved_634: u32§reserved_638: u32§reserved_63c: u32§reserved_640: u32§reserved_644: u32§reserved_648: u32§reserved_64c: u32§reserved_650: u32§reserved_654: u32§reserved_658: u32§reserved_65c: u32§reserved_660: u32§reserved_664: u32§reserved_668: u32§reserved_66c: u32§reserved_670: u32§reserved_674: u32§reserved_678: u32§reserved_67c: u32§reserved_680: u32§reserved_684: u32§reserved_688: u32§reserved_68c: u32§reserved_690: u32§reserved_694: u32§reserved_698: u32§reserved_69c: u32§reserved_6a0: u32§reserved_6a4: u32§reserved_6a8: u32§reserved_6ac: u32§reserved_6b0: u32§reserved_6b4: u32§reserved_6b8: u32§reserved_6bc: u32§reserved_6c0: u32§reserved_6c4: u32§reserved_6c8: u32§reserved_6cc: u32§reserved_6d0: u32§reserved_6d4: u32§reserved_6d8: u32§reserved_6dc: u32§reserved_6e0: u32§reserved_6e4: u32§reserved_6e8: u32§reserved_6ec: u32§reserved_6f0: u32§reserved_6f4: u32§reserved_6f8: u32§date: gpio_dev_s__bindgen_ty_21

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() -> gpio_dev_s

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: 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> 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> 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.