#[doc = r"Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control register 1"] pub cr1: crate::Reg, #[doc = "0x04 - Control register 2"] pub cr2: crate::Reg, #[doc = "0x08 - Control register 3"] pub cr3: crate::Reg, #[doc = "0x0c - Baud rate register"] pub brr: crate::Reg, #[doc = "0x10 - Guard time and prescaler register"] pub gtpr: crate::Reg, #[doc = "0x14 - Receiver timeout register"] pub rtor: crate::Reg, #[doc = "0x18 - Request register"] pub rqr: crate::Reg, #[doc = "0x1c - Interrupt & status register"] pub isr: crate::Reg, #[doc = "0x20 - Interrupt flag clear register"] pub icr: crate::Reg, #[doc = "0x24 - Receive data register"] pub rdr: crate::Reg, #[doc = "0x28 - Transmit data register"] pub tdr: crate::Reg, #[doc = "0x2c - USART prescaler register"] pub presc: crate::Reg, } #[doc = "CR1 register accessor: an alias for `Reg`"] pub type CR1 = crate::Reg; #[doc = "Control register 1"] pub mod cr1; #[doc = "CR2 register accessor: an alias for `Reg`"] pub type CR2 = crate::Reg; #[doc = "Control register 2"] pub mod cr2; #[doc = "CR3 register accessor: an alias for `Reg`"] pub type CR3 = crate::Reg; #[doc = "Control register 3"] pub mod cr3; #[doc = "BRR register accessor: an alias for `Reg`"] pub type BRR = crate::Reg; #[doc = "Baud rate register"] pub mod brr; #[doc = "GTPR register accessor: an alias for `Reg`"] pub type GTPR = crate::Reg; #[doc = "Guard time and prescaler register"] pub mod gtpr; #[doc = "RTOR register accessor: an alias for `Reg`"] pub type RTOR = crate::Reg; #[doc = "Receiver timeout register"] pub mod rtor; #[doc = "RQR register accessor: an alias for `Reg`"] pub type RQR = crate::Reg; #[doc = "Request register"] pub mod rqr; #[doc = "ISR register accessor: an alias for `Reg`"] pub type ISR = crate::Reg; #[doc = "Interrupt & status register"] pub mod isr; #[doc = "ICR register accessor: an alias for `Reg`"] pub type ICR = crate::Reg; #[doc = "Interrupt flag clear register"] pub mod icr; #[doc = "RDR register accessor: an alias for `Reg`"] pub type RDR = crate::Reg; #[doc = "Receive data register"] pub mod rdr; #[doc = "TDR register accessor: an alias for `Reg`"] pub type TDR = crate::Reg; #[doc = "Transmit data register"] pub mod tdr; #[doc = "PRESC register accessor: an alias for `Reg`"] pub type PRESC = crate::Reg; #[doc = "USART prescaler register"] pub mod presc;