1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control register 1"] pub cr1: CR1, #[doc = "0x04 - Control register 2"] pub cr2: CR2, #[doc = "0x08 - Control register 3"] pub cr3: CR3, #[doc = "0x0c - Baud rate register"] pub brr: BRR, _reserved0: [u8; 8usize], #[doc = "0x18 - Request register"] pub rqr: RQR, #[doc = "0x1c - Interrupt & status register"] pub isr: ISR, #[doc = "0x20 - Interrupt flag clear register"] pub icr: ICR, #[doc = "0x24 - Receive data register"] pub rdr: RDR, #[doc = "0x28 - Transmit data register"] pub tdr: TDR, #[doc = "0x2c - Prescaler register"] pub presc: PRESC, _reserved1: [u8; 956usize], #[doc = "0x3ec - LPUART Hardware Configuration register 2"] pub hwcfgr2: HWCFGR2, #[doc = "0x3f0 - LPUART Hardware Configuration register 1"] pub hwcfgr1: HWCFGR1, #[doc = "0x3f4 - EXTI IP Version register"] pub verr: VERR, #[doc = "0x3f8 - EXTI Identification register"] pub ipidr: IPIDR, #[doc = "0x3fc - EXTI Size ID register"] pub sidr: SIDR, } #[doc = "Control register 1"] pub struct CR1 { register: ::vcell::VolatileCell<u32>, } #[doc = "Control register 1"] pub mod cr1; #[doc = "Control register 2"] pub struct CR2 { register: ::vcell::VolatileCell<u32>, } #[doc = "Control register 2"] pub mod cr2; #[doc = "Control register 3"] pub struct CR3 { register: ::vcell::VolatileCell<u32>, } #[doc = "Control register 3"] pub mod cr3; #[doc = "Baud rate register"] pub struct BRR { register: ::vcell::VolatileCell<u32>, } #[doc = "Baud rate register"] pub mod brr; #[doc = "Request register"] pub struct RQR { register: ::vcell::VolatileCell<u32>, } #[doc = "Request register"] pub mod rqr; #[doc = "Interrupt & status register"] pub struct ISR { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt & status register"] pub mod isr; #[doc = "Interrupt flag clear register"] pub struct ICR { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt flag clear register"] pub mod icr; #[doc = "Receive data register"] pub struct RDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Receive data register"] pub mod rdr; #[doc = "Transmit data register"] pub struct TDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Transmit data register"] pub mod tdr; #[doc = "Prescaler register"] pub struct PRESC { register: ::vcell::VolatileCell<u32>, } #[doc = "Prescaler register"] pub mod presc; #[doc = "LPUART Hardware Configuration register 2"] pub struct HWCFGR2 { register: ::vcell::VolatileCell<u32>, } #[doc = "LPUART Hardware Configuration register 2"] pub mod hwcfgr2; #[doc = "LPUART Hardware Configuration register 1"] pub struct HWCFGR1 { register: ::vcell::VolatileCell<u32>, } #[doc = "LPUART Hardware Configuration register 1"] pub mod hwcfgr1; #[doc = "EXTI IP Version register"] pub struct VERR { register: ::vcell::VolatileCell<u32>, } #[doc = "EXTI IP Version register"] pub mod verr; #[doc = "EXTI Identification register"] pub struct IPIDR { register: ::vcell::VolatileCell<u32>, } #[doc = "EXTI Identification register"] pub mod ipidr; #[doc = "EXTI Size ID register"] pub struct SIDR { register: ::vcell::VolatileCell<u32>, } #[doc = "EXTI Size ID register"] pub mod sidr;