[][src]Struct esp32::gpio::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub bt_select: BT_SELECT,
    pub out: OUT,
    pub out_w1ts: OUT_W1TS,
    pub out_w1tc: OUT_W1TC,
    pub out1: OUT1,
    pub out1_w1ts: OUT1_W1TS,
    pub out1_w1tc: OUT1_W1TC,
    pub sdio_select: SDIO_SELECT,
    pub enable: ENABLE,
    pub enable_w1ts: ENABLE_W1TS,
    pub enable_w1tc: ENABLE_W1TC,
    pub enable1: ENABLE1,
    pub enable1_w1ts: ENABLE1_W1TS,
    pub enable1_w1tc: ENABLE1_W1TC,
    pub strap: STRAP,
    pub in_: IN,
    pub in1: IN1,
    pub status: STATUS,
    pub status_w1ts: STATUS_W1TS,
    pub status_w1tc: STATUS_W1TC,
    pub status1: STATUS1,
    pub status1_w1ts: STATUS1_W1TS,
    pub status1_w1tc: STATUS1_W1TC,
    pub acpu_int: ACPU_INT,
    pub acpu_nmi_int: ACPU_NMI_INT,
    pub pcpu_int: PCPU_INT,
    pub pcpu_nmi_int: PCPU_NMI_INT,
    pub cpusdio_int: CPUSDIO_INT,
    pub acpu_int1: ACPU_INT1,
    pub acpu_nmi_int1: ACPU_NMI_INT1,
    pub pcpu_int1: PCPU_INT1,
    pub pcpu_nmi_int1: PCPU_NMI_INT1,
    pub cpusdio_int1: CPUSDIO_INT1,
    pub pin: [PIN; 40],
    pub cali_conf: CALI_CONF,
    pub cali_data: CALI_DATA,
    pub func_in_sel_cfg: [FUNC_IN_SEL_CFG; 256],
    pub func_out_sel_cfg: [FUNC_OUT_SEL_CFG; 40],
    // some fields omitted
}

Register block

Fields

bt_select: BT_SELECT

0x00 - GPIO_BT_SELECT

out: OUT

0x04 - GPIO_OUT

out_w1ts: OUT_W1TS

0x08 - GPIO_OUT_W1TS

out_w1tc: OUT_W1TC

0x0c - GPIO_OUT_W1TC

out1: OUT1

0x10 - GPIO_OUT1

out1_w1ts: OUT1_W1TS

0x14 - GPIO_OUT1_W1TS

out1_w1tc: OUT1_W1TC

0x18 - GPIO_OUT1_W1TC

sdio_select: SDIO_SELECT

0x1c - GPIO_SDIO_SELECT

enable: ENABLE

0x20 - GPIO_ENABLE

enable_w1ts: ENABLE_W1TS

0x24 - GPIO_ENABLE_W1TS

enable_w1tc: ENABLE_W1TC

0x28 - GPIO_ENABLE_W1TC

enable1: ENABLE1

0x2c - GPIO_ENABLE1

enable1_w1ts: ENABLE1_W1TS

0x30 - GPIO_ENABLE1_W1TS

enable1_w1tc: ENABLE1_W1TC

0x34 - GPIO_ENABLE1_W1TC

strap: STRAP

0x38 - GPIO_STRAP

in_: IN

0x3c - GPIO_IN

in1: IN1

0x40 - GPIO_IN1

status: STATUS

0x44 - GPIO_STATUS

status_w1ts: STATUS_W1TS

0x48 - GPIO_STATUS_W1TS

status_w1tc: STATUS_W1TC

0x4c - GPIO_STATUS_W1TC

status1: STATUS1

0x50 - GPIO_STATUS1

status1_w1ts: STATUS1_W1TS

0x54 - GPIO_STATUS1_W1TS

status1_w1tc: STATUS1_W1TC

0x58 - GPIO_STATUS1_W1TC

acpu_int: ACPU_INT

0x60 - GPIO_ACPU_INT

acpu_nmi_int: ACPU_NMI_INT

0x64 - GPIO_ACPU_NMI_INT

pcpu_int: PCPU_INT

0x68 - GPIO_PCPU_INT

pcpu_nmi_int: PCPU_NMI_INT

0x6c - GPIO_PCPU_NMI_INT

cpusdio_int: CPUSDIO_INT

0x70 - GPIO_CPUSDIO_INT

acpu_int1: ACPU_INT1

0x74 - GPIO_ACPU_INT1

acpu_nmi_int1: ACPU_NMI_INT1

0x78 - GPIO_ACPU_NMI_INT1

pcpu_int1: PCPU_INT1

0x7c - GPIO_PCPU_INT1

pcpu_nmi_int1: PCPU_NMI_INT1

0x80 - GPIO_PCPU_NMI_INT1

cpusdio_int1: CPUSDIO_INT1

0x84 - GPIO_CPUSDIO_INT1

pin: [PIN; 40]

0x88 - GPIO_PIN0

cali_conf: CALI_CONF

0x128 - GPIO_cali_conf

cali_data: CALI_DATA

0x12c - GPIO_cali_data

func_in_sel_cfg: [FUNC_IN_SEL_CFG; 256]

0x130 - GPIO_FUNC0_IN_SEL_CFG

func_out_sel_cfg: [FUNC_OUT_SEL_CFG; 40]

0x530 - GPIO_FUNC0_OUT_SEL_CFG

Auto Trait Implementations

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.