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