#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
exisel: Exisel,
_reserved1: [u8; 0x0c],
exicon: [Exicon; 4],
exocon: [Exocon; 4],
}
impl RegisterBlock {
#[doc = "0x00 - Event Input Select"]
#[inline(always)]
pub const fn exisel(&self) -> &Exisel {
&self.exisel
}
#[doc = "0x10..0x20 - Event Input Control"]
#[inline(always)]
pub const fn exicon(&self, n: usize) -> &Exicon {
&self.exicon[n]
}
#[doc = "Iterator for array of:"]
#[doc = "0x10..0x20 - Event Input Control"]
#[inline(always)]
pub fn exicon_iter(&self) -> impl Iterator<Item = &Exicon> {
self.exicon.iter()
}
#[doc = "0x20..0x30 - Event Output Trigger Control"]
#[inline(always)]
pub const fn exocon(&self, n: usize) -> &Exocon {
&self.exocon[n]
}
#[doc = "Iterator for array of:"]
#[doc = "0x20..0x30 - Event Output Trigger Control"]
#[inline(always)]
pub fn exocon_iter(&self) -> impl Iterator<Item = &Exocon> {
self.exocon.iter()
}
}
#[doc = "EXISEL (rw) register accessor: Event Input Select\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`exisel::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 [`exisel::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@exisel`]
module"]
#[doc(alias = "EXISEL")]
pub type Exisel = crate::Reg<exisel::ExiselSpec>;
#[doc = "Event Input Select"]
pub mod exisel;
#[doc = "EXICON (rw) register accessor: Event Input Control\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`exicon::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 [`exicon::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@exicon`]
module"]
#[doc(alias = "EXICON")]
pub type Exicon = crate::Reg<exicon::ExiconSpec>;
#[doc = "Event Input Control"]
pub mod exicon;
#[doc = "EXOCON (rw) register accessor: Event Output Trigger Control\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`exocon::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 [`exocon::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@exocon`]
module"]
#[doc(alias = "EXOCON")]
pub type Exocon = crate::Reg<exocon::ExoconSpec>;
#[doc = "Event Output Trigger Control"]
pub mod exocon;