[][src]Struct esp_idf_bindgen::rtc_io_desc_t

#[repr(C)]pub struct rtc_io_desc_t {
    pub reg: u32,
    pub mux: u32,
    pub func: u32,
    pub ie: u32,
    pub pullup: u32,
    pub pulldown: u32,
    pub slpsel: u32,
    pub slpie: u32,
    pub slpoe: u32,
    pub hold: u32,
    pub hold_force: u32,
    pub drv_v: u32,
    pub drv_s: u32,
    pub rtc_num: c_int,
}

@brief Pin function information for a single RTCIO pad's.

This is an internal function of the driver, and is not usually useful for external use.

Fields

reg: u32

< Register of RTC pad, or 0 if not an RTC GPIO

mux: u32

< Bit mask for selecting digital pad or RTC pad

func: u32

< Shift of pad function (FUN_SEL) field

ie: u32

< Mask of input enable

pullup: u32

< Mask of pullup enable

pulldown: u32

< Mask of pulldown enable

slpsel: u32

< If slpsel bit is set, slpie will be used as pad input enabled signal in sleep mode

slpie: u32

< Mask of input enable in sleep mode

slpoe: u32

< Mask of output enable in sleep mode

hold: u32

< Mask of hold enable

hold_force: u32

< Mask of hold_force bit for RTC IO in RTC_CNTL_HOLD_REG

drv_v: u32

< Mask of drive capability

drv_s: u32

< Offset of drive capability

rtc_num: c_int

< GPIO number (corresponds to RTC pad)

Trait Implementations

impl Clone for rtc_io_desc_t[src]

impl Copy for rtc_io_desc_t[src]

impl Debug for rtc_io_desc_t[src]

Auto Trait Implementations

impl Send for rtc_io_desc_t

impl Sync for rtc_io_desc_t

impl Unpin for rtc_io_desc_t

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.