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
#[repr(C)]
#[derive(Debug)]
///Register block
pub struct RegisterBlock {
idcode: IDCODE,
cr: CR,
}
impl RegisterBlock {
///0x00 - DBGMCU_IDCODE
#[inline(always)]
pub const fn idcode(&self) -> &IDCODE {
&self.idcode
}
///0x04 - DBGMCU_CR
#[inline(always)]
pub const fn cr(&self) -> &CR {
&self.cr
}
}
/**IDCODE (r) register accessor: DBGMCU_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/STM32F107.html#DBGMCU:IDCODE)
For information about available fields see [`mod@idcode`] module*/
pub type IDCODE = crate::Reg<idcode::IDCODErs>;
///DBGMCU_IDCODE
pub mod idcode;
/**CR (rw) register accessor: DBGMCU_CR
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/STM32F107.html#DBGMCU:CR)
For information about available fields see [`mod@cr`] module*/
pub type CR = crate::Reg<cr::CRrs>;
///DBGMCU_CR
pub mod cr;