#[repr(C)]
pub struct NRF_TIMER_Type {
Show 21 fields pub TASKS_START: u32, pub TASKS_STOP: u32, pub TASKS_COUNT: u32, pub TASKS_CLEAR: u32, pub TASKS_SHUTDOWN: u32, pub RESERVED: [u32; 11], pub TASKS_CAPTURE: [u32; 6], pub RESERVED1: [u32; 58], pub EVENTS_COMPARE: [u32; 6], pub RESERVED2: [u32; 42], pub SHORTS: u32, pub RESERVED3: [u32; 64], pub INTENSET: u32, pub INTENCLR: u32, pub RESERVED4: [u32; 126], pub MODE: u32, pub BITMODE: u32, pub RESERVED5: u32, pub PRESCALER: u32, pub RESERVED6: [u32; 11], pub CC: [u32; 6],
}
Expand description

@brief Timer/Counter 0 (TIMER0)

Fields

TASKS_START: u32

< (@ 0x00000000) Start Timer

TASKS_STOP: u32

< (@ 0x00000004) Stop Timer

TASKS_COUNT: u32

< (@ 0x00000008) Increment Timer (Counter mode only)

TASKS_CLEAR: u32

< (@ 0x0000000C) Clear time

TASKS_SHUTDOWN: u32

< (@ 0x00000010) Deprecated register - Shut down timer

RESERVED: [u32; 11]TASKS_CAPTURE: [u32; 6]

< (@ 0x00000040) Description collection: Capture Timer value to CC[n] register

RESERVED1: [u32; 58]EVENTS_COMPARE: [u32; 6]

< (@ 0x00000140) Description collection: Compare event on CC[n] match

RESERVED2: [u32; 42]SHORTS: u32

< (@ 0x00000200) Shortcuts between local events and tasks

RESERVED3: [u32; 64]INTENSET: u32

< (@ 0x00000304) Enable interrupt

INTENCLR: u32

< (@ 0x00000308) Disable interrupt

RESERVED4: [u32; 126]MODE: u32

< (@ 0x00000504) Timer mode selection

BITMODE: u32

< (@ 0x00000508) Configure the number of bits used by the TIMER

RESERVED5: u32PRESCALER: u32

< (@ 0x00000510) Timer prescaler register

RESERVED6: [u32; 11]CC: [u32; 6]

< (@ 0x00000540) Description collection: Capture/Compare register n

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

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.