#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control A"] pub ctrla: CTRLA, #[doc = "0x04 - Control B"] pub ctrlb: CTRLB, #[doc = "0x05 - Interrupt Enable Clear"] pub intenclr: INTENCLR, #[doc = "0x06 - Interrupt Enable Set"] pub intenset: INTENSET, #[doc = "0x07 - Interrupt Flag Status"] pub intflag: INTFLAG, #[doc = "0x08 - Data buffer pointer"] pub databufptr: DATABUFPTR, #[doc = "0x09 - Debug control"] pub dbgctrl: DBGCTRL, _reserved7: [u8; 0x02], #[doc = "0x0c..0x2c - Keyword n"] pub keyword: [KEYWORD; 8], _reserved8: [u8; 0x0c], #[doc = "0x38 - Indata"] pub indata: INDATA, #[doc = "0x3c..0x4c - Initialisation Vector n"] pub intvectv: [INTVECTV; 4], _reserved10: [u8; 0x10], #[doc = "0x5c..0x6c - Hash key n"] pub hashkey: [HASHKEY; 4], #[doc = "0x6c..0x7c - Galois Hash n"] pub ghash: [GHASH; 4], _reserved12: [u8; 0x04], #[doc = "0x80 - Cipher Length"] pub ciplen: CIPLEN, #[doc = "0x84 - Random Seed"] pub randseed: RANDSEED, } #[doc = "CTRLA (rw) register accessor: an alias for `Reg`"] pub type CTRLA = crate::Reg; #[doc = "Control A"] pub mod ctrla; #[doc = "CTRLB (rw) register accessor: an alias for `Reg`"] pub type CTRLB = crate::Reg; #[doc = "Control B"] pub mod ctrlb; #[doc = "INTENCLR (rw) register accessor: an alias for `Reg`"] pub type INTENCLR = crate::Reg; #[doc = "Interrupt Enable Clear"] pub mod intenclr; #[doc = "INTENSET (rw) register accessor: an alias for `Reg`"] pub type INTENSET = crate::Reg; #[doc = "Interrupt Enable Set"] pub mod intenset; #[doc = "INTFLAG (rw) register accessor: an alias for `Reg`"] pub type INTFLAG = crate::Reg; #[doc = "Interrupt Flag Status"] pub mod intflag; #[doc = "DATABUFPTR (rw) register accessor: an alias for `Reg`"] pub type DATABUFPTR = crate::Reg; #[doc = "Data buffer pointer"] pub mod databufptr; #[doc = "DBGCTRL (w) register accessor: an alias for `Reg`"] pub type DBGCTRL = crate::Reg; #[doc = "Debug control"] pub mod dbgctrl; #[doc = "KEYWORD (w) register accessor: an alias for `Reg`"] pub type KEYWORD = crate::Reg; #[doc = "Keyword n"] pub mod keyword; #[doc = "INDATA (rw) register accessor: an alias for `Reg`"] pub type INDATA = crate::Reg; #[doc = "Indata"] pub mod indata; #[doc = "INTVECTV (w) register accessor: an alias for `Reg`"] pub type INTVECTV = crate::Reg; #[doc = "Initialisation Vector n"] pub mod intvectv; #[doc = "HASHKEY (rw) register accessor: an alias for `Reg`"] pub type HASHKEY = crate::Reg; #[doc = "Hash key n"] pub mod hashkey; #[doc = "GHASH (rw) register accessor: an alias for `Reg`"] pub type GHASH = crate::Reg; #[doc = "Galois Hash n"] pub mod ghash; #[doc = "CIPLEN (rw) register accessor: an alias for `Reg`"] pub type CIPLEN = crate::Reg; #[doc = "Cipher Length"] pub mod ciplen; #[doc = "RANDSEED (rw) register accessor: an alias for `Reg`"] pub type RANDSEED = crate::Reg; #[doc = "Random Seed"] pub mod randseed;