1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4 exisel: EXISEL,
5 _reserved1: [u8; 0x0c],
6 exicon: [EXICON; 4],
7 exocon: [EXOCON; 4],
8}
9impl RegisterBlock {
10 #[doc = "0x00 - Event Input Select"]
11 #[inline(always)]
12 pub const fn exisel(&self) -> &EXISEL {
13 &self.exisel
14 }
15 #[doc = "0x10..0x20 - Event Input Control"]
16 #[inline(always)]
17 pub const fn exicon(&self, n: usize) -> &EXICON {
18 &self.exicon[n]
19 }
20 #[doc = "Iterator for array of:"]
21 #[doc = "0x10..0x20 - Event Input Control"]
22 #[inline(always)]
23 pub fn exicon_iter(&self) -> impl Iterator<Item = &EXICON> {
24 self.exicon.iter()
25 }
26 #[doc = "0x20..0x30 - Event Output Trigger Control"]
27 #[inline(always)]
28 pub const fn exocon(&self, n: usize) -> &EXOCON {
29 &self.exocon[n]
30 }
31 #[doc = "Iterator for array of:"]
32 #[doc = "0x20..0x30 - Event Output Trigger Control"]
33 #[inline(always)]
34 pub fn exocon_iter(&self) -> impl Iterator<Item = &EXOCON> {
35 self.exocon.iter()
36 }
37}
38#[doc = "EXISEL (rw) register accessor: Event Input Select\n\nYou can [`read`](crate::Reg::read) this register and get [`exisel::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`exisel::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@exisel`]
39module"]
40pub type EXISEL = crate::Reg<exisel::EXISEL_SPEC>;
41#[doc = "Event Input Select"]
42pub mod exisel;
43#[doc = "EXICON (rw) register accessor: Event Input Control\n\nYou can [`read`](crate::Reg::read) this register and get [`exicon::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`exicon::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@exicon`]
44module"]
45pub type EXICON = crate::Reg<exicon::EXICON_SPEC>;
46#[doc = "Event Input Control"]
47pub mod exicon;
48#[doc = "EXOCON (rw) register accessor: Event Output Trigger Control\n\nYou can [`read`](crate::Reg::read) this register and get [`exocon::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`exocon::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@exocon`]
49module"]
50pub type EXOCON = crate::Reg<exocon::EXOCON_SPEC>;
51#[doc = "Event Output Trigger Control"]
52pub mod exocon;