avr_device/devices/atmega4809/
usart3.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - Receive Data Low Byte"]
5    pub rxdatal: RXDATAL,
6    #[doc = "0x01 - Receive Data High Byte"]
7    pub rxdatah: RXDATAH,
8    #[doc = "0x02 - Transmit Data Low Byte"]
9    pub txdatal: TXDATAL,
10    #[doc = "0x03 - Transmit Data High Byte"]
11    pub txdatah: TXDATAH,
12    #[doc = "0x04 - Status"]
13    pub status: STATUS,
14    #[doc = "0x05 - Control A"]
15    pub ctrla: CTRLA,
16    #[doc = "0x06 - Control B"]
17    pub ctrlb: CTRLB,
18    #[doc = "0x07 - Control C"]
19    pub ctrlc: CTRLC,
20    #[doc = "0x08 - Baud Rate"]
21    pub baud: BAUD,
22    #[doc = "0x0a - Control D"]
23    pub ctrld: CTRLD,
24    #[doc = "0x0b - Debug Control"]
25    pub dbgctrl: DBGCTRL,
26    #[doc = "0x0c - Event Control"]
27    pub evctrl: EVCTRL,
28    #[doc = "0x0d - IRCOM Transmitter Pulse Length Control"]
29    pub txplctrl: TXPLCTRL,
30    #[doc = "0x0e - IRCOM Receiver Pulse Length Control"]
31    pub rxplctrl: RXPLCTRL,
32}
33#[doc = "BAUD (rw) register accessor: an alias for `Reg<BAUD_SPEC>`"]
34pub type BAUD = crate::Reg<baud::BAUD_SPEC>;
35#[doc = "Baud Rate"]
36pub mod baud;
37#[doc = "CTRLA (rw) register accessor: an alias for `Reg<CTRLA_SPEC>`"]
38pub type CTRLA = crate::Reg<ctrla::CTRLA_SPEC>;
39#[doc = "Control A"]
40pub mod ctrla;
41#[doc = "CTRLB (rw) register accessor: an alias for `Reg<CTRLB_SPEC>`"]
42pub type CTRLB = crate::Reg<ctrlb::CTRLB_SPEC>;
43#[doc = "Control B"]
44pub mod ctrlb;
45#[doc = "CTRLC (rw) register accessor: an alias for `Reg<CTRLC_SPEC>`"]
46pub type CTRLC = crate::Reg<ctrlc::CTRLC_SPEC>;
47#[doc = "Control C"]
48pub mod ctrlc;
49#[doc = "CTRLD (rw) register accessor: an alias for `Reg<CTRLD_SPEC>`"]
50pub type CTRLD = crate::Reg<ctrld::CTRLD_SPEC>;
51#[doc = "Control D"]
52pub mod ctrld;
53#[doc = "DBGCTRL (rw) register accessor: an alias for `Reg<DBGCTRL_SPEC>`"]
54pub type DBGCTRL = crate::Reg<dbgctrl::DBGCTRL_SPEC>;
55#[doc = "Debug Control"]
56pub mod dbgctrl;
57#[doc = "EVCTRL (rw) register accessor: an alias for `Reg<EVCTRL_SPEC>`"]
58pub type EVCTRL = crate::Reg<evctrl::EVCTRL_SPEC>;
59#[doc = "Event Control"]
60pub mod evctrl;
61#[doc = "RXDATAH (r) register accessor: an alias for `Reg<RXDATAH_SPEC>`"]
62pub type RXDATAH = crate::Reg<rxdatah::RXDATAH_SPEC>;
63#[doc = "Receive Data High Byte"]
64pub mod rxdatah;
65#[doc = "RXDATAL (r) register accessor: an alias for `Reg<RXDATAL_SPEC>`"]
66pub type RXDATAL = crate::Reg<rxdatal::RXDATAL_SPEC>;
67#[doc = "Receive Data Low Byte"]
68pub mod rxdatal;
69#[doc = "RXPLCTRL (rw) register accessor: an alias for `Reg<RXPLCTRL_SPEC>`"]
70pub type RXPLCTRL = crate::Reg<rxplctrl::RXPLCTRL_SPEC>;
71#[doc = "IRCOM Receiver Pulse Length Control"]
72pub mod rxplctrl;
73#[doc = "STATUS (rw) register accessor: an alias for `Reg<STATUS_SPEC>`"]
74pub type STATUS = crate::Reg<status::STATUS_SPEC>;
75#[doc = "Status"]
76pub mod status;
77#[doc = "TXDATAH (rw) register accessor: an alias for `Reg<TXDATAH_SPEC>`"]
78pub type TXDATAH = crate::Reg<txdatah::TXDATAH_SPEC>;
79#[doc = "Transmit Data High Byte"]
80pub mod txdatah;
81#[doc = "TXDATAL (rw) register accessor: an alias for `Reg<TXDATAL_SPEC>`"]
82pub type TXDATAL = crate::Reg<txdatal::TXDATAL_SPEC>;
83#[doc = "Transmit Data Low Byte"]
84pub mod txdatal;
85#[doc = "TXPLCTRL (rw) register accessor: an alias for `Reg<TXPLCTRL_SPEC>`"]
86pub type TXPLCTRL = crate::Reg<txplctrl::TXPLCTRL_SPEC>;
87#[doc = "IRCOM Transmitter Pulse Length Control"]
88pub mod txplctrl;