#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
ovrstat: Ovrstat,
ovrclr: Ovrclr,
srsel0: Srsel0,
srsel1: Srsel1,
lnen: Lnen,
}
impl RegisterBlock {
#[doc = "0x00 - Overrun Status"]
#[inline(always)]
pub const fn ovrstat(&self) -> &Ovrstat {
&self.ovrstat
}
#[doc = "0x04 - Overrun Clear"]
#[inline(always)]
pub const fn ovrclr(&self) -> &Ovrclr {
&self.ovrclr
}
#[doc = "0x08 - Service Request Selection 0"]
#[inline(always)]
pub const fn srsel0(&self) -> &Srsel0 {
&self.srsel0
}
#[doc = "0x0c - Service Request Selection 1"]
#[inline(always)]
pub const fn srsel1(&self) -> &Srsel1 {
&self.srsel1
}
#[doc = "0x10 - Line Enable"]
#[inline(always)]
pub const fn lnen(&self) -> &Lnen {
&self.lnen
}
}
#[doc = "OVRSTAT (r) register accessor: Overrun Status\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ovrstat::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ovrstat`]
module"]
#[doc(alias = "OVRSTAT")]
pub type Ovrstat = crate::Reg<ovrstat::OvrstatSpec>;
#[doc = "Overrun Status"]
pub mod ovrstat;
#[doc = "OVRCLR (w) register accessor: Overrun Clear\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ovrclr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ovrclr`]
module"]
#[doc(alias = "OVRCLR")]
pub type Ovrclr = crate::Reg<ovrclr::OvrclrSpec>;
#[doc = "Overrun Clear"]
pub mod ovrclr;
#[doc = "SRSEL0 (rw) register accessor: Service Request Selection 0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`srsel0::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`srsel0::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@srsel0`]
module"]
#[doc(alias = "SRSEL0")]
pub type Srsel0 = crate::Reg<srsel0::Srsel0Spec>;
#[doc = "Service Request Selection 0"]
pub mod srsel0;
#[doc = "SRSEL1 (rw) register accessor: Service Request Selection 1\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`srsel1::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`srsel1::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@srsel1`]
module"]
#[doc(alias = "SRSEL1")]
pub type Srsel1 = crate::Reg<srsel1::Srsel1Spec>;
#[doc = "Service Request Selection 1"]
pub mod srsel1;
#[doc = "LNEN (rw) register accessor: Line Enable\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`lnen::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`lnen::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@lnen`]
module"]
#[doc(alias = "LNEN")]
pub type Lnen = crate::Reg<lnen::LnenSpec>;
#[doc = "Line Enable"]
pub mod lnen;