1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control Register"]
5 pub cr: CR,
6 #[doc = "0x04 - NBYTES Register"]
7 pub nbytes: NBYTES,
8 #[doc = "0x08 - Timing Register"]
9 pub tr: TR,
10 #[doc = "0x0c - Receive Holding Register"]
11 pub rhr: RHR,
12 #[doc = "0x10 - Transmit Holding Register"]
13 pub thr: THR,
14 #[doc = "0x14 - Packet Error Check Register"]
15 pub pecr: PECR,
16 #[doc = "0x18 - Status Register"]
17 pub sr: SR,
18 #[doc = "0x1c - Interrupt Enable Register"]
19 pub ier: IER,
20 #[doc = "0x20 - Interrupt Disable Register"]
21 pub idr: IDR,
22 #[doc = "0x24 - Interrupt Mask Register"]
23 pub imr: IMR,
24 #[doc = "0x28 - Status Clear Register"]
25 pub scr: SCR,
26 #[doc = "0x2c - Parameter Register"]
27 pub pr: PR,
28 #[doc = "0x30 - Version Register"]
29 pub vr: VR,
30 #[doc = "0x34 - HS-mode Timing Register"]
31 pub hstr: HSTR,
32 #[doc = "0x38 - Slew Rate Register"]
33 pub srr: SRR,
34 #[doc = "0x3c - HS-mode Slew Rate Register"]
35 pub hssrr: HSSRR,
36}
37#[doc = "CR (rw) register accessor: an alias for `Reg<CR_SPEC>`"]
38pub type CR = crate::Reg<cr::CR_SPEC>;
39#[doc = "Control Register"]
40pub mod cr;
41#[doc = "HSSRR (rw) register accessor: an alias for `Reg<HSSRR_SPEC>`"]
42pub type HSSRR = crate::Reg<hssrr::HSSRR_SPEC>;
43#[doc = "HS-mode Slew Rate Register"]
44pub mod hssrr;
45#[doc = "HSTR (rw) register accessor: an alias for `Reg<HSTR_SPEC>`"]
46pub type HSTR = crate::Reg<hstr::HSTR_SPEC>;
47#[doc = "HS-mode Timing Register"]
48pub mod hstr;
49#[doc = "IDR (w) register accessor: an alias for `Reg<IDR_SPEC>`"]
50pub type IDR = crate::Reg<idr::IDR_SPEC>;
51#[doc = "Interrupt Disable Register"]
52pub mod idr;
53#[doc = "IER (w) register accessor: an alias for `Reg<IER_SPEC>`"]
54pub type IER = crate::Reg<ier::IER_SPEC>;
55#[doc = "Interrupt Enable Register"]
56pub mod ier;
57#[doc = "IMR (r) register accessor: an alias for `Reg<IMR_SPEC>`"]
58pub type IMR = crate::Reg<imr::IMR_SPEC>;
59#[doc = "Interrupt Mask Register"]
60pub mod imr;
61#[doc = "NBYTES (rw) register accessor: an alias for `Reg<NBYTES_SPEC>`"]
62pub type NBYTES = crate::Reg<nbytes::NBYTES_SPEC>;
63#[doc = "NBYTES Register"]
64pub mod nbytes;
65#[doc = "PECR (r) register accessor: an alias for `Reg<PECR_SPEC>`"]
66pub type PECR = crate::Reg<pecr::PECR_SPEC>;
67#[doc = "Packet Error Check Register"]
68pub mod pecr;
69#[doc = "PR (r) register accessor: an alias for `Reg<PR_SPEC>`"]
70pub type PR = crate::Reg<pr::PR_SPEC>;
71#[doc = "Parameter Register"]
72pub mod pr;
73#[doc = "RHR (r) register accessor: an alias for `Reg<RHR_SPEC>`"]
74pub type RHR = crate::Reg<rhr::RHR_SPEC>;
75#[doc = "Receive Holding Register"]
76pub mod rhr;
77#[doc = "SCR (w) register accessor: an alias for `Reg<SCR_SPEC>`"]
78pub type SCR = crate::Reg<scr::SCR_SPEC>;
79#[doc = "Status Clear Register"]
80pub mod scr;
81#[doc = "SR (r) register accessor: an alias for `Reg<SR_SPEC>`"]
82pub type SR = crate::Reg<sr::SR_SPEC>;
83#[doc = "Status Register"]
84pub mod sr;
85#[doc = "SRR (rw) register accessor: an alias for `Reg<SRR_SPEC>`"]
86pub type SRR = crate::Reg<srr::SRR_SPEC>;
87#[doc = "Slew Rate Register"]
88pub mod srr;
89#[doc = "THR (w) register accessor: an alias for `Reg<THR_SPEC>`"]
90pub type THR = crate::Reg<thr::THR_SPEC>;
91#[doc = "Transmit Holding Register"]
92pub mod thr;
93#[doc = "TR (rw) register accessor: an alias for `Reg<TR_SPEC>`"]
94pub type TR = crate::Reg<tr::TR_SPEC>;
95#[doc = "Timing Register"]
96pub mod tr;
97#[doc = "VR (r) register accessor: an alias for `Reg<VR_SPEC>`"]
98pub type VR = crate::Reg<vr::VR_SPEC>;
99#[doc = "Version Register"]
100pub mod vr;