1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control A"] pub ctrla: crate::Reg<ctrla::CTRLA_SPEC>, #[doc = "0x01 - Control B"] pub ctrlb: crate::Reg<ctrlb::CTRLB_SPEC>, #[doc = "0x02 - Status"] pub status: crate::Reg<status::STATUS_SPEC>, #[doc = "0x03 - Interrupt Control"] pub intctrl: crate::Reg<intctrl::INTCTRL_SPEC>, #[doc = "0x04 - Interrupt Flags"] pub intflags: crate::Reg<intflags::INTFLAGS_SPEC>, _reserved5: [u8; 1usize], #[doc = "0x06 - Data"] pub data: crate::Reg<data::DATA_SPEC>, #[doc = "0x08 - Address"] pub addr: crate::Reg<addr::ADDR_SPEC>, } #[doc = "ADDR register accessor: an alias for `Reg<ADDR_SPEC>`"] pub type ADDR = crate::Reg<addr::ADDR_SPEC>; #[doc = "Address"] pub mod addr; #[doc = "CTRLA register accessor: an alias for `Reg<CTRLA_SPEC>`"] pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>; #[doc = "Control A"] pub mod ctrla; #[doc = "CTRLB register accessor: an alias for `Reg<CTRLB_SPEC>`"] pub type CTRLB = crate::Reg<ctrlb::CTRLB_SPEC>; #[doc = "Control B"] pub mod ctrlb; #[doc = "DATA register accessor: an alias for `Reg<DATA_SPEC>`"] pub type DATA = crate::Reg<data::DATA_SPEC>; #[doc = "Data"] pub mod data; #[doc = "INTCTRL register accessor: an alias for `Reg<INTCTRL_SPEC>`"] pub type INTCTRL = crate::Reg<intctrl::INTCTRL_SPEC>; #[doc = "Interrupt Control"] pub mod intctrl; #[doc = "INTFLAGS register accessor: an alias for `Reg<INTFLAGS_SPEC>`"] pub type INTFLAGS = crate::Reg<intflags::INTFLAGS_SPEC>; #[doc = "Interrupt Flags"] pub mod intflags; #[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"] pub type STATUS = crate::Reg<status::STATUS_SPEC>; #[doc = "Status"] pub mod status;