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
#[doc = r" Register block"] #[repr(C)] pub struct RegisterBlock { #[doc = "0x00 - Control Register"] pub cr: CR, #[doc = "0x04 - Configuration Register"] pub cfg: CFG, #[doc = "0x08 - Status Register"] pub sr: SR, #[doc = "0x0c - Status Clear Register"] pub scr: SCR, #[doc = "0x10 - Resistive Touch Screen Register"] pub rts: RTS, #[doc = "0x14 - Sequencer Configuration Register"] pub seqcfg: SEQCFG, #[doc = "0x18 - Configuration Direct Memory Access Register"] pub cdma_first_dma_word: CDMA_FIRST_DMA_WORD, #[doc = "0x1c - Timing Configuration Register"] pub tim: TIM, #[doc = "0x20 - Internal Timer Register"] pub itimer: ITIMER, #[doc = "0x24 - Window Monitor Configuration Register"] pub wcfg: WCFG, #[doc = "0x28 - Window Monitor Threshold Configuration Register"] pub wth: WTH, #[doc = "0x2c - Sequencer Last Converted Value Register"] pub lcv: LCV, #[doc = "0x30 - Interrupt Enable Register"] pub ier: IER, #[doc = "0x34 - Interrupt Disable Register"] pub idr: IDR, #[doc = "0x38 - Interrupt Mask Register"] pub imr: IMR, #[doc = "0x3c - Calibration Register"] pub calib: CALIB, #[doc = "0x40 - Version Register"] pub version: VERSION, #[doc = "0x44 - Parameter Register"] pub parameter: PARAMETER, } #[doc = "Control Register"] pub struct CR { register: ::vcell::VolatileCell<u32>, } #[doc = "Control Register"] pub mod cr; #[doc = "Configuration Register"] pub struct CFG { register: ::vcell::VolatileCell<u32>, } #[doc = "Configuration Register"] pub mod cfg; #[doc = "Status Register"] pub struct SR { register: ::vcell::VolatileCell<u32>, } #[doc = "Status Register"] pub mod sr; #[doc = "Status Clear Register"] pub struct SCR { register: ::vcell::VolatileCell<u32>, } #[doc = "Status Clear Register"] pub mod scr; #[doc = "Resistive Touch Screen Register"] pub struct RTS { register: ::vcell::VolatileCell<u32>, } #[doc = "Resistive Touch Screen Register"] pub mod rts; #[doc = "Sequencer Configuration Register"] pub struct SEQCFG { register: ::vcell::VolatileCell<u32>, } #[doc = "Sequencer Configuration Register"] pub mod seqcfg; #[doc = "Configuration Direct Memory Access Register"] pub struct CDMA_FIRST_DMA_WORD { register: ::vcell::VolatileCell<u32>, } #[doc = "Configuration Direct Memory Access Register"] pub mod cdma_first_dma_word; #[doc = "Configuration Direct Memory Access Register"] pub struct CDMA_SECOND_DMA_WORD { register: ::vcell::VolatileCell<u32>, } #[doc = "Configuration Direct Memory Access Register"] pub mod cdma_second_dma_word; #[doc = "Timing Configuration Register"] pub struct TIM { register: ::vcell::VolatileCell<u32>, } #[doc = "Timing Configuration Register"] pub mod tim; #[doc = "Internal Timer Register"] pub struct ITIMER { register: ::vcell::VolatileCell<u32>, } #[doc = "Internal Timer Register"] pub mod itimer; #[doc = "Window Monitor Configuration Register"] pub struct WCFG { register: ::vcell::VolatileCell<u32>, } #[doc = "Window Monitor Configuration Register"] pub mod wcfg; #[doc = "Window Monitor Threshold Configuration Register"] pub struct WTH { register: ::vcell::VolatileCell<u32>, } #[doc = "Window Monitor Threshold Configuration Register"] pub mod wth; #[doc = "Sequencer Last Converted Value Register"] pub struct LCV { register: ::vcell::VolatileCell<u32>, } #[doc = "Sequencer Last Converted Value Register"] pub mod lcv; #[doc = "Interrupt Enable Register"] pub struct IER { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Enable Register"] pub mod ier; #[doc = "Interrupt Disable Register"] pub struct IDR { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Disable Register"] pub mod idr; #[doc = "Interrupt Mask Register"] pub struct IMR { register: ::vcell::VolatileCell<u32>, } #[doc = "Interrupt Mask Register"] pub mod imr; #[doc = "Calibration Register"] pub struct CALIB { register: ::vcell::VolatileCell<u32>, } #[doc = "Calibration Register"] pub mod calib; #[doc = "Version Register"] pub struct VERSION { register: ::vcell::VolatileCell<u32>, } #[doc = "Version Register"] pub mod version; #[doc = "Parameter Register"] pub struct PARAMETER { register: ::vcell::VolatileCell<u32>, } #[doc = "Parameter Register"] pub mod parameter;