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
///Register block
#[repr(C)]
pub struct RegisterBlock {
    ///0x00 - desc CR1
    pub cr1: CR1,
    ///0x04 - desc CR2
    pub cr2: CR2,
    _reserved2: [u8; 0x04],
    ///0x0c - desc DIER
    pub dier: DIER,
    ///0x10 - desc SR
    pub sr: SR,
    ///0x14 - desc EGR
    pub egr: EGR,
    _reserved5: [u8; 0x0c],
    ///0x24 - desc CNT
    pub cnt: CNT,
    ///0x28 - desc PSC
    pub psc: PSC,
    ///0x2c - desc ARR
    pub arr: ARR,
}
///CR1 (rw) register accessor: an alias for `Reg<CR1_SPEC>`
pub type CR1 = crate::Reg<cr1::CR1_SPEC>;
///desc CR1
pub mod cr1;
///CR2 (rw) register accessor: an alias for `Reg<CR2_SPEC>`
pub type CR2 = crate::Reg<cr2::CR2_SPEC>;
///desc CR2
pub mod cr2;
///DIER (rw) register accessor: an alias for `Reg<DIER_SPEC>`
pub type DIER = crate::Reg<dier::DIER_SPEC>;
///desc DIER
pub mod dier;
///SR (rw) register accessor: an alias for `Reg<SR_SPEC>`
pub type SR = crate::Reg<sr::SR_SPEC>;
///desc SR
pub mod sr;
///EGR (w) register accessor: an alias for `Reg<EGR_SPEC>`
pub type EGR = crate::Reg<egr::EGR_SPEC>;
///desc EGR
pub mod egr;
///CNT (rw) register accessor: an alias for `Reg<CNT_SPEC>`
pub type CNT = crate::Reg<cnt::CNT_SPEC>;
///desc CNT
pub mod cnt;
///PSC (rw) register accessor: an alias for `Reg<PSC_SPEC>`
pub type PSC = crate::Reg<psc::PSC_SPEC>;
///desc PSC
pub mod psc;
///ARR (rw) register accessor: an alias for `Reg<ARR_SPEC>`
pub type ARR = crate::Reg<arr::ARR_SPEC>;
///desc ARR
pub mod arr;