avr_device/devices/atmega2560/
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    _reserved3: [u8; 0x01],
11    #[doc = "0x04 - USART Baud Rate Register Bytes"]
12    pub ubrr1: UBRR1,
13    #[doc = "0x06 - USART I/O Data Register"]
14    pub udr1: UDR1,
15}
16#[doc = "UBRR1 (rw) register accessor: an alias for `Reg<UBRR1_SPEC>`"]
17pub type UBRR1 = crate::Reg<ubrr1::UBRR1_SPEC>;
18#[doc = "USART Baud Rate Register Bytes"]
19pub mod ubrr1;
20#[doc = "UCSR1A (rw) register accessor: an alias for `Reg<UCSR1A_SPEC>`"]
21pub type UCSR1A = crate::Reg<ucsr1a::UCSR1A_SPEC>;
22#[doc = "USART Control and Status Register A"]
23pub mod ucsr1a;
24#[doc = "UCSR1B (rw) register accessor: an alias for `Reg<UCSR1B_SPEC>`"]
25pub type UCSR1B = crate::Reg<ucsr1b::UCSR1B_SPEC>;
26#[doc = "USART Control and Status Register B"]
27pub mod ucsr1b;
28#[doc = "UCSR1C (rw) register accessor: an alias for `Reg<UCSR1C_SPEC>`"]
29pub type UCSR1C = crate::Reg<ucsr1c::UCSR1C_SPEC>;
30#[doc = "USART Control and Status Register C"]
31pub mod ucsr1c;
32#[doc = "UDR1 (rw) register accessor: an alias for `Reg<UDR1_SPEC>`"]
33pub type UDR1 = crate::Reg<udr1::UDR1_SPEC>;
34#[doc = "USART I/O Data Register"]
35pub mod udr1;