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
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - CORDIC Coprocessor configuration"] pub pconf: PCONF, #[doc = "0x04 - CORDIC Coprocessor Suspend Config"] pub psus: PSUS, #[doc = "0x08 - CORDIC Coprocessor Run Bit Set"] pub pruns: PRUNS, #[doc = "0x0c - CORDIC Coprocessor Run Bit Clear"] pub prunc: PRUNC, #[doc = "0x10 - CORDIC Coprocessor Run Bit Status"] pub prun: PRUN, _reserved0: [u8; 12usize], #[doc = "0x20 - Module Identification register"] pub midr: MIDR, _reserved1: [u8; 12usize], #[doc = "0x30 - Hall Sensor Patterns"] pub halp: HALP, #[doc = "0x34 - Hall Sensor Shadow Patterns"] pub halps: HALPS, _reserved2: [u8; 8usize], #[doc = "0x40 - Multi-Channel Pattern"] pub mcm: MCM, #[doc = "0x44 - Multi-Channel Shadow Pattern"] pub mcsm: MCSM, #[doc = "0x48 - Multi-Channel Pattern Control set"] pub mcms: MCMS, #[doc = "0x4c - Multi-Channel Pattern Control clear"] pub mcmc: MCMC, #[doc = "0x50 - Multi-Channel Pattern Control flag"] pub mcmf: MCMF, _reserved3: [u8; 12usize], #[doc = "0x60 - Quadrature Decoder Control"] pub qdc: QDC, _reserved4: [u8; 12usize], #[doc = "0x70 - CORDIC Coprocessor Interrupt Flags"] pub pflg: PFLG, #[doc = "0x74 - CORDIC Coprocessor Interrupt Enable"] pub pflge: PFLGE, #[doc = "0x78 - CORDIC Coprocessor Interrupt Set"] pub spflg: SPFLG, #[doc = "0x7c - CORDIC Coprocessor Interrupt Clear"] pub rpflg: RPFLG, _reserved5: [u8; 128usize], #[doc = "0x100 - CORDIC Coprocessor Debug register"] pub pdbg: PDBG, } #[doc = "CORDIC Coprocessor configuration"] pub struct PCONF { register: ::vcell::VolatileCell<u32>, } #[doc = "CORDIC Coprocessor configuration"] pub mod pconf; #[doc = "CORDIC Coprocessor Suspend Config"] pub struct PSUS { register: ::vcell::VolatileCell<u32>, } #[doc = "CORDIC Coprocessor Suspend Config"] pub mod psus; #[doc = "CORDIC Coprocessor Run Bit Set"] pub struct PRUNS { register: ::vcell::VolatileCell<u32>, } #[doc = "CORDIC Coprocessor Run Bit Set"] pub mod pruns; #[doc = "CORDIC Coprocessor Run Bit Clear"] pub struct PRUNC { register: ::vcell::VolatileCell<u32>, } #[doc = "CORDIC Coprocessor Run Bit Clear"] pub mod prunc; #[doc = "CORDIC Coprocessor Run Bit Status"] pub struct PRUN { register: ::vcell::VolatileCell<u32>, } #[doc = "CORDIC Coprocessor Run Bit Status"] pub mod prun; #[doc = "Module Identification register"] pub struct MIDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Module Identification register"] pub mod midr; #[doc = "Hall Sensor Patterns"] pub struct HALP { register: ::vcell::VolatileCell<u32>, } #[doc = "Hall Sensor Patterns"] pub mod halp; #[doc = "Hall Sensor Shadow Patterns"] pub struct HALPS { register: ::vcell::VolatileCell<u32>, } #[doc = "Hall Sensor Shadow Patterns"] pub mod halps; #[doc = "Multi-Channel Pattern"] pub struct MCM { register: ::vcell::VolatileCell<u32>, } #[doc = "Multi-Channel Pattern"] pub mod mcm; #[doc = "Multi-Channel Shadow Pattern"] pub struct MCSM { register: ::vcell::VolatileCell<u32>, } #[doc = "Multi-Channel Shadow Pattern"] pub mod mcsm; #[doc = "Multi-Channel Pattern Control set"] pub struct MCMS { register: ::vcell::VolatileCell<u32>, } #[doc = "Multi-Channel Pattern Control set"] pub mod mcms; #[doc = "Multi-Channel Pattern Control clear"] pub struct MCMC { register: ::vcell::VolatileCell<u32>, } #[doc = "Multi-Channel Pattern Control clear"] pub mod mcmc; #[doc = "Multi-Channel Pattern Control flag"] pub struct MCMF { register: ::vcell::VolatileCell<u32>, } #[doc = "Multi-Channel Pattern Control flag"] pub mod mcmf; #[doc = "Quadrature Decoder Control"] pub struct QDC { register: ::vcell::VolatileCell<u32>, } #[doc = "Quadrature Decoder Control"] pub mod qdc; #[doc = "CORDIC Coprocessor Interrupt Flags"] pub struct PFLG { register: ::vcell::VolatileCell<u32>, } #[doc = "CORDIC Coprocessor Interrupt Flags"] pub mod pflg; #[doc = "CORDIC Coprocessor Interrupt Enable"] pub struct PFLGE { register: ::vcell::VolatileCell<u32>, } #[doc = "CORDIC Coprocessor Interrupt Enable"] pub mod pflge; #[doc = "CORDIC Coprocessor Interrupt Set"] pub struct SPFLG { register: ::vcell::VolatileCell<u32>, } #[doc = "CORDIC Coprocessor Interrupt Set"] pub mod spflg; #[doc = "CORDIC Coprocessor Interrupt Clear"] pub struct RPFLG { register: ::vcell::VolatileCell<u32>, } #[doc = "CORDIC Coprocessor Interrupt Clear"] pub mod rpflg; #[doc = "CORDIC Coprocessor Debug register"] pub struct PDBG { register: ::vcell::VolatileCell<u32>, } #[doc = "CORDIC Coprocessor Debug register"] pub mod pdbg;