Struct nrf52svd::timer0::RegisterBlock [] [src]

#[repr(C)]
pub struct RegisterBlock { pub tasks_start: TASKS_START, pub tasks_stop: TASKS_STOP, pub tasks_count: TASKS_COUNT, pub tasks_clear: TASKS_CLEAR, pub tasks_shutdown: TASKS_SHUTDOWN, pub tasks_capture0: TASKS_CAPTURE, pub tasks_capture1: TASKS_CAPTURE, pub tasks_capture2: TASKS_CAPTURE, pub tasks_capture3: TASKS_CAPTURE, pub tasks_capture4: TASKS_CAPTURE, pub tasks_capture5: TASKS_CAPTURE, pub events_compare0: EVENTS_COMPARE, pub events_compare1: EVENTS_COMPARE, pub events_compare2: EVENTS_COMPARE, pub events_compare3: EVENTS_COMPARE, pub events_compare4: EVENTS_COMPARE, pub events_compare5: EVENTS_COMPARE, pub shorts: SHORTS, pub intenset: INTENSET, pub intenclr: INTENCLR, pub mode: MODE, pub bitmode: BITMODE, pub prescaler: PRESCALER, pub cc0: CC, pub cc1: CC, pub cc2: CC, pub cc3: CC, pub cc4: CC, pub cc5: CC, // some fields omitted }

Register block

Fields

0x00 - Start Timer

0x04 - Stop Timer

0x08 - Increment Timer (Counter mode only)

0x0c - Clear time

0x10 - Deprecated register - Shut down timer

0x40 - Description collection[0]: Capture Timer value to CC[0] register

0x44 - Description collection[0]: Capture Timer value to CC[0] register

0x48 - Description collection[0]: Capture Timer value to CC[0] register

0x4c - Description collection[0]: Capture Timer value to CC[0] register

0x50 - Description collection[0]: Capture Timer value to CC[0] register

0x54 - Description collection[0]: Capture Timer value to CC[0] register

0x140 - Description collection[0]: Compare event on CC[0] match

0x144 - Description collection[0]: Compare event on CC[0] match

0x148 - Description collection[0]: Compare event on CC[0] match

0x14c - Description collection[0]: Compare event on CC[0] match

0x150 - Description collection[0]: Compare event on CC[0] match

0x154 - Description collection[0]: Compare event on CC[0] match

0x200 - Shortcut register

0x304 - Enable interrupt

0x308 - Disable interrupt

0x504 - Timer mode selection

0x508 - Configure the number of bits used by the TIMER

0x510 - Timer prescaler register

0x540 - Description collection[0]: Capture/Compare register 0

0x544 - Description collection[0]: Capture/Compare register 0

0x548 - Description collection[0]: Capture/Compare register 0

0x54c - Description collection[0]: Capture/Compare register 0

0x550 - Description collection[0]: Capture/Compare register 0

0x554 - Description collection[0]: Capture/Compare register 0