#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
tactl: Tactl,
tacctl0: Tacctl0,
tacctl1: Tacctl1,
tacctl2: Tacctl2,
tacctl3: Tacctl3,
tacctl4: Tacctl4,
_reserved6: [u8; 0x04],
tar: Tar,
taccr0: Taccr0,
taccr1: Taccr1,
taccr2: Taccr2,
taccr3: Taccr3,
taccr4: Taccr4,
_reserved12: [u8; 0x04],
ta0ex0: Ta0ex0,
_reserved13: [u8; 0x0c],
taiv: Taiv,
}
impl RegisterBlock {
#[doc = "0x00 - Timer0_A5 Control"]
#[inline(always)]
pub const fn tactl(&self) -> &Tactl {
&self.tactl
}
#[doc = "0x02 - Timer0_A5 Capture/Compare Control 0"]
#[inline(always)]
pub const fn tacctl0(&self) -> &Tacctl0 {
&self.tacctl0
}
#[doc = "0x04 - Timer0_A5 Capture/Compare Control 1"]
#[inline(always)]
pub const fn tacctl1(&self) -> &Tacctl1 {
&self.tacctl1
}
#[doc = "0x06 - Timer0_A5 Capture/Compare Control 2"]
#[inline(always)]
pub const fn tacctl2(&self) -> &Tacctl2 {
&self.tacctl2
}
#[doc = "0x08 - Timer0_A5 Capture/Compare Control 3"]
#[inline(always)]
pub const fn tacctl3(&self) -> &Tacctl3 {
&self.tacctl3
}
#[doc = "0x0a - Timer0_A5 Capture/Compare Control 4"]
#[inline(always)]
pub const fn tacctl4(&self) -> &Tacctl4 {
&self.tacctl4
}
#[doc = "0x10 - Timer0_A5"]
#[inline(always)]
pub const fn tar(&self) -> &Tar {
&self.tar
}
#[doc = "0x12 - Timer0_A5 Capture/Compare 0"]
#[inline(always)]
pub const fn taccr0(&self) -> &Taccr0 {
&self.taccr0
}
#[doc = "0x14 - Timer0_A5 Capture/Compare 1"]
#[inline(always)]
pub const fn taccr1(&self) -> &Taccr1 {
&self.taccr1
}
#[doc = "0x16 - Timer0_A5 Capture/Compare 2"]
#[inline(always)]
pub const fn taccr2(&self) -> &Taccr2 {
&self.taccr2
}
#[doc = "0x18 - Timer0_A5 Capture/Compare 3"]
#[inline(always)]
pub const fn taccr3(&self) -> &Taccr3 {
&self.taccr3
}
#[doc = "0x1a - Timer0_A5 Capture/Compare 4"]
#[inline(always)]
pub const fn taccr4(&self) -> &Taccr4 {
&self.taccr4
}
#[doc = "0x20 - Timer0_A5 Expansion Register 0"]
#[inline(always)]
pub const fn ta0ex0(&self) -> &Ta0ex0 {
&self.ta0ex0
}
#[doc = "0x2e - Timer0_A5 Interrupt Vector Word"]
#[inline(always)]
pub const fn taiv(&self) -> &Taiv {
&self.taiv
}
}
#[doc = "TACTL (rw) register accessor: Timer0_A5 Control\n\nYou can [`read`](crate::Reg::read) this register and get [`tactl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tactl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tactl`] module"]
#[doc(alias = "TACTL")]
pub type Tactl = crate::Reg<tactl::TactlSpec>;
#[doc = "Timer0_A5 Control"]
pub mod tactl;
#[doc = "TACCTL0 (rw) register accessor: Timer0_A5 Capture/Compare Control 0\n\nYou can [`read`](crate::Reg::read) this register and get [`tacctl0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tacctl0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tacctl0`] module"]
#[doc(alias = "TACCTL0")]
pub type Tacctl0 = crate::Reg<tacctl0::Tacctl0Spec>;
#[doc = "Timer0_A5 Capture/Compare Control 0"]
pub mod tacctl0;
#[doc = "TACCTL1 (rw) register accessor: Timer0_A5 Capture/Compare Control 1\n\nYou can [`read`](crate::Reg::read) this register and get [`tacctl1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tacctl1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tacctl1`] module"]
#[doc(alias = "TACCTL1")]
pub type Tacctl1 = crate::Reg<tacctl1::Tacctl1Spec>;
#[doc = "Timer0_A5 Capture/Compare Control 1"]
pub mod tacctl1;
#[doc = "TACCTL2 (rw) register accessor: Timer0_A5 Capture/Compare Control 2\n\nYou can [`read`](crate::Reg::read) this register and get [`tacctl2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tacctl2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tacctl2`] module"]
#[doc(alias = "TACCTL2")]
pub type Tacctl2 = crate::Reg<tacctl2::Tacctl2Spec>;
#[doc = "Timer0_A5 Capture/Compare Control 2"]
pub mod tacctl2;
#[doc = "TACCTL3 (rw) register accessor: Timer0_A5 Capture/Compare Control 3\n\nYou can [`read`](crate::Reg::read) this register and get [`tacctl3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tacctl3::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tacctl3`] module"]
#[doc(alias = "TACCTL3")]
pub type Tacctl3 = crate::Reg<tacctl3::Tacctl3Spec>;
#[doc = "Timer0_A5 Capture/Compare Control 3"]
pub mod tacctl3;
#[doc = "TACCTL4 (rw) register accessor: Timer0_A5 Capture/Compare Control 4\n\nYou can [`read`](crate::Reg::read) this register and get [`tacctl4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tacctl4::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tacctl4`] module"]
#[doc(alias = "TACCTL4")]
pub type Tacctl4 = crate::Reg<tacctl4::Tacctl4Spec>;
#[doc = "Timer0_A5 Capture/Compare Control 4"]
pub mod tacctl4;
#[doc = "TAR (rw) register accessor: Timer0_A5\n\nYou can [`read`](crate::Reg::read) this register and get [`tar::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tar::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tar`] module"]
#[doc(alias = "TAR")]
pub type Tar = crate::Reg<tar::TarSpec>;
#[doc = "Timer0_A5"]
pub mod tar;
#[doc = "TACCR0 (rw) register accessor: Timer0_A5 Capture/Compare 0\n\nYou can [`read`](crate::Reg::read) this register and get [`taccr0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`taccr0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@taccr0`] module"]
#[doc(alias = "TACCR0")]
pub type Taccr0 = crate::Reg<taccr0::Taccr0Spec>;
#[doc = "Timer0_A5 Capture/Compare 0"]
pub mod taccr0;
#[doc = "TACCR1 (rw) register accessor: Timer0_A5 Capture/Compare 1\n\nYou can [`read`](crate::Reg::read) this register and get [`taccr1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`taccr1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@taccr1`] module"]
#[doc(alias = "TACCR1")]
pub type Taccr1 = crate::Reg<taccr1::Taccr1Spec>;
#[doc = "Timer0_A5 Capture/Compare 1"]
pub mod taccr1;
#[doc = "TACCR2 (rw) register accessor: Timer0_A5 Capture/Compare 2\n\nYou can [`read`](crate::Reg::read) this register and get [`taccr2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`taccr2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@taccr2`] module"]
#[doc(alias = "TACCR2")]
pub type Taccr2 = crate::Reg<taccr2::Taccr2Spec>;
#[doc = "Timer0_A5 Capture/Compare 2"]
pub mod taccr2;
#[doc = "TACCR3 (rw) register accessor: Timer0_A5 Capture/Compare 3\n\nYou can [`read`](crate::Reg::read) this register and get [`taccr3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`taccr3::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@taccr3`] module"]
#[doc(alias = "TACCR3")]
pub type Taccr3 = crate::Reg<taccr3::Taccr3Spec>;
#[doc = "Timer0_A5 Capture/Compare 3"]
pub mod taccr3;
#[doc = "TACCR4 (rw) register accessor: Timer0_A5 Capture/Compare 4\n\nYou can [`read`](crate::Reg::read) this register and get [`taccr4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`taccr4::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@taccr4`] module"]
#[doc(alias = "TACCR4")]
pub type Taccr4 = crate::Reg<taccr4::Taccr4Spec>;
#[doc = "Timer0_A5 Capture/Compare 4"]
pub mod taccr4;
#[doc = "TA0EX0 (rw) register accessor: Timer0_A5 Expansion Register 0\n\nYou can [`read`](crate::Reg::read) this register and get [`ta0ex0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ta0ex0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ta0ex0`] module"]
#[doc(alias = "TA0EX0")]
pub type Ta0ex0 = crate::Reg<ta0ex0::Ta0ex0Spec>;
#[doc = "Timer0_A5 Expansion Register 0"]
pub mod ta0ex0;
#[doc = "TAIV (rw) register accessor: Timer0_A5 Interrupt Vector Word\n\nYou can [`read`](crate::Reg::read) this register and get [`taiv::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`taiv::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@taiv`] module"]
#[doc(alias = "TAIV")]
pub type Taiv = crate::Reg<taiv::TaivSpec>;
#[doc = "Timer0_A5 Interrupt Vector Word"]
pub mod taiv;