#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control A"] pub ctrla: crate::Reg, #[doc = "0x01 - Non-Maskable Interrupt Control"] pub nmictrl: crate::Reg, #[doc = "0x02 - Non-Maskable Interrupt Flag Status and Clear"] pub nmiflag: crate::Reg, #[doc = "0x04 - Synchronization Busy"] pub syncbusy: crate::Reg, #[doc = "0x08 - Event Control"] pub evctrl: crate::Reg, #[doc = "0x0c - Interrupt Enable Clear"] pub intenclr: crate::Reg, #[doc = "0x10 - Interrupt Enable Set"] pub intenset: crate::Reg, #[doc = "0x14 - Interrupt Flag Status and Clear"] pub intflag: crate::Reg, #[doc = "0x18 - External Interrupt Asynchronous Mode"] pub asynch: crate::Reg, #[doc = "0x1c..0x24 - External Interrupt Sense Configuration"] pub config: [crate::Reg; 2], _reserved10: [u8; 0x0c], #[doc = "0x30 - Debouncer Enable"] pub debouncen: crate::Reg, #[doc = "0x34 - Debouncer Prescaler"] pub dprescaler: crate::Reg, #[doc = "0x38 - Pin State"] pub pinstate: crate::Reg, } #[doc = "CTRLA register accessor: an alias for `Reg`"] pub type CTRLA = crate::Reg; #[doc = "Control A"] pub mod ctrla; #[doc = "NMICTRL register accessor: an alias for `Reg`"] pub type NMICTRL = crate::Reg; #[doc = "Non-Maskable Interrupt Control"] pub mod nmictrl; #[doc = "NMIFLAG register accessor: an alias for `Reg`"] pub type NMIFLAG = crate::Reg; #[doc = "Non-Maskable Interrupt Flag Status and Clear"] pub mod nmiflag; #[doc = "SYNCBUSY register accessor: an alias for `Reg`"] pub type SYNCBUSY = crate::Reg; #[doc = "Synchronization Busy"] pub mod syncbusy; #[doc = "EVCTRL register accessor: an alias for `Reg`"] pub type EVCTRL = crate::Reg; #[doc = "Event Control"] pub mod evctrl; #[doc = "INTENCLR register accessor: an alias for `Reg`"] pub type INTENCLR = crate::Reg; #[doc = "Interrupt Enable Clear"] pub mod intenclr; #[doc = "INTENSET register accessor: an alias for `Reg`"] pub type INTENSET = crate::Reg; #[doc = "Interrupt Enable Set"] pub mod intenset; #[doc = "INTFLAG register accessor: an alias for `Reg`"] pub type INTFLAG = crate::Reg; #[doc = "Interrupt Flag Status and Clear"] pub mod intflag; #[doc = "ASYNCH register accessor: an alias for `Reg`"] pub type ASYNCH = crate::Reg; #[doc = "External Interrupt Asynchronous Mode"] pub mod asynch; #[doc = "CONFIG register accessor: an alias for `Reg`"] pub type CONFIG = crate::Reg; #[doc = "External Interrupt Sense Configuration"] pub mod config; #[doc = "DEBOUNCEN register accessor: an alias for `Reg`"] pub type DEBOUNCEN = crate::Reg; #[doc = "Debouncer Enable"] pub mod debouncen; #[doc = "DPRESCALER register accessor: an alias for `Reg`"] pub type DPRESCALER = crate::Reg; #[doc = "Debouncer Prescaler"] pub mod dprescaler; #[doc = "PINSTATE register accessor: an alias for `Reg`"] pub type PINSTATE = crate::Reg; #[doc = "Pin State"] pub mod pinstate;