1#[repr(C)]
2#[doc = "Register block"]
3pub struct RegisterBlock {
4 ctrl: Ctrl,
5 status: Status,
6 intfl: Intfl,
7 inten: Inten,
8 fifo: Fifo,
9}
10impl RegisterBlock {
11 #[doc = "0x00 - AES Control Register"]
12 #[inline(always)]
13 pub const fn ctrl(&self) -> &Ctrl {
14 &self.ctrl
15 }
16 #[doc = "0x04 - AES Status Register"]
17 #[inline(always)]
18 pub const fn status(&self) -> &Status {
19 &self.status
20 }
21 #[doc = "0x08 - AES Interrupt Flag Register"]
22 #[inline(always)]
23 pub const fn intfl(&self) -> &Intfl {
24 &self.intfl
25 }
26 #[doc = "0x0c - AES Interrupt Enable Register"]
27 #[inline(always)]
28 pub const fn inten(&self) -> &Inten {
29 &self.inten
30 }
31 #[doc = "0x10 - AES Data Register"]
32 #[inline(always)]
33 pub const fn fifo(&self) -> &Fifo {
34 &self.fifo
35 }
36}
37#[doc = "CTRL (rw) register accessor: AES Control Register\n\nYou can [`read`](crate::Reg::read) this register and get [`ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ctrl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ctrl`]
38module"]
39#[doc(alias = "CTRL")]
40pub type Ctrl = crate::Reg<ctrl::CtrlSpec>;
41#[doc = "AES Control Register"]
42pub mod ctrl;
43#[doc = "STATUS (rw) register accessor: AES Status Register\n\nYou can [`read`](crate::Reg::read) this register and get [`status::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`status::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@status`]
44module"]
45#[doc(alias = "STATUS")]
46pub type Status = crate::Reg<status::StatusSpec>;
47#[doc = "AES Status Register"]
48pub mod status;
49#[doc = "INTFL (rw) register accessor: AES Interrupt Flag Register\n\nYou can [`read`](crate::Reg::read) this register and get [`intfl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`intfl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@intfl`]
50module"]
51#[doc(alias = "INTFL")]
52pub type Intfl = crate::Reg<intfl::IntflSpec>;
53#[doc = "AES Interrupt Flag Register"]
54pub mod intfl;
55#[doc = "INTEN (rw) register accessor: AES Interrupt Enable Register\n\nYou can [`read`](crate::Reg::read) this register and get [`inten::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`inten::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@inten`]
56module"]
57#[doc(alias = "INTEN")]
58pub type Inten = crate::Reg<inten::IntenSpec>;
59#[doc = "AES Interrupt Enable Register"]
60pub mod inten;
61#[doc = "FIFO (rw) register accessor: AES Data Register\n\nYou can [`read`](crate::Reg::read) this register and get [`fifo::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fifo::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fifo`]
62module"]
63#[doc(alias = "FIFO")]
64pub type Fifo = crate::Reg<fifo::FifoSpec>;
65#[doc = "AES Data Register"]
66pub mod fifo;