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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - Control Register"]
    pub cr: CR,
    #[doc = "0x04 - NBYTES Register"]
    pub nbytes: NBYTES,
    #[doc = "0x08 - Timing Register"]
    pub tr: TR,
    #[doc = "0x0c - Receive Holding Register"]
    pub rhr: RHR,
    #[doc = "0x10 - Transmit Holding Register"]
    pub thr: THR,
    #[doc = "0x14 - Packet Error Check Register"]
    pub pecr: PECR,
    #[doc = "0x18 - Status Register"]
    pub sr: SR,
    #[doc = "0x1c - Interrupt Enable Register"]
    pub ier: IER,
    #[doc = "0x20 - Interrupt Disable Register"]
    pub idr: IDR,
    #[doc = "0x24 - Interrupt Mask Register"]
    pub imr: IMR,
    #[doc = "0x28 - Status Clear Register"]
    pub scr: SCR,
    #[doc = "0x2c - Parameter Register"]
    pub pr: PR,
    #[doc = "0x30 - Version Register"]
    pub vr: VR,
    #[doc = "0x34 - HS-mode Timing Register"]
    pub hstr: HSTR,
    #[doc = "0x38 - Slew Rate Register"]
    pub srr: SRR,
    #[doc = "0x3c - HS-mode Slew Rate Register"]
    pub hssrr: HSSRR,
}
#[doc = "CR (rw) register accessor: an alias for `Reg<CR_SPEC>`"]
pub type CR = crate::Reg<cr::CR_SPEC>;
#[doc = "Control Register"]
pub mod cr;
#[doc = "HSSRR (rw) register accessor: an alias for `Reg<HSSRR_SPEC>`"]
pub type HSSRR = crate::Reg<hssrr::HSSRR_SPEC>;
#[doc = "HS-mode Slew Rate Register"]
pub mod hssrr;
#[doc = "HSTR (rw) register accessor: an alias for `Reg<HSTR_SPEC>`"]
pub type HSTR = crate::Reg<hstr::HSTR_SPEC>;
#[doc = "HS-mode Timing Register"]
pub mod hstr;
#[doc = "IDR (w) register accessor: an alias for `Reg<IDR_SPEC>`"]
pub type IDR = crate::Reg<idr::IDR_SPEC>;
#[doc = "Interrupt Disable Register"]
pub mod idr;
#[doc = "IER (w) register accessor: an alias for `Reg<IER_SPEC>`"]
pub type IER = crate::Reg<ier::IER_SPEC>;
#[doc = "Interrupt Enable Register"]
pub mod ier;
#[doc = "IMR (r) register accessor: an alias for `Reg<IMR_SPEC>`"]
pub type IMR = crate::Reg<imr::IMR_SPEC>;
#[doc = "Interrupt Mask Register"]
pub mod imr;
#[doc = "NBYTES (rw) register accessor: an alias for `Reg<NBYTES_SPEC>`"]
pub type NBYTES = crate::Reg<nbytes::NBYTES_SPEC>;
#[doc = "NBYTES Register"]
pub mod nbytes;
#[doc = "PECR (r) register accessor: an alias for `Reg<PECR_SPEC>`"]
pub type PECR = crate::Reg<pecr::PECR_SPEC>;
#[doc = "Packet Error Check Register"]
pub mod pecr;
#[doc = "PR (r) register accessor: an alias for `Reg<PR_SPEC>`"]
pub type PR = crate::Reg<pr::PR_SPEC>;
#[doc = "Parameter Register"]
pub mod pr;
#[doc = "RHR (r) register accessor: an alias for `Reg<RHR_SPEC>`"]
pub type RHR = crate::Reg<rhr::RHR_SPEC>;
#[doc = "Receive Holding Register"]
pub mod rhr;
#[doc = "SCR (w) register accessor: an alias for `Reg<SCR_SPEC>`"]
pub type SCR = crate::Reg<scr::SCR_SPEC>;
#[doc = "Status Clear Register"]
pub mod scr;
#[doc = "SR (r) register accessor: an alias for `Reg<SR_SPEC>`"]
pub type SR = crate::Reg<sr::SR_SPEC>;
#[doc = "Status Register"]
pub mod sr;
#[doc = "SRR (rw) register accessor: an alias for `Reg<SRR_SPEC>`"]
pub type SRR = crate::Reg<srr::SRR_SPEC>;
#[doc = "Slew Rate Register"]
pub mod srr;
#[doc = "THR (w) register accessor: an alias for `Reg<THR_SPEC>`"]
pub type THR = crate::Reg<thr::THR_SPEC>;
#[doc = "Transmit Holding Register"]
pub mod thr;
#[doc = "TR (rw) register accessor: an alias for `Reg<TR_SPEC>`"]
pub type TR = crate::Reg<tr::TR_SPEC>;
#[doc = "Timing Register"]
pub mod tr;
#[doc = "VR (r) register accessor: an alias for `Reg<VR_SPEC>`"]
pub type VR = crate::Reg<vr::VR_SPEC>;
#[doc = "Version Register"]
pub mod vr;