#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
idcode: IDCODE,
cr: CR,
apb1lfzr: APB1LFZR,
apb1hfzr: APB1HFZR,
apb2fzr: APB2FZR,
apb3fzr: APB3FZR,
_reserved6: [u8; 0x08],
ahb1fzr: AHB1FZR,
_reserved7: [u8; 0xd8],
sr: SR,
dbg_auth_host: DBG_AUTH_HOST,
dbg_auth_device: DBG_AUTH_DEVICE,
dbg_auth_ack: DBG_AUTH_ACK,
_reserved11: [u8; 0x0ec4],
pidr4: PIDR4,
_reserved12: [u8; 0x0c],
pidr0: PIDR0,
pidr1: PIDR1,
pidr2: PIDR2,
pidr3: PIDR3,
cidr0: CIDR0,
cidr1: CIDR1,
cidr2: CIDR2,
cidr3: CIDR3,
}
impl RegisterBlock {
#[doc = "0x00 - DBGMCU identity code register"]
#[inline(always)]
pub const fn idcode(&self) -> &IDCODE {
&self.idcode
}
#[doc = "0x04 - DBGMCU configuration register"]
#[inline(always)]
pub const fn cr(&self) -> &CR {
&self.cr
}
#[doc = "0x08 - DBGMCU APB1L peripheral freeze register"]
#[inline(always)]
pub const fn apb1lfzr(&self) -> &APB1LFZR {
&self.apb1lfzr
}
#[doc = "0x0c - DBGMCU APB1H peripheral freeze register"]
#[inline(always)]
pub const fn apb1hfzr(&self) -> &APB1HFZR {
&self.apb1hfzr
}
#[doc = "0x10 - DBGMCU APB2 peripheral freeze register"]
#[inline(always)]
pub const fn apb2fzr(&self) -> &APB2FZR {
&self.apb2fzr
}
#[doc = "0x14 - DBGMCU APB3 peripheral freeze register"]
#[inline(always)]
pub const fn apb3fzr(&self) -> &APB3FZR {
&self.apb3fzr
}
#[doc = "0x20 - DBGMCU AHB1 peripheral freeze register"]
#[inline(always)]
pub const fn ahb1fzr(&self) -> &AHB1FZR {
&self.ahb1fzr
}
#[doc = "0xfc - DBGMCU status register"]
#[inline(always)]
pub const fn sr(&self) -> &SR {
&self.sr
}
#[doc = "0x100 - DBGMCU debug authentication mailbox host register"]
#[inline(always)]
pub const fn dbg_auth_host(&self) -> &DBG_AUTH_HOST {
&self.dbg_auth_host
}
#[doc = "0x104 - DBGMCU debug authentication mailbox device register"]
#[inline(always)]
pub const fn dbg_auth_device(&self) -> &DBG_AUTH_DEVICE {
&self.dbg_auth_device
}
#[doc = "0x108 - DBGMCU debug authentication mailbox acknowledge register"]
#[inline(always)]
pub const fn dbg_auth_ack(&self) -> &DBG_AUTH_ACK {
&self.dbg_auth_ack
}
#[doc = "0xfd0 - DBGMCU CoreSight peripheral identity register 4"]
#[inline(always)]
pub const fn pidr4(&self) -> &PIDR4 {
&self.pidr4
}
#[doc = "0xfe0 - DBGMCU CoreSight peripheral identity register 0"]
#[inline(always)]
pub const fn pidr0(&self) -> &PIDR0 {
&self.pidr0
}
#[doc = "0xfe4 - DBGMCU CoreSight peripheral identity register 1"]
#[inline(always)]
pub const fn pidr1(&self) -> &PIDR1 {
&self.pidr1
}
#[doc = "0xfe8 - DBGMCU CoreSight peripheral identity register 2"]
#[inline(always)]
pub const fn pidr2(&self) -> &PIDR2 {
&self.pidr2
}
#[doc = "0xfec - DBGMCU CoreSight peripheral identity register 3"]
#[inline(always)]
pub const fn pidr3(&self) -> &PIDR3 {
&self.pidr3
}
#[doc = "0xff0 - DBGMCU CoreSight component identity register 0"]
#[inline(always)]
pub const fn cidr0(&self) -> &CIDR0 {
&self.cidr0
}
#[doc = "0xff4 - DBGMCU CoreSight component identity register 1"]
#[inline(always)]
pub const fn cidr1(&self) -> &CIDR1 {
&self.cidr1
}
#[doc = "0xff8 - DBGMCU CoreSight component identity register 2"]
#[inline(always)]
pub const fn cidr2(&self) -> &CIDR2 {
&self.cidr2
}
#[doc = "0xffc - DBGMCU CoreSight component identity register 3"]
#[inline(always)]
pub const fn cidr3(&self) -> &CIDR3 {
&self.cidr3
}
}
#[doc = "IDCODE (r) register accessor: DBGMCU identity code register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`idcode::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@idcode`]
module"]
pub type IDCODE = crate::Reg<idcode::IDCODErs>;
#[doc = "DBGMCU identity code register"]
pub mod idcode;
#[doc = "CR (rw) register accessor: DBGMCU configuration register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`cr::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`cr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cr`]
module"]
pub type CR = crate::Reg<cr::CRrs>;
#[doc = "DBGMCU configuration register"]
pub mod cr;
#[doc = "APB1LFZR (rw) register accessor: DBGMCU APB1L peripheral freeze register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb1lfzr::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb1lfzr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@apb1lfzr`]
module"]
pub type APB1LFZR = crate::Reg<apb1lfzr::APB1LFZRrs>;
#[doc = "DBGMCU APB1L peripheral freeze register"]
pub mod apb1lfzr;
#[doc = "APB1HFZR (rw) register accessor: DBGMCU APB1H peripheral freeze register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb1hfzr::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb1hfzr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@apb1hfzr`]
module"]
pub type APB1HFZR = crate::Reg<apb1hfzr::APB1HFZRrs>;
#[doc = "DBGMCU APB1H peripheral freeze register"]
pub mod apb1hfzr;
#[doc = "APB2FZR (rw) register accessor: DBGMCU APB2 peripheral freeze register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb2fzr::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb2fzr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@apb2fzr`]
module"]
pub type APB2FZR = crate::Reg<apb2fzr::APB2FZRrs>;
#[doc = "DBGMCU APB2 peripheral freeze register"]
pub mod apb2fzr;
#[doc = "APB3FZR (rw) register accessor: DBGMCU APB3 peripheral freeze register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`apb3fzr::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`apb3fzr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@apb3fzr`]
module"]
pub type APB3FZR = crate::Reg<apb3fzr::APB3FZRrs>;
#[doc = "DBGMCU APB3 peripheral freeze register"]
pub mod apb3fzr;
#[doc = "AHB1FZR (rw) register accessor: DBGMCU AHB1 peripheral freeze register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ahb1fzr::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ahb1fzr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ahb1fzr`]
module"]
pub type AHB1FZR = crate::Reg<ahb1fzr::AHB1FZRrs>;
#[doc = "DBGMCU AHB1 peripheral freeze register"]
pub mod ahb1fzr;
#[doc = "SR (w) register accessor: DBGMCU status register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`sr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@sr`]
module"]
pub type SR = crate::Reg<sr::SRrs>;
#[doc = "DBGMCU status register"]
pub mod sr;
#[doc = "DBG_AUTH_HOST (rw) register accessor: DBGMCU debug authentication mailbox host register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`dbg_auth_host::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`dbg_auth_host::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@dbg_auth_host`]
module"]
pub type DBG_AUTH_HOST = crate::Reg<dbg_auth_host::DBG_AUTH_HOSTrs>;
#[doc = "DBGMCU debug authentication mailbox host register"]
pub mod dbg_auth_host;
#[doc = "DBG_AUTH_DEVICE (r) register accessor: DBGMCU debug authentication mailbox device register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`dbg_auth_device::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@dbg_auth_device`]
module"]
pub type DBG_AUTH_DEVICE = crate::Reg<dbg_auth_device::DBG_AUTH_DEVICErs>;
#[doc = "DBGMCU debug authentication mailbox device register"]
pub mod dbg_auth_device;
#[doc = "DBG_AUTH_ACK (rw) register accessor: DBGMCU debug authentication mailbox acknowledge register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`dbg_auth_ack::R`]. You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`dbg_auth_ack::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@dbg_auth_ack`]
module"]
pub type DBG_AUTH_ACK = crate::Reg<dbg_auth_ack::DBG_AUTH_ACKrs>;
#[doc = "DBGMCU debug authentication mailbox acknowledge register"]
pub mod dbg_auth_ack;
#[doc = "PIDR4 (r) register accessor: DBGMCU CoreSight peripheral identity register 4\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pidr4::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@pidr4`]
module"]
pub type PIDR4 = crate::Reg<pidr4::PIDR4rs>;
#[doc = "DBGMCU CoreSight peripheral identity register 4"]
pub mod pidr4;
#[doc = "PIDR0 (r) register accessor: DBGMCU CoreSight peripheral identity register 0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pidr0::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@pidr0`]
module"]
pub type PIDR0 = crate::Reg<pidr0::PIDR0rs>;
#[doc = "DBGMCU CoreSight peripheral identity register 0"]
pub mod pidr0;
#[doc = "PIDR1 (r) register accessor: DBGMCU CoreSight peripheral identity register 1\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pidr1::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@pidr1`]
module"]
pub type PIDR1 = crate::Reg<pidr1::PIDR1rs>;
#[doc = "DBGMCU CoreSight peripheral identity register 1"]
pub mod pidr1;
#[doc = "PIDR2 (r) register accessor: DBGMCU CoreSight peripheral identity register 2\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pidr2::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@pidr2`]
module"]
pub type PIDR2 = crate::Reg<pidr2::PIDR2rs>;
#[doc = "DBGMCU CoreSight peripheral identity register 2"]
pub mod pidr2;
#[doc = "PIDR3 (r) register accessor: DBGMCU CoreSight peripheral identity register 3\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`pidr3::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@pidr3`]
module"]
pub type PIDR3 = crate::Reg<pidr3::PIDR3rs>;
#[doc = "DBGMCU CoreSight peripheral identity register 3"]
pub mod pidr3;
#[doc = "CIDR0 (r) register accessor: DBGMCU CoreSight component identity register 0\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`cidr0::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cidr0`]
module"]
pub type CIDR0 = crate::Reg<cidr0::CIDR0rs>;
#[doc = "DBGMCU CoreSight component identity register 0"]
pub mod cidr0;
#[doc = "CIDR1 (r) register accessor: DBGMCU CoreSight component identity register 1\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`cidr1::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cidr1`]
module"]
pub type CIDR1 = crate::Reg<cidr1::CIDR1rs>;
#[doc = "DBGMCU CoreSight component identity register 1"]
pub mod cidr1;
#[doc = "CIDR2 (r) register accessor: DBGMCU CoreSight component identity register 2\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`cidr2::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cidr2`]
module"]
pub type CIDR2 = crate::Reg<cidr2::CIDR2rs>;
#[doc = "DBGMCU CoreSight component identity register 2"]
pub mod cidr2;
#[doc = "CIDR3 (r) register accessor: DBGMCU CoreSight component identity register 3\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`cidr3::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cidr3`]
module"]
pub type CIDR3 = crate::Reg<cidr3::CIDR3rs>;
#[doc = "DBGMCU CoreSight component identity register 3"]
pub mod cidr3;