atsaml21e15b/
eic.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Control"]
5    pub ctrla: CTRLA,
6    #[doc = "0x01 - NMI Control"]
7    pub nmictrl: NMICTRL,
8    #[doc = "0x02 - NMI Interrupt Flag"]
9    pub nmiflag: NMIFLAG,
10    #[doc = "0x04 - Syncbusy register"]
11    pub syncbusy: SYNCBUSY,
12    #[doc = "0x08 - Event Control"]
13    pub evctrl: EVCTRL,
14    #[doc = "0x0c - Interrupt Enable Clear"]
15    pub intenclr: INTENCLR,
16    #[doc = "0x10 - Interrupt Enable Set"]
17    pub intenset: INTENSET,
18    #[doc = "0x14 - Interrupt Flag Status and Clear"]
19    pub intflag: INTFLAG,
20    #[doc = "0x18 - EIC Asynchronous edge Detection Enable"]
21    pub asynch: ASYNCH,
22    #[doc = "0x1c..0x24 - Configuration n"]
23    pub config: [CONFIG; 2],
24}
25#[doc = "CTRLA (rw) register accessor: an alias for `Reg<CTRLA_SPEC>`"]
26pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
27#[doc = "Control"]
28pub mod ctrla;
29#[doc = "NMICTRL (rw) register accessor: an alias for `Reg<NMICTRL_SPEC>`"]
30pub type NMICTRL = crate::Reg<nmictrl::NMICTRL_SPEC>;
31#[doc = "NMI Control"]
32pub mod nmictrl;
33#[doc = "NMIFLAG (rw) register accessor: an alias for `Reg<NMIFLAG_SPEC>`"]
34pub type NMIFLAG = crate::Reg<nmiflag::NMIFLAG_SPEC>;
35#[doc = "NMI Interrupt Flag"]
36pub mod nmiflag;
37#[doc = "SYNCBUSY (r) register accessor: an alias for `Reg<SYNCBUSY_SPEC>`"]
38pub type SYNCBUSY = crate::Reg<syncbusy::SYNCBUSY_SPEC>;
39#[doc = "Syncbusy register"]
40pub mod syncbusy;
41#[doc = "EVCTRL (rw) register accessor: an alias for `Reg<EVCTRL_SPEC>`"]
42pub type EVCTRL = crate::Reg<evctrl::EVCTRL_SPEC>;
43#[doc = "Event Control"]
44pub mod evctrl;
45#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
46pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
47#[doc = "Interrupt Enable Clear"]
48pub mod intenclr;
49#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
50pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
51#[doc = "Interrupt Enable Set"]
52pub mod intenset;
53#[doc = "INTFLAG (rw) register accessor: an alias for `Reg<INTFLAG_SPEC>`"]
54pub type INTFLAG = crate::Reg<intflag::INTFLAG_SPEC>;
55#[doc = "Interrupt Flag Status and Clear"]
56pub mod intflag;
57#[doc = "ASYNCH (rw) register accessor: an alias for `Reg<ASYNCH_SPEC>`"]
58pub type ASYNCH = crate::Reg<asynch::ASYNCH_SPEC>;
59#[doc = "EIC Asynchronous edge Detection Enable"]
60pub mod asynch;
61#[doc = "CONFIG (rw) register accessor: an alias for `Reg<CONFIG_SPEC>`"]
62pub type CONFIG = crate::Reg<config::CONFIG_SPEC>;
63#[doc = "Configuration n"]
64pub mod config;