gd32vf103_pac/
uart3.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Status register"]
5    pub stat: STAT,
6    #[doc = "0x04 - Data register"]
7    pub data: DATA,
8    #[doc = "0x08 - Baud rate register"]
9    pub baud: BAUD,
10    #[doc = "0x0c - Control register 0"]
11    pub ctl0: CTL0,
12    #[doc = "0x10 - Control register 1"]
13    pub ctl1: CTL1,
14    #[doc = "0x14 - Control register 2"]
15    pub ctl2: CTL2,
16    #[doc = "0x18 - Guard time and prescaler register"]
17    pub gp: GP,
18}
19#[doc = "STAT (rw) register accessor: an alias for `Reg<STAT_SPEC>`"]
20pub type STAT = crate::Reg<stat::STAT_SPEC>;
21#[doc = "Status register"]
22pub mod stat;
23#[doc = "DATA (rw) register accessor: an alias for `Reg<DATA_SPEC>`"]
24pub type DATA = crate::Reg<data::DATA_SPEC>;
25#[doc = "Data register"]
26pub mod data;
27#[doc = "BAUD (rw) register accessor: an alias for `Reg<BAUD_SPEC>`"]
28pub type BAUD = crate::Reg<baud::BAUD_SPEC>;
29#[doc = "Baud rate register"]
30pub mod baud;
31#[doc = "CTL0 (rw) register accessor: an alias for `Reg<CTL0_SPEC>`"]
32pub type CTL0 = crate::Reg<ctl0::CTL0_SPEC>;
33#[doc = "Control register 0"]
34pub mod ctl0;
35#[doc = "CTL1 (rw) register accessor: an alias for `Reg<CTL1_SPEC>`"]
36pub type CTL1 = crate::Reg<ctl1::CTL1_SPEC>;
37#[doc = "Control register 1"]
38pub mod ctl1;
39#[doc = "CTL2 (rw) register accessor: an alias for `Reg<CTL2_SPEC>`"]
40pub type CTL2 = crate::Reg<ctl2::CTL2_SPEC>;
41#[doc = "Control register 2"]
42pub mod ctl2;
43#[doc = "GP (rw) register accessor: an alias for `Reg<GP_SPEC>`"]
44pub type GP = crate::Reg<gp::GP_SPEC>;
45#[doc = "Guard time and prescaler register"]
46pub mod gp;