#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
cbctl0: Cbctl0,
cbctl1: Cbctl1,
cbctl2: Cbctl2,
cbctl3: Cbctl3,
_reserved4: [u8; 0x04],
cbint: Cbint,
cbiv: Cbiv,
}
impl RegisterBlock {
#[doc = "0x00 - Comparator B Control Register 0"]
#[inline(always)]
pub const fn cbctl0(&self) -> &Cbctl0 {
&self.cbctl0
}
#[doc = "0x02 - Comparator B Control Register 1"]
#[inline(always)]
pub const fn cbctl1(&self) -> &Cbctl1 {
&self.cbctl1
}
#[doc = "0x04 - Comparator B Control Register 2"]
#[inline(always)]
pub const fn cbctl2(&self) -> &Cbctl2 {
&self.cbctl2
}
#[doc = "0x06 - Comparator B Control Register 3"]
#[inline(always)]
pub const fn cbctl3(&self) -> &Cbctl3 {
&self.cbctl3
}
#[doc = "0x0c - Comparator B Interrupt Register"]
#[inline(always)]
pub const fn cbint(&self) -> &Cbint {
&self.cbint
}
#[doc = "0x0e - Comparator B Interrupt Vector Word"]
#[inline(always)]
pub const fn cbiv(&self) -> &Cbiv {
&self.cbiv
}
}
#[doc = "CBCTL0 (rw) register accessor: Comparator B Control Register 0\n\nYou can [`read`](crate::Reg::read) this register and get [`cbctl0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cbctl0::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@cbctl0`] module"]
#[doc(alias = "CBCTL0")]
pub type Cbctl0 = crate::Reg<cbctl0::Cbctl0Spec>;
#[doc = "Comparator B Control Register 0"]
pub mod cbctl0;
#[doc = "CBCTL1 (rw) register accessor: Comparator B Control Register 1\n\nYou can [`read`](crate::Reg::read) this register and get [`cbctl1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cbctl1::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@cbctl1`] module"]
#[doc(alias = "CBCTL1")]
pub type Cbctl1 = crate::Reg<cbctl1::Cbctl1Spec>;
#[doc = "Comparator B Control Register 1"]
pub mod cbctl1;
#[doc = "CBCTL2 (rw) register accessor: Comparator B Control Register 2\n\nYou can [`read`](crate::Reg::read) this register and get [`cbctl2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cbctl2::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@cbctl2`] module"]
#[doc(alias = "CBCTL2")]
pub type Cbctl2 = crate::Reg<cbctl2::Cbctl2Spec>;
#[doc = "Comparator B Control Register 2"]
pub mod cbctl2;
#[doc = "CBCTL3 (rw) register accessor: Comparator B Control Register 3\n\nYou can [`read`](crate::Reg::read) this register and get [`cbctl3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cbctl3::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@cbctl3`] module"]
#[doc(alias = "CBCTL3")]
pub type Cbctl3 = crate::Reg<cbctl3::Cbctl3Spec>;
#[doc = "Comparator B Control Register 3"]
pub mod cbctl3;
#[doc = "CBINT (rw) register accessor: Comparator B Interrupt Register\n\nYou can [`read`](crate::Reg::read) this register and get [`cbint::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cbint::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@cbint`] module"]
#[doc(alias = "CBINT")]
pub type Cbint = crate::Reg<cbint::CbintSpec>;
#[doc = "Comparator B Interrupt Register"]
pub mod cbint;
#[doc = "CBIV (rw) register accessor: Comparator B Interrupt Vector Word\n\nYou can [`read`](crate::Reg::read) this register and get [`cbiv::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cbiv::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@cbiv`] module"]
#[doc(alias = "CBIV")]
pub type Cbiv = crate::Reg<cbiv::CbivSpec>;
#[doc = "Comparator B Interrupt Vector Word"]
pub mod cbiv;