pic32mx2xx/pic32mx2xxfxxxd/
uart1.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - U1MODE register"]
5    pub mode: MODE,
6    #[doc = "0x04 - U1MODECLR register"]
7    pub modeclr: MODECLR,
8    #[doc = "0x08 - U1MODESET register"]
9    pub modeset: MODESET,
10    #[doc = "0x0c - U1MODEINV register"]
11    pub modeinv: MODEINV,
12    #[doc = "0x10 - U1STA register"]
13    pub sta: STA,
14    #[doc = "0x14 - U1STACLR register"]
15    pub staclr: STACLR,
16    #[doc = "0x18 - U1STASET register"]
17    pub staset: STASET,
18    #[doc = "0x1c - U1STAINV register"]
19    pub stainv: STAINV,
20    #[doc = "0x20 - U1TXREG register"]
21    pub txreg: TXREG,
22    _reserved9: [u8; 0x0c],
23    #[doc = "0x30 - U1RXREG register"]
24    pub rxreg: RXREG,
25    _reserved10: [u8; 0x0c],
26    #[doc = "0x40 - U1BRG register"]
27    pub brg: BRG,
28    #[doc = "0x44 - U1BRGCLR register"]
29    pub brgclr: BRGCLR,
30    #[doc = "0x48 - U1BRGSET register"]
31    pub brgset: BRGSET,
32    #[doc = "0x4c - U1BRGINV register"]
33    pub brginv: BRGINV,
34}
35#[doc = "MODE (rw) register accessor: an alias for `Reg<MODE_SPEC>`"]
36pub type MODE = crate::Reg<mode::MODE_SPEC>;
37#[doc = "U1MODE register"]
38pub mod mode;
39#[doc = "MODECLR (rw) register accessor: an alias for `Reg<MODECLR_SPEC>`"]
40pub type MODECLR = crate::Reg<modeclr::MODECLR_SPEC>;
41#[doc = "U1MODECLR register"]
42pub mod modeclr;
43#[doc = "MODESET (rw) register accessor: an alias for `Reg<MODESET_SPEC>`"]
44pub type MODESET = crate::Reg<modeset::MODESET_SPEC>;
45#[doc = "U1MODESET register"]
46pub mod modeset;
47#[doc = "MODEINV (rw) register accessor: an alias for `Reg<MODEINV_SPEC>`"]
48pub type MODEINV = crate::Reg<modeinv::MODEINV_SPEC>;
49#[doc = "U1MODEINV register"]
50pub mod modeinv;
51#[doc = "STA (rw) register accessor: an alias for `Reg<STA_SPEC>`"]
52pub type STA = crate::Reg<sta::STA_SPEC>;
53#[doc = "U1STA register"]
54pub mod sta;
55#[doc = "STACLR (rw) register accessor: an alias for `Reg<STACLR_SPEC>`"]
56pub type STACLR = crate::Reg<staclr::STACLR_SPEC>;
57#[doc = "U1STACLR register"]
58pub mod staclr;
59#[doc = "STASET (rw) register accessor: an alias for `Reg<STASET_SPEC>`"]
60pub type STASET = crate::Reg<staset::STASET_SPEC>;
61#[doc = "U1STASET register"]
62pub mod staset;
63#[doc = "STAINV (rw) register accessor: an alias for `Reg<STAINV_SPEC>`"]
64pub type STAINV = crate::Reg<stainv::STAINV_SPEC>;
65#[doc = "U1STAINV register"]
66pub mod stainv;
67#[doc = "TXREG (rw) register accessor: an alias for `Reg<TXREG_SPEC>`"]
68pub type TXREG = crate::Reg<txreg::TXREG_SPEC>;
69#[doc = "U1TXREG register"]
70pub mod txreg;
71#[doc = "RXREG (rw) register accessor: an alias for `Reg<RXREG_SPEC>`"]
72pub type RXREG = crate::Reg<rxreg::RXREG_SPEC>;
73#[doc = "U1RXREG register"]
74pub mod rxreg;
75#[doc = "BRG (rw) register accessor: an alias for `Reg<BRG_SPEC>`"]
76pub type BRG = crate::Reg<brg::BRG_SPEC>;
77#[doc = "U1BRG register"]
78pub mod brg;
79#[doc = "BRGCLR (rw) register accessor: an alias for `Reg<BRGCLR_SPEC>`"]
80pub type BRGCLR = crate::Reg<brgclr::BRGCLR_SPEC>;
81#[doc = "U1BRGCLR register"]
82pub mod brgclr;
83#[doc = "BRGSET (rw) register accessor: an alias for `Reg<BRGSET_SPEC>`"]
84pub type BRGSET = crate::Reg<brgset::BRGSET_SPEC>;
85#[doc = "U1BRGSET register"]
86pub mod brgset;
87#[doc = "BRGINV (rw) register accessor: an alias for `Reg<BRGINV_SPEC>`"]
88pub type BRGINV = crate::Reg<brginv::BRGINV_SPEC>;
89#[doc = "U1BRGINV register"]
90pub mod brginv;