#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Start Timer"] pub tasks_start: TASKS_START, #[doc = "0x04 - Stop Timer"] pub tasks_stop: TASKS_STOP, #[doc = "0x08 - Increment Timer (Counter mode only)"] pub tasks_count: TASKS_COUNT, #[doc = "0x0c - Clear time"] pub tasks_clear: TASKS_CLEAR, #[doc = "0x10 - Deprecated register - Shut down timer"] pub tasks_shutdown: TASKS_SHUTDOWN, _reserved5: [u8; 0x2c], #[doc = "0x40..0x58 - Description collection: Capture Timer value to CC\\[n\\] register"] pub tasks_capture: [TASKS_CAPTURE; 6], _reserved6: [u8; 0x28], #[doc = "0x80 - Subscribe configuration for task START"] pub subscribe_start: SUBSCRIBE_START, #[doc = "0x84 - Subscribe configuration for task STOP"] pub subscribe_stop: SUBSCRIBE_STOP, #[doc = "0x88 - Subscribe configuration for task COUNT"] pub subscribe_count: SUBSCRIBE_COUNT, #[doc = "0x8c - Subscribe configuration for task CLEAR"] pub subscribe_clear: SUBSCRIBE_CLEAR, #[doc = "0x90 - Deprecated register - Subscribe configuration for task SHUTDOWN"] pub subscribe_shutdown: SUBSCRIBE_SHUTDOWN, _reserved11: [u8; 0x2c], #[doc = "0xc0..0xd8 - Description collection: Subscribe configuration for task CAPTURE\\[n\\]"] pub subscribe_capture: [SUBSCRIBE_CAPTURE; 6], _reserved12: [u8; 0x68], #[doc = "0x140..0x158 - Description collection: Compare event on CC\\[n\\] match"] pub events_compare: [EVENTS_COMPARE; 6], _reserved13: [u8; 0x68], #[doc = "0x1c0..0x1d8 - Description collection: Publish configuration for event COMPARE\\[n\\]"] pub publish_compare: [PUBLISH_COMPARE; 6], _reserved14: [u8; 0x28], #[doc = "0x200 - Shortcuts between local events and tasks"] pub shorts: SHORTS, _reserved15: [u8; 0x0100], #[doc = "0x304 - Enable interrupt"] pub intenset: INTENSET, #[doc = "0x308 - Disable interrupt"] pub intenclr: INTENCLR, _reserved17: [u8; 0x01f8], #[doc = "0x504 - Timer mode selection"] pub mode: MODE, #[doc = "0x508 - Configure the number of bits used by the TIMER"] pub bitmode: BITMODE, _reserved19: [u8; 0x04], #[doc = "0x510 - Timer prescaler register"] pub prescaler: PRESCALER, #[doc = "0x514..0x52c - Description collection: Enable one-shot operation for Capture/Compare channel n"] pub oneshoten: [ONESHOTEN; 6], _reserved21: [u8; 0x14], #[doc = "0x540..0x558 - Description collection: Capture/Compare register n"] pub cc: [CC; 6], } #[doc = "TASKS_START (w) register accessor: an alias for `Reg`"] pub type TASKS_START = crate::Reg; #[doc = "Start Timer"] pub mod tasks_start; #[doc = "TASKS_STOP (w) register accessor: an alias for `Reg`"] pub type TASKS_STOP = crate::Reg; #[doc = "Stop Timer"] pub mod tasks_stop; #[doc = "TASKS_COUNT (w) register accessor: an alias for `Reg`"] pub type TASKS_COUNT = crate::Reg; #[doc = "Increment Timer (Counter mode only)"] pub mod tasks_count; #[doc = "TASKS_CLEAR (w) register accessor: an alias for `Reg`"] pub type TASKS_CLEAR = crate::Reg; #[doc = "Clear time"] pub mod tasks_clear; #[doc = "TASKS_SHUTDOWN (w) register accessor: an alias for `Reg`"] pub type TASKS_SHUTDOWN = crate::Reg; #[doc = "Deprecated register - Shut down timer"] pub mod tasks_shutdown; #[doc = "TASKS_CAPTURE (w) register accessor: an alias for `Reg`"] pub type TASKS_CAPTURE = crate::Reg; #[doc = "Description collection: Capture Timer value to CC\\[n\\] register"] pub mod tasks_capture; #[doc = "SUBSCRIBE_START (rw) register accessor: an alias for `Reg`"] pub type SUBSCRIBE_START = crate::Reg; #[doc = "Subscribe configuration for task START"] pub mod subscribe_start; #[doc = "SUBSCRIBE_STOP (rw) register accessor: an alias for `Reg`"] pub type SUBSCRIBE_STOP = crate::Reg; #[doc = "Subscribe configuration for task STOP"] pub mod subscribe_stop; #[doc = "SUBSCRIBE_COUNT (rw) register accessor: an alias for `Reg`"] pub type SUBSCRIBE_COUNT = crate::Reg; #[doc = "Subscribe configuration for task COUNT"] pub mod subscribe_count; #[doc = "SUBSCRIBE_CLEAR (rw) register accessor: an alias for `Reg`"] pub type SUBSCRIBE_CLEAR = crate::Reg; #[doc = "Subscribe configuration for task CLEAR"] pub mod subscribe_clear; #[doc = "SUBSCRIBE_SHUTDOWN (rw) register accessor: an alias for `Reg`"] pub type SUBSCRIBE_SHUTDOWN = crate::Reg; #[doc = "Deprecated register - Subscribe configuration for task SHUTDOWN"] pub mod subscribe_shutdown; #[doc = "SUBSCRIBE_CAPTURE (rw) register accessor: an alias for `Reg`"] pub type SUBSCRIBE_CAPTURE = crate::Reg; #[doc = "Description collection: Subscribe configuration for task CAPTURE\\[n\\]"] pub mod subscribe_capture; #[doc = "EVENTS_COMPARE (rw) register accessor: an alias for `Reg`"] pub type EVENTS_COMPARE = crate::Reg; #[doc = "Description collection: Compare event on CC\\[n\\] match"] pub mod events_compare; #[doc = "PUBLISH_COMPARE (rw) register accessor: an alias for `Reg`"] pub type PUBLISH_COMPARE = crate::Reg; #[doc = "Description collection: Publish configuration for event COMPARE\\[n\\]"] pub mod publish_compare; #[doc = "SHORTS (rw) register accessor: an alias for `Reg`"] pub type SHORTS = crate::Reg; #[doc = "Shortcuts between local events and tasks"] pub mod shorts; #[doc = "INTENSET (rw) register accessor: an alias for `Reg`"] pub type INTENSET = crate::Reg; #[doc = "Enable interrupt"] pub mod intenset; #[doc = "INTENCLR (rw) register accessor: an alias for `Reg`"] pub type INTENCLR = crate::Reg; #[doc = "Disable interrupt"] pub mod intenclr; #[doc = "MODE (rw) register accessor: an alias for `Reg`"] pub type MODE = crate::Reg; #[doc = "Timer mode selection"] pub mod mode; #[doc = "BITMODE (rw) register accessor: an alias for `Reg`"] pub type BITMODE = crate::Reg; #[doc = "Configure the number of bits used by the TIMER"] pub mod bitmode; #[doc = "PRESCALER (rw) register accessor: an alias for `Reg`"] pub type PRESCALER = crate::Reg; #[doc = "Timer prescaler register"] pub mod prescaler; #[doc = "ONESHOTEN (rw) register accessor: an alias for `Reg`"] pub type ONESHOTEN = crate::Reg; #[doc = "Description collection: Enable one-shot operation for Capture/Compare channel n"] pub mod oneshoten; #[doc = "CC (rw) register accessor: an alias for `Reg`"] pub type CC = crate::Reg; #[doc = "Description collection: Capture/Compare register n"] pub mod cc;