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
#[repr(C)]
#[derive(Debug)]
///Register block
pub struct RegisterBlock {
csr: CSR,
wdata: WDATA,
rdata: RDATA,
}
impl RegisterBlock {
///0x00 - CORDIC control/status register
#[inline(always)]
pub const fn csr(&self) -> &CSR {
&self.csr
}
///0x04 - CORDIC argument register
#[inline(always)]
pub const fn wdata(&self) -> &WDATA {
&self.wdata
}
///0x08 - CORDIC result register
#[inline(always)]
pub const fn rdata(&self) -> &RDATA {
&self.rdata
}
}
/**CSR (rw) register accessor: CORDIC control/status register
You can [`read`](crate::Reg::read) this register and get [`csr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`csr::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/STM32H563.html#CORDIC:CSR)
For information about available fields see [`mod@csr`] module*/
pub type CSR = crate::Reg<csr::CSRrs>;
///CORDIC control/status register
pub mod csr;
/**WDATA (w) register accessor: CORDIC argument register
You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wdata::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32H563.html#CORDIC:WDATA)
For information about available fields see [`mod@wdata`] module*/
pub type WDATA = crate::Reg<wdata::WDATArs>;
///CORDIC argument register
pub mod wdata;
/**RDATA (r) register accessor: CORDIC result register
You can [`read`](crate::Reg::read) this register and get [`rdata::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32H563.html#CORDIC:RDATA)
For information about available fields see [`mod@rdata`] module*/
pub type RDATA = crate::Reg<rdata::RDATArs>;
///CORDIC result register
pub mod rdata;