#[repr(C)]
pub struct RegisterBlock { pub ctrl: Reg<CTRL_SPEC>, pub port_pol: [Reg<PORT_POL_SPEC>; 2], pub port_ena: [Reg<PORT_ENA_SPEC>; 2], /* private fields */ }
Expand description

Register block

Fields

ctrl: Reg<CTRL_SPEC>

0x00 - GPIO grouped interrupt control register

port_pol: [Reg<PORT_POL_SPEC>; 2]

0x20..0x28 - GPIO grouped interrupt port 0 polarity register

port_ena: [Reg<PORT_ENA_SPEC>; 2]

0x40..0x48 - GPIO grouped interrupt port 0 enable register

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.