avr_device/devices/atmega32u4/
usart1.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - USART Control and Status Register A"]
5    pub ucsr1a: UCSR1A,
6    #[doc = "0x01 - USART Control and Status Register B"]
7    pub ucsr1b: UCSR1B,
8    #[doc = "0x02 - USART Control and Status Register C"]
9    pub ucsr1c: UCSR1C,
10    #[doc = "0x03 - USART Control and Status Register D"]
11    pub ucsr1d: UCSR1D,
12    #[doc = "0x04 - USART Baud Rate Register Bytes"]
13    pub ubrr1: UBRR1,
14    #[doc = "0x06 - USART I/O Data Register"]
15    pub udr1: UDR1,
16}
17#[doc = "UBRR1 (rw) register accessor: an alias for `Reg<UBRR1_SPEC>`"]
18pub type UBRR1 = crate::Reg<ubrr1::UBRR1_SPEC>;
19#[doc = "USART Baud Rate Register Bytes"]
20pub mod ubrr1;
21#[doc = "UCSR1A (rw) register accessor: an alias for `Reg<UCSR1A_SPEC>`"]
22pub type UCSR1A = crate::Reg<ucsr1a::UCSR1A_SPEC>;
23#[doc = "USART Control and Status Register A"]
24pub mod ucsr1a;
25#[doc = "UCSR1B (rw) register accessor: an alias for `Reg<UCSR1B_SPEC>`"]
26pub type UCSR1B = crate::Reg<ucsr1b::UCSR1B_SPEC>;
27#[doc = "USART Control and Status Register B"]
28pub mod ucsr1b;
29#[doc = "UCSR1C (rw) register accessor: an alias for `Reg<UCSR1C_SPEC>`"]
30pub type UCSR1C = crate::Reg<ucsr1c::UCSR1C_SPEC>;
31#[doc = "USART Control and Status Register C"]
32pub mod ucsr1c;
33#[doc = "UCSR1D (rw) register accessor: an alias for `Reg<UCSR1D_SPEC>`"]
34pub type UCSR1D = crate::Reg<ucsr1d::UCSR1D_SPEC>;
35#[doc = "USART Control and Status Register D"]
36pub mod ucsr1d;
37#[doc = "UDR1 (rw) register accessor: an alias for `Reg<UDR1_SPEC>`"]
38pub type UDR1 = crate::Reg<udr1::UDR1_SPEC>;
39#[doc = "USART I/O Data Register"]
40pub mod udr1;