1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control A"]
5 pub ctrla: CTRLA,
6 _reserved1: [u8; 0x02],
7 #[doc = "0x04 - Control B"]
8 pub ctrlb: CTRLB,
9 #[doc = "0x08 - NVM Parameter"]
10 pub param: PARAM,
11 #[doc = "0x0c - Interrupt Enable Clear"]
12 pub intenclr: INTENCLR,
13 _reserved4: [u8; 0x03],
14 #[doc = "0x10 - Interrupt Enable Set"]
15 pub intenset: INTENSET,
16 _reserved5: [u8; 0x03],
17 #[doc = "0x14 - Interrupt Flag Status and Clear"]
18 pub intflag: INTFLAG,
19 _reserved6: [u8; 0x03],
20 #[doc = "0x18 - Status"]
21 pub status: STATUS,
22 _reserved7: [u8; 0x02],
23 #[doc = "0x1c - Address"]
24 pub addr: ADDR,
25 #[doc = "0x20 - Lock Section"]
26 pub lock: LOCK,
27}
28#[doc = "CTRLA (rw) register accessor: an alias for `Reg<CTRLA_SPEC>`"]
29pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
30#[doc = "Control A"]
31pub mod ctrla;
32#[doc = "CTRLB (rw) register accessor: an alias for `Reg<CTRLB_SPEC>`"]
33pub type CTRLB = crate::Reg<ctrlb::CTRLB_SPEC>;
34#[doc = "Control B"]
35pub mod ctrlb;
36#[doc = "PARAM (rw) register accessor: an alias for `Reg<PARAM_SPEC>`"]
37pub type PARAM = crate::Reg<param::PARAM_SPEC>;
38#[doc = "NVM Parameter"]
39pub mod param;
40#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
41pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
42#[doc = "Interrupt Enable Clear"]
43pub mod intenclr;
44#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
45pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
46#[doc = "Interrupt Enable Set"]
47pub mod intenset;
48#[doc = "INTFLAG (rw) register accessor: an alias for `Reg<INTFLAG_SPEC>`"]
49pub type INTFLAG = crate::Reg<intflag::INTFLAG_SPEC>;
50#[doc = "Interrupt Flag Status and Clear"]
51pub mod intflag;
52#[doc = "STATUS (rw) register accessor: an alias for `Reg<STATUS_SPEC>`"]
53pub type STATUS = crate::Reg<status::STATUS_SPEC>;
54#[doc = "Status"]
55pub mod status;
56#[doc = "ADDR (rw) register accessor: an alias for `Reg<ADDR_SPEC>`"]
57pub type ADDR = crate::Reg<addr::ADDR_SPEC>;
58#[doc = "Address"]
59pub mod addr;
60#[doc = "LOCK (rw) register accessor: an alias for `Reg<LOCK_SPEC>`"]
61pub type LOCK = crate::Reg<lock::LOCK_SPEC>;
62#[doc = "Lock Section"]
63pub mod lock;