Struct nrf51_pac::gpiote::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub tasks_out: [TASKS_OUT; 4],
pub events_in: [EVENTS_IN; 4],
pub events_port: EVENTS_PORT,
pub intenset: INTENSET,
pub intenclr: INTENCLR,
pub config: [CONFIG; 4],
pub power: POWER,
/* private fields */
}
Expand description
Register block
Fields
tasks_out: [TASKS_OUT; 4]
0x00..0x10 - Tasks asssociated with GPIOTE channels.
events_in: [EVENTS_IN; 4]
0x100..0x110 - Tasks asssociated with GPIOTE channels.
events_port: EVENTS_PORT
0x17c - Event generated from multiple pins.
intenset: INTENSET
0x304 - Interrupt enable set register.
intenclr: INTENCLR
0x308 - Interrupt enable clear register.
config: [CONFIG; 4]
0x510..0x520 - Channel configuration registers.
power: POWER
0xffc - Peripheral power control.
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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