swm341_pac/
div.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - CR register"]
5    pub cr: CR,
6    #[doc = "0x04 - SR register"]
7    pub sr: SR,
8    _reserved2: [u8; 0x08],
9    #[doc = "0x10 - DIVIDEND register"]
10    pub dividend: DIVIDEND,
11    #[doc = "0x14 - DIVISOR register"]
12    pub divisor: DIVISOR,
13    #[doc = "0x18 - QUO register"]
14    pub quo: QUO,
15    #[doc = "0x1c - REMAIN register"]
16    pub remain: REMAIN,
17    #[doc = "0x20 - RADICAND register"]
18    pub radicand: RADICAND,
19    #[doc = "0x24 - ROOT register"]
20    pub root: ROOT,
21}
22#[doc = "CR (rw) register accessor: an alias for `Reg<CR_SPEC>`"]
23pub type CR = crate::Reg<cr::CR_SPEC>;
24#[doc = "CR register"]
25pub mod cr;
26#[doc = "SR (rw) register accessor: an alias for `Reg<SR_SPEC>`"]
27pub type SR = crate::Reg<sr::SR_SPEC>;
28#[doc = "SR register"]
29pub mod sr;
30#[doc = "DIVIDEND (rw) register accessor: an alias for `Reg<DIVIDEND_SPEC>`"]
31pub type DIVIDEND = crate::Reg<dividend::DIVIDEND_SPEC>;
32#[doc = "DIVIDEND register"]
33pub mod dividend;
34#[doc = "DIVISOR (rw) register accessor: an alias for `Reg<DIVISOR_SPEC>`"]
35pub type DIVISOR = crate::Reg<divisor::DIVISOR_SPEC>;
36#[doc = "DIVISOR register"]
37pub mod divisor;
38#[doc = "QUO (rw) register accessor: an alias for `Reg<QUO_SPEC>`"]
39pub type QUO = crate::Reg<quo::QUO_SPEC>;
40#[doc = "QUO register"]
41pub mod quo;
42#[doc = "REMAIN (rw) register accessor: an alias for `Reg<REMAIN_SPEC>`"]
43pub type REMAIN = crate::Reg<remain::REMAIN_SPEC>;
44#[doc = "REMAIN register"]
45pub mod remain;
46#[doc = "RADICAND (rw) register accessor: an alias for `Reg<RADICAND_SPEC>`"]
47pub type RADICAND = crate::Reg<radicand::RADICAND_SPEC>;
48#[doc = "RADICAND register"]
49pub mod radicand;
50#[doc = "ROOT (rw) register accessor: an alias for `Reg<ROOT_SPEC>`"]
51pub type ROOT = crate::Reg<root::ROOT_SPEC>;
52#[doc = "ROOT register"]
53pub mod root;