#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
aesactl0: Aesactl0,
_reserved1: [u8; 0x02],
aesastat: Aesastat,
aesakey: Aesakey,
aesadin: Aesadin,
aesadout: Aesadout,
}
impl RegisterBlock {
#[doc = "0x00 - AES accelerator control register 0"]
#[inline(always)]
pub const fn aesactl0(&self) -> &Aesactl0 {
&self.aesactl0
}
#[doc = "0x04 - AES accelerator status register"]
#[inline(always)]
pub const fn aesastat(&self) -> &Aesastat {
&self.aesastat
}
#[doc = "0x06 - AES accelerator key register"]
#[inline(always)]
pub const fn aesakey(&self) -> &Aesakey {
&self.aesakey
}
#[doc = "0x08 - AES accelerator data in register"]
#[inline(always)]
pub const fn aesadin(&self) -> &Aesadin {
&self.aesadin
}
#[doc = "0x0a - AES accelerator data out register"]
#[inline(always)]
pub const fn aesadout(&self) -> &Aesadout {
&self.aesadout
}
}
#[doc = "AESACTL0 (rw) register accessor: AES accelerator control register 0\n\nYou can [`read`](crate::Reg::read) this register and get [`aesactl0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`aesactl0::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@aesactl0`] module"]
#[doc(alias = "AESACTL0")]
pub type Aesactl0 = crate::Reg<aesactl0::Aesactl0Spec>;
#[doc = "AES accelerator control register 0"]
pub mod aesactl0;
#[doc = "AESASTAT (rw) register accessor: AES accelerator status register\n\nYou can [`read`](crate::Reg::read) this register and get [`aesastat::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`aesastat::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@aesastat`] module"]
#[doc(alias = "AESASTAT")]
pub type Aesastat = crate::Reg<aesastat::AesastatSpec>;
#[doc = "AES accelerator status register"]
pub mod aesastat;
#[doc = "AESAKEY (rw) register accessor: AES accelerator key register\n\nYou can [`read`](crate::Reg::read) this register and get [`aesakey::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`aesakey::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@aesakey`] module"]
#[doc(alias = "AESAKEY")]
pub type Aesakey = crate::Reg<aesakey::AesakeySpec>;
#[doc = "AES accelerator key register"]
pub mod aesakey;
#[doc = "AESADIN (rw) register accessor: AES accelerator data in register\n\nYou can [`read`](crate::Reg::read) this register and get [`aesadin::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`aesadin::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@aesadin`] module"]
#[doc(alias = "AESADIN")]
pub type Aesadin = crate::Reg<aesadin::AesadinSpec>;
#[doc = "AES accelerator data in register"]
pub mod aesadin;
#[doc = "AESADOUT (rw) register accessor: AES accelerator data out register\n\nYou can [`read`](crate::Reg::read) this register and get [`aesadout::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`aesadout::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@aesadout`] module"]
#[doc(alias = "AESADOUT")]
pub type Aesadout = crate::Reg<aesadout::AesadoutSpec>;
#[doc = "AES accelerator data out register"]
pub mod aesadout;