stm32f4/stm32f413/
dbgmcu.rs

1#[repr(C)]
2#[derive(Debug)]
3///Register block
4pub struct RegisterBlock {
5    idcode: IDCODE,
6    cr: CR,
7    apb1_fz: APB1_FZ,
8    apb2_fz: APB2_FZ,
9}
10impl RegisterBlock {
11    ///0x00 - IDCODE
12    #[inline(always)]
13    pub const fn idcode(&self) -> &IDCODE {
14        &self.idcode
15    }
16    ///0x04 - Control Register
17    #[inline(always)]
18    pub const fn cr(&self) -> &CR {
19        &self.cr
20    }
21    ///0x08 - Debug MCU APB1 Freeze registe
22    #[inline(always)]
23    pub const fn apb1_fz(&self) -> &APB1_FZ {
24        &self.apb1_fz
25    }
26    ///0x0c - Debug MCU APB2 Freeze registe
27    #[inline(always)]
28    pub const fn apb2_fz(&self) -> &APB2_FZ {
29        &self.apb2_fz
30    }
31}
32/**IDCODE (r) register accessor: IDCODE
33
34You can [`read`](crate::Reg::read) this register and get [`idcode::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
35
36See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F413.html#DBGMCU:IDCODE)
37
38For information about available fields see [`mod@idcode`] module*/
39pub type IDCODE = crate::Reg<idcode::IDCODErs>;
40///IDCODE
41pub mod idcode;
42/**CR (rw) register accessor: Control Register
43
44You can [`read`](crate::Reg::read) this register and get [`cr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
45
46See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F413.html#DBGMCU:CR)
47
48For information about available fields see [`mod@cr`] module*/
49pub type CR = crate::Reg<cr::CRrs>;
50///Control Register
51pub mod cr;
52/**APB1_FZ (rw) register accessor: Debug MCU APB1 Freeze registe
53
54You can [`read`](crate::Reg::read) this register and get [`apb1_fz::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`apb1_fz::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
55
56See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F413.html#DBGMCU:APB1_FZ)
57
58For information about available fields see [`mod@apb1_fz`] module*/
59pub type APB1_FZ = crate::Reg<apb1_fz::APB1_FZrs>;
60///Debug MCU APB1 Freeze registe
61pub mod apb1_fz;
62/**APB2_FZ (rw) register accessor: Debug MCU APB2 Freeze registe
63
64You can [`read`](crate::Reg::read) this register and get [`apb2_fz::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`apb2_fz::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
65
66See register [structure](https://stm32-rs.github.io/stm32-rs/STM32F413.html#DBGMCU:APB2_FZ)
67
68For information about available fields see [`mod@apb2_fz`] module*/
69pub type APB2_FZ = crate::Reg<apb2_fz::APB2_FZrs>;
70///Debug MCU APB2 Freeze registe
71pub mod apb2_fz;