Struct lpc55_pac::gint0::RegisterBlock
source · [−]#[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
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more