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 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control Register"] pub ctrl: CTRL, #[doc = "0x04 - Command Register"] pub cmd: CMD, #[doc = "0x08 - Status Register"] pub status: STATUS, #[doc = "0x0c - Clock Control Register"] pub clkdiv: CLKDIV, #[doc = "0x10 - Start Frame Register"] pub startframe: STARTFRAME, #[doc = "0x14 - Signal Frame Register"] pub sigframe: SIGFRAME, #[doc = "0x18 - Receive Buffer Data Extended Register"] pub rxdatax: RXDATAX, #[doc = "0x1c - Receive Buffer Data Register"] pub rxdata: RXDATA, #[doc = "0x20 - Receive Buffer Data Extended Peek Register"] pub rxdataxp: RXDATAXP, #[doc = "0x24 - Transmit Buffer Data Extended Register"] pub txdatax: TXDATAX, #[doc = "0x28 - Transmit Buffer Data Register"] pub txdata: TXDATA, #[doc = "0x2c - Interrupt Flag Register"] pub if_: IF, #[doc = "0x30 - Interrupt Flag Set Register"] pub ifs: IFS, #[doc = "0x34 - Interrupt Flag Clear Register"] pub ifc: IFC, #[doc = "0x38 - Interrupt Enable Register"] pub ien: IEN, #[doc = "0x3c - Pulse Control Register"] pub pulsectrl: PULSECTRL, #[doc = "0x40 - Freeze Register"] pub freeze: FREEZE, #[doc = "0x44 - Synchronization Busy Register"] pub syncbusy: SYNCBUSY, _reserved0: [u8; 12usize], #[doc = "0x54 - I/O Routing Pin Enable Register"] pub routepen: ROUTEPEN, #[doc = "0x58 - I/O Routing Location Register"] pub routeloc0: ROUTELOC0, _reserved1: [u8; 8usize], #[doc = "0x64 - LEUART Input Register"] pub input: INPUT, } #[doc = "Control Register"] pub struct CTRL { register: ::vcell::VolatileCell<u32>, } #[doc = "Control Register"] pub mod ctrl; #[doc = "Command Register"] pub struct CMD { register: ::vcell::VolatileCell<u32>, } #[doc = "Command Register"] pub mod cmd; #[doc = "Status Register"] pub struct STATUS { register: ::vcell::VolatileCell<u32>, } #[doc = "Status Register"] pub mod status; #[doc = "Clock Control Register"] pub struct CLKDIV { register: ::vcell::VolatileCell<u32>, } #[doc = "Clock Control Register"] pub mod clkdiv; #[doc = "Start Frame Register"] pub struct STARTFRAME { register: ::vcell::VolatileCell<u32>, } #[doc = "Start Frame Register"] pub mod startframe; #[doc = "Signal Frame Register"] pub struct SIGFRAME { register: ::vcell::VolatileCell<u32>, } #[doc = "Signal Frame Register"] pub mod sigframe; #[doc = "Receive Buffer Data Extended Register"] pub struct RXDATAX { register: ::vcell::VolatileCell<u32>, } #[doc = "Receive Buffer Data Extended Register"] pub mod rxdatax; #[doc = "Receive Buffer Data Register"] pub struct RXDATA { register: ::vcell::VolatileCell<u32>, } #[doc = "Receive Buffer Data Register"] pub mod rxdata; #[doc = "Receive Buffer Data Extended Peek Register"] pub struct RXDATAXP { register: ::vcell::VolatileCell<u32>, } #[doc = "Receive Buffer Data Extended Peek Register"] pub mod rxdataxp; #[doc = "Transmit Buffer Data Extended Register"] pub struct TXDATAX { register: ::vcell::VolatileCell<u32>, } #[doc = "Transmit Buffer Data Extended Register"] pub mod txdatax; #[doc = "Transmit Buffer Data Register"] pub struct TXDATA { register: ::vcell::VolatileCell<u32>, } #[doc = "Transmit Buffer Data Register"] pub mod txdata; #[doc = "Interrupt Flag Register"] pub struct IF { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Flag Register"] pub mod if_; #[doc = "Interrupt Flag Set Register"] pub struct IFS { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Flag Set Register"] pub mod ifs; #[doc = "Interrupt Flag Clear Register"] pub struct IFC { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Flag Clear Register"] pub mod ifc; #[doc = "Interrupt Enable Register"] pub struct IEN { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Enable Register"] pub mod ien; #[doc = "Pulse Control Register"] pub struct PULSECTRL { register: ::vcell::VolatileCell<u32>, } #[doc = "Pulse Control Register"] pub mod pulsectrl; #[doc = "Freeze Register"] pub struct FREEZE { register: ::vcell::VolatileCell<u32>, } #[doc = "Freeze Register"] pub mod freeze; #[doc = "Synchronization Busy Register"] pub struct SYNCBUSY { register: ::vcell::VolatileCell<u32>, } #[doc = "Synchronization Busy Register"] pub mod syncbusy; #[doc = "I/O Routing Pin Enable Register"] pub struct ROUTEPEN { register: ::vcell::VolatileCell<u32>, } #[doc = "I/O Routing Pin Enable Register"] pub mod routepen; #[doc = "I/O Routing Location Register"] pub struct ROUTELOC0 { register: ::vcell::VolatileCell<u32>, } #[doc = "I/O Routing Location Register"] pub mod routeloc0; #[doc = "LEUART Input Register"] pub struct INPUT { register: ::vcell::VolatileCell<u32>, } #[doc = "LEUART Input Register"] pub mod input;