avr_device/devices/atmega2560/
usart2.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - USART Control and Status Register A"]
5    pub ucsr2a: UCSR2A,
6    #[doc = "0x01 - USART Control and Status Register B"]
7    pub ucsr2b: UCSR2B,
8    #[doc = "0x02 - USART Control and Status Register C"]
9    pub ucsr2c: UCSR2C,
10    _reserved3: [u8; 0x01],
11    #[doc = "0x04 - USART Baud Rate Register Bytes"]
12    pub ubrr2: UBRR2,
13    #[doc = "0x06 - USART I/O Data Register"]
14    pub udr2: UDR2,
15}
16#[doc = "UBRR2 (rw) register accessor: an alias for `Reg<UBRR2_SPEC>`"]
17pub type UBRR2 = crate::Reg<ubrr2::UBRR2_SPEC>;
18#[doc = "USART Baud Rate Register Bytes"]
19pub mod ubrr2;
20#[doc = "UCSR2A (rw) register accessor: an alias for `Reg<UCSR2A_SPEC>`"]
21pub type UCSR2A = crate::Reg<ucsr2a::UCSR2A_SPEC>;
22#[doc = "USART Control and Status Register A"]
23pub mod ucsr2a;
24#[doc = "UCSR2B (rw) register accessor: an alias for `Reg<UCSR2B_SPEC>`"]
25pub type UCSR2B = crate::Reg<ucsr2b::UCSR2B_SPEC>;
26#[doc = "USART Control and Status Register B"]
27pub mod ucsr2b;
28#[doc = "UCSR2C (rw) register accessor: an alias for `Reg<UCSR2C_SPEC>`"]
29pub type UCSR2C = crate::Reg<ucsr2c::UCSR2C_SPEC>;
30#[doc = "USART Control and Status Register C"]
31pub mod ucsr2c;
32#[doc = "UDR2 (rw) register accessor: an alias for `Reg<UDR2_SPEC>`"]
33pub type UDR2 = crate::Reg<udr2::UDR2_SPEC>;
34#[doc = "USART I/O Data Register"]
35pub mod udr2;