#[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

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.