Repostiory containing DAPLink source code with Reset Pin workaround for HANI_IOT board.

Upstream: https://github.com/ARMmbed/DAPLink

Committer:
Pawel Zarembski
Date:
Tue Apr 07 12:55:42 2020 +0200
Revision:
0:01f31e923fe2
hani: DAPLink with reset workaround

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pawel Zarembski 0:01f31e923fe2 1 /*******************************************************************************
Pawel Zarembski 0:01f31e923fe2 2 * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved.
Pawel Zarembski 0:01f31e923fe2 3 *
Pawel Zarembski 0:01f31e923fe2 4 * Permission is hereby granted, free of charge, to any person obtaining a
Pawel Zarembski 0:01f31e923fe2 5 * copy of this software and associated documentation files (the "Software"),
Pawel Zarembski 0:01f31e923fe2 6 * to deal in the Software without restriction, including without limitation
Pawel Zarembski 0:01f31e923fe2 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
Pawel Zarembski 0:01f31e923fe2 8 * and/or sell copies of the Software, and to permit persons to whom the
Pawel Zarembski 0:01f31e923fe2 9 * Software is furnished to do so, subject to the following conditions:
Pawel Zarembski 0:01f31e923fe2 10 *
Pawel Zarembski 0:01f31e923fe2 11 * The above copyright notice and this permission notice shall be included
Pawel Zarembski 0:01f31e923fe2 12 * in all copies or substantial portions of the Software.
Pawel Zarembski 0:01f31e923fe2 13 *
Pawel Zarembski 0:01f31e923fe2 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
Pawel Zarembski 0:01f31e923fe2 15 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Pawel Zarembski 0:01f31e923fe2 16 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Pawel Zarembski 0:01f31e923fe2 17 * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
Pawel Zarembski 0:01f31e923fe2 18 * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
Pawel Zarembski 0:01f31e923fe2 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
Pawel Zarembski 0:01f31e923fe2 20 * OTHER DEALINGS IN THE SOFTWARE.
Pawel Zarembski 0:01f31e923fe2 21 *
Pawel Zarembski 0:01f31e923fe2 22 * Except as contained in this notice, the name of Maxim Integrated
Pawel Zarembski 0:01f31e923fe2 23 * Products, Inc. shall not be used except as stated in the Maxim Integrated
Pawel Zarembski 0:01f31e923fe2 24 * Products, Inc. Branding Policy.
Pawel Zarembski 0:01f31e923fe2 25 *
Pawel Zarembski 0:01f31e923fe2 26 * The mere transfer of this software does not imply any licenses
Pawel Zarembski 0:01f31e923fe2 27 * of trade secrets, proprietary technology, copyrights, patents,
Pawel Zarembski 0:01f31e923fe2 28 * trademarks, maskwork rights, or any other form of intellectual
Pawel Zarembski 0:01f31e923fe2 29 * property whatsoever. Maxim Integrated Products, Inc. retains all
Pawel Zarembski 0:01f31e923fe2 30 * ownership rights.
Pawel Zarembski 0:01f31e923fe2 31 *
Pawel Zarembski 0:01f31e923fe2 32 ******************************************************************************/
Pawel Zarembski 0:01f31e923fe2 33
Pawel Zarembski 0:01f31e923fe2 34 #ifndef _MXC_IOMAN_REGS_H_
Pawel Zarembski 0:01f31e923fe2 35 #define _MXC_IOMAN_REGS_H_
Pawel Zarembski 0:01f31e923fe2 36
Pawel Zarembski 0:01f31e923fe2 37 #ifdef __cplusplus
Pawel Zarembski 0:01f31e923fe2 38 extern "C" {
Pawel Zarembski 0:01f31e923fe2 39 #endif
Pawel Zarembski 0:01f31e923fe2 40
Pawel Zarembski 0:01f31e923fe2 41 #include <stdint.h>
Pawel Zarembski 0:01f31e923fe2 42
Pawel Zarembski 0:01f31e923fe2 43 /*
Pawel Zarembski 0:01f31e923fe2 44 If types are not defined elsewhere (CMSIS) define them here
Pawel Zarembski 0:01f31e923fe2 45 */
Pawel Zarembski 0:01f31e923fe2 46 #ifndef __IO
Pawel Zarembski 0:01f31e923fe2 47 #define __IO volatile
Pawel Zarembski 0:01f31e923fe2 48 #endif
Pawel Zarembski 0:01f31e923fe2 49 #ifndef __I
Pawel Zarembski 0:01f31e923fe2 50 #define __I volatile const
Pawel Zarembski 0:01f31e923fe2 51 #endif
Pawel Zarembski 0:01f31e923fe2 52 #ifndef __O
Pawel Zarembski 0:01f31e923fe2 53 #define __O volatile
Pawel Zarembski 0:01f31e923fe2 54 #endif
Pawel Zarembski 0:01f31e923fe2 55 #ifndef __R
Pawel Zarembski 0:01f31e923fe2 56 #define __R volatile const
Pawel Zarembski 0:01f31e923fe2 57 #endif
Pawel Zarembski 0:01f31e923fe2 58
Pawel Zarembski 0:01f31e923fe2 59
Pawel Zarembski 0:01f31e923fe2 60 /*
Pawel Zarembski 0:01f31e923fe2 61 Bitfield structs for registers in this module
Pawel Zarembski 0:01f31e923fe2 62 */
Pawel Zarembski 0:01f31e923fe2 63
Pawel Zarembski 0:01f31e923fe2 64 typedef struct {
Pawel Zarembski 0:01f31e923fe2 65 uint32_t wud_req_p0 : 8;
Pawel Zarembski 0:01f31e923fe2 66 uint32_t wud_req_p1 : 8;
Pawel Zarembski 0:01f31e923fe2 67 uint32_t wud_req_p2 : 8;
Pawel Zarembski 0:01f31e923fe2 68 uint32_t wud_req_p3 : 8;
Pawel Zarembski 0:01f31e923fe2 69 } mxc_ioman_wud_req0_t;
Pawel Zarembski 0:01f31e923fe2 70
Pawel Zarembski 0:01f31e923fe2 71 typedef struct {
Pawel Zarembski 0:01f31e923fe2 72 uint32_t wud_req_p4 : 8;
Pawel Zarembski 0:01f31e923fe2 73 uint32_t wud_req_p5 : 8;
Pawel Zarembski 0:01f31e923fe2 74 uint32_t wud_req_p6 : 8;
Pawel Zarembski 0:01f31e923fe2 75 uint32_t wud_req_p7 : 8;
Pawel Zarembski 0:01f31e923fe2 76 } mxc_ioman_wud_req1_t;
Pawel Zarembski 0:01f31e923fe2 77
Pawel Zarembski 0:01f31e923fe2 78 typedef struct {
Pawel Zarembski 0:01f31e923fe2 79 uint32_t wud_ack_p0 : 8;
Pawel Zarembski 0:01f31e923fe2 80 uint32_t wud_ack_p1 : 8;
Pawel Zarembski 0:01f31e923fe2 81 uint32_t wud_ack_p2 : 8;
Pawel Zarembski 0:01f31e923fe2 82 uint32_t wud_ack_p3 : 8;
Pawel Zarembski 0:01f31e923fe2 83 } mxc_ioman_wud_ack0_t;
Pawel Zarembski 0:01f31e923fe2 84
Pawel Zarembski 0:01f31e923fe2 85 typedef struct {
Pawel Zarembski 0:01f31e923fe2 86 uint32_t wud_ack_p4 : 8;
Pawel Zarembski 0:01f31e923fe2 87 uint32_t wud_ack_p5 : 8;
Pawel Zarembski 0:01f31e923fe2 88 uint32_t wud_ack_p6 : 8;
Pawel Zarembski 0:01f31e923fe2 89 uint32_t wud_ack_p7 : 8;
Pawel Zarembski 0:01f31e923fe2 90 } mxc_ioman_wud_ack1_t;
Pawel Zarembski 0:01f31e923fe2 91
Pawel Zarembski 0:01f31e923fe2 92 typedef struct {
Pawel Zarembski 0:01f31e923fe2 93 uint32_t ali_req_p0 : 8;
Pawel Zarembski 0:01f31e923fe2 94 uint32_t ali_req_p1 : 8;
Pawel Zarembski 0:01f31e923fe2 95 uint32_t ali_req_p2 : 8;
Pawel Zarembski 0:01f31e923fe2 96 uint32_t ali_req_p3 : 8;
Pawel Zarembski 0:01f31e923fe2 97 } mxc_ioman_ali_req0_t;
Pawel Zarembski 0:01f31e923fe2 98
Pawel Zarembski 0:01f31e923fe2 99 typedef struct {
Pawel Zarembski 0:01f31e923fe2 100 uint32_t ali_req_p4 : 8;
Pawel Zarembski 0:01f31e923fe2 101 uint32_t ali_req_p5 : 8;
Pawel Zarembski 0:01f31e923fe2 102 uint32_t ali_req_p6 : 8;
Pawel Zarembski 0:01f31e923fe2 103 uint32_t ali_req_p7 : 8;
Pawel Zarembski 0:01f31e923fe2 104 } mxc_ioman_ali_req1_t;
Pawel Zarembski 0:01f31e923fe2 105
Pawel Zarembski 0:01f31e923fe2 106 typedef struct {
Pawel Zarembski 0:01f31e923fe2 107 uint32_t ali_ack_p0 : 8;
Pawel Zarembski 0:01f31e923fe2 108 uint32_t ali_ack_p1 : 8;
Pawel Zarembski 0:01f31e923fe2 109 uint32_t ali_ack_p2 : 8;
Pawel Zarembski 0:01f31e923fe2 110 uint32_t ali_ack_p3 : 8;
Pawel Zarembski 0:01f31e923fe2 111 } mxc_ioman_ali_ack0_t;
Pawel Zarembski 0:01f31e923fe2 112
Pawel Zarembski 0:01f31e923fe2 113 typedef struct {
Pawel Zarembski 0:01f31e923fe2 114 uint32_t ali_ack_p4 : 8;
Pawel Zarembski 0:01f31e923fe2 115 uint32_t ali_ack_p5 : 8;
Pawel Zarembski 0:01f31e923fe2 116 uint32_t ali_ack_p6 : 8;
Pawel Zarembski 0:01f31e923fe2 117 uint32_t ali_ack_p7 : 8;
Pawel Zarembski 0:01f31e923fe2 118 } mxc_ioman_ali_ack1_t;
Pawel Zarembski 0:01f31e923fe2 119
Pawel Zarembski 0:01f31e923fe2 120 typedef struct {
Pawel Zarembski 0:01f31e923fe2 121 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 122 uint32_t core_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 123 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 124 uint32_t ss0_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 125 uint32_t ss1_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 126 uint32_t ss2_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 127 uint32_t : 1;
Pawel Zarembski 0:01f31e923fe2 128 uint32_t quad_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 129 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 130 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 131 uint32_t : 15;
Pawel Zarembski 0:01f31e923fe2 132 } mxc_ioman_spix_req_t;
Pawel Zarembski 0:01f31e923fe2 133
Pawel Zarembski 0:01f31e923fe2 134 typedef struct {
Pawel Zarembski 0:01f31e923fe2 135 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 136 uint32_t core_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 137 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 138 uint32_t ss0_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 139 uint32_t ss1_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 140 uint32_t ss2_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 141 uint32_t : 1;
Pawel Zarembski 0:01f31e923fe2 142 uint32_t quad_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 143 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 144 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 145 uint32_t : 15;
Pawel Zarembski 0:01f31e923fe2 146 } mxc_ioman_spix_ack_t;
Pawel Zarembski 0:01f31e923fe2 147
Pawel Zarembski 0:01f31e923fe2 148 typedef struct {
Pawel Zarembski 0:01f31e923fe2 149 uint32_t io_map : 1;
Pawel Zarembski 0:01f31e923fe2 150 uint32_t cts_map : 1;
Pawel Zarembski 0:01f31e923fe2 151 uint32_t rts_map : 1;
Pawel Zarembski 0:01f31e923fe2 152 uint32_t : 1;
Pawel Zarembski 0:01f31e923fe2 153 uint32_t io_req : 1;
Pawel Zarembski 0:01f31e923fe2 154 uint32_t cts_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 155 uint32_t rts_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 156 uint32_t : 25;
Pawel Zarembski 0:01f31e923fe2 157 } mxc_ioman_uart0_req_t;
Pawel Zarembski 0:01f31e923fe2 158
Pawel Zarembski 0:01f31e923fe2 159 typedef struct {
Pawel Zarembski 0:01f31e923fe2 160 uint32_t io_map : 1;
Pawel Zarembski 0:01f31e923fe2 161 uint32_t cts_map : 1;
Pawel Zarembski 0:01f31e923fe2 162 uint32_t rts_map : 1;
Pawel Zarembski 0:01f31e923fe2 163 uint32_t : 1;
Pawel Zarembski 0:01f31e923fe2 164 uint32_t io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 165 uint32_t cts_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 166 uint32_t rts_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 167 uint32_t : 25;
Pawel Zarembski 0:01f31e923fe2 168 } mxc_ioman_uart0_ack_t;
Pawel Zarembski 0:01f31e923fe2 169
Pawel Zarembski 0:01f31e923fe2 170 typedef struct {
Pawel Zarembski 0:01f31e923fe2 171 uint32_t io_map : 1;
Pawel Zarembski 0:01f31e923fe2 172 uint32_t cts_map : 1;
Pawel Zarembski 0:01f31e923fe2 173 uint32_t rts_map : 1;
Pawel Zarembski 0:01f31e923fe2 174 uint32_t : 1;
Pawel Zarembski 0:01f31e923fe2 175 uint32_t io_req : 1;
Pawel Zarembski 0:01f31e923fe2 176 uint32_t cts_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 177 uint32_t rts_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 178 uint32_t : 25;
Pawel Zarembski 0:01f31e923fe2 179 } mxc_ioman_uart1_req_t;
Pawel Zarembski 0:01f31e923fe2 180
Pawel Zarembski 0:01f31e923fe2 181 typedef struct {
Pawel Zarembski 0:01f31e923fe2 182 uint32_t io_map : 1;
Pawel Zarembski 0:01f31e923fe2 183 uint32_t cts_map : 1;
Pawel Zarembski 0:01f31e923fe2 184 uint32_t rts_map : 1;
Pawel Zarembski 0:01f31e923fe2 185 uint32_t : 1;
Pawel Zarembski 0:01f31e923fe2 186 uint32_t io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 187 uint32_t cts_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 188 uint32_t rts_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 189 uint32_t : 25;
Pawel Zarembski 0:01f31e923fe2 190 } mxc_ioman_uart1_ack_t;
Pawel Zarembski 0:01f31e923fe2 191
Pawel Zarembski 0:01f31e923fe2 192 typedef struct {
Pawel Zarembski 0:01f31e923fe2 193 uint32_t io_map : 1;
Pawel Zarembski 0:01f31e923fe2 194 uint32_t cts_map : 1;
Pawel Zarembski 0:01f31e923fe2 195 uint32_t rts_map : 1;
Pawel Zarembski 0:01f31e923fe2 196 uint32_t : 1;
Pawel Zarembski 0:01f31e923fe2 197 uint32_t io_req : 1;
Pawel Zarembski 0:01f31e923fe2 198 uint32_t cts_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 199 uint32_t rts_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 200 uint32_t : 25;
Pawel Zarembski 0:01f31e923fe2 201 } mxc_ioman_uart2_req_t;
Pawel Zarembski 0:01f31e923fe2 202
Pawel Zarembski 0:01f31e923fe2 203 typedef struct {
Pawel Zarembski 0:01f31e923fe2 204 uint32_t io_map : 1;
Pawel Zarembski 0:01f31e923fe2 205 uint32_t cts_map : 1;
Pawel Zarembski 0:01f31e923fe2 206 uint32_t rts_map : 1;
Pawel Zarembski 0:01f31e923fe2 207 uint32_t : 1;
Pawel Zarembski 0:01f31e923fe2 208 uint32_t io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 209 uint32_t cts_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 210 uint32_t rts_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 211 uint32_t : 25;
Pawel Zarembski 0:01f31e923fe2 212 } mxc_ioman_uart2_ack_t;
Pawel Zarembski 0:01f31e923fe2 213
Pawel Zarembski 0:01f31e923fe2 214 typedef struct {
Pawel Zarembski 0:01f31e923fe2 215 uint32_t io_map : 1;
Pawel Zarembski 0:01f31e923fe2 216 uint32_t cts_map : 1;
Pawel Zarembski 0:01f31e923fe2 217 uint32_t rts_map : 1;
Pawel Zarembski 0:01f31e923fe2 218 uint32_t : 1;
Pawel Zarembski 0:01f31e923fe2 219 uint32_t io_req : 1;
Pawel Zarembski 0:01f31e923fe2 220 uint32_t cts_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 221 uint32_t rts_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 222 uint32_t : 25;
Pawel Zarembski 0:01f31e923fe2 223 } mxc_ioman_uart3_req_t;
Pawel Zarembski 0:01f31e923fe2 224
Pawel Zarembski 0:01f31e923fe2 225 typedef struct {
Pawel Zarembski 0:01f31e923fe2 226 uint32_t io_map : 1;
Pawel Zarembski 0:01f31e923fe2 227 uint32_t cts_map : 1;
Pawel Zarembski 0:01f31e923fe2 228 uint32_t rts_map : 1;
Pawel Zarembski 0:01f31e923fe2 229 uint32_t : 1;
Pawel Zarembski 0:01f31e923fe2 230 uint32_t io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 231 uint32_t cts_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 232 uint32_t rts_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 233 uint32_t : 25;
Pawel Zarembski 0:01f31e923fe2 234 } mxc_ioman_uart3_ack_t;
Pawel Zarembski 0:01f31e923fe2 235
Pawel Zarembski 0:01f31e923fe2 236 typedef struct {
Pawel Zarembski 0:01f31e923fe2 237 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 238 uint32_t core_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 239 uint32_t push_pull : 1;
Pawel Zarembski 0:01f31e923fe2 240 uint32_t : 26;
Pawel Zarembski 0:01f31e923fe2 241 } mxc_ioman_i2cm0_req_t;
Pawel Zarembski 0:01f31e923fe2 242
Pawel Zarembski 0:01f31e923fe2 243 typedef struct {
Pawel Zarembski 0:01f31e923fe2 244 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 245 uint32_t core_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 246 uint32_t : 27;
Pawel Zarembski 0:01f31e923fe2 247 } mxc_ioman_i2cm0_ack_t;
Pawel Zarembski 0:01f31e923fe2 248
Pawel Zarembski 0:01f31e923fe2 249 typedef struct {
Pawel Zarembski 0:01f31e923fe2 250 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 251 uint32_t core_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 252 uint32_t push_pull : 1;
Pawel Zarembski 0:01f31e923fe2 253 uint32_t : 26;
Pawel Zarembski 0:01f31e923fe2 254 } mxc_ioman_i2cm1_req_t;
Pawel Zarembski 0:01f31e923fe2 255
Pawel Zarembski 0:01f31e923fe2 256 typedef struct {
Pawel Zarembski 0:01f31e923fe2 257 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 258 uint32_t core_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 259 uint32_t : 27;
Pawel Zarembski 0:01f31e923fe2 260 } mxc_ioman_i2cm1_ack_t;
Pawel Zarembski 0:01f31e923fe2 261
Pawel Zarembski 0:01f31e923fe2 262 typedef struct {
Pawel Zarembski 0:01f31e923fe2 263 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 264 uint32_t core_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 265 uint32_t push_pull : 1;
Pawel Zarembski 0:01f31e923fe2 266 uint32_t : 26;
Pawel Zarembski 0:01f31e923fe2 267 } mxc_ioman_i2cm2_req_t;
Pawel Zarembski 0:01f31e923fe2 268
Pawel Zarembski 0:01f31e923fe2 269 typedef struct {
Pawel Zarembski 0:01f31e923fe2 270 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 271 uint32_t core_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 272 uint32_t : 27;
Pawel Zarembski 0:01f31e923fe2 273 } mxc_ioman_i2cm2_ack_t;
Pawel Zarembski 0:01f31e923fe2 274
Pawel Zarembski 0:01f31e923fe2 275 typedef struct {
Pawel Zarembski 0:01f31e923fe2 276 uint32_t mapping_req : 2;
Pawel Zarembski 0:01f31e923fe2 277 uint32_t : 2;
Pawel Zarembski 0:01f31e923fe2 278 uint32_t core_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 279 uint32_t : 27;
Pawel Zarembski 0:01f31e923fe2 280 } mxc_ioman_i2cs_req_t;
Pawel Zarembski 0:01f31e923fe2 281
Pawel Zarembski 0:01f31e923fe2 282 typedef struct {
Pawel Zarembski 0:01f31e923fe2 283 uint32_t mapping_ack : 2;
Pawel Zarembski 0:01f31e923fe2 284 uint32_t : 2;
Pawel Zarembski 0:01f31e923fe2 285 uint32_t core_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 286 uint32_t : 27;
Pawel Zarembski 0:01f31e923fe2 287 } mxc_ioman_i2cs_acl_t;
Pawel Zarembski 0:01f31e923fe2 288
Pawel Zarembski 0:01f31e923fe2 289 typedef struct {
Pawel Zarembski 0:01f31e923fe2 290 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 291 uint32_t core_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 292 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 293 uint32_t ss0_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 294 uint32_t ss1_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 295 uint32_t ss2_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 296 uint32_t ss3_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 297 uint32_t ss4_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 298 uint32_t : 7;
Pawel Zarembski 0:01f31e923fe2 299 uint32_t quad_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 300 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 301 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 302 uint32_t : 7;
Pawel Zarembski 0:01f31e923fe2 303 } mxc_ioman_spim0_req_t;
Pawel Zarembski 0:01f31e923fe2 304
Pawel Zarembski 0:01f31e923fe2 305 typedef struct {
Pawel Zarembski 0:01f31e923fe2 306 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 307 uint32_t core_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 308 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 309 uint32_t ss0_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 310 uint32_t ss1_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 311 uint32_t ss2_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 312 uint32_t ss3_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 313 uint32_t ss4_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 314 uint32_t : 7;
Pawel Zarembski 0:01f31e923fe2 315 uint32_t quad_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 316 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 317 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 318 uint32_t : 7;
Pawel Zarembski 0:01f31e923fe2 319 } mxc_ioman_spim0_ack_t;
Pawel Zarembski 0:01f31e923fe2 320
Pawel Zarembski 0:01f31e923fe2 321 typedef struct {
Pawel Zarembski 0:01f31e923fe2 322 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 323 uint32_t core_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 324 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 325 uint32_t ss0_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 326 uint32_t ss1_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 327 uint32_t ss2_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 328 uint32_t : 9;
Pawel Zarembski 0:01f31e923fe2 329 uint32_t quad_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 330 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 331 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 332 uint32_t : 7;
Pawel Zarembski 0:01f31e923fe2 333 } mxc_ioman_spim1_req_t;
Pawel Zarembski 0:01f31e923fe2 334
Pawel Zarembski 0:01f31e923fe2 335 typedef struct {
Pawel Zarembski 0:01f31e923fe2 336 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 337 uint32_t core_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 338 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 339 uint32_t ss0_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 340 uint32_t ss1_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 341 uint32_t ss2_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 342 uint32_t : 9;
Pawel Zarembski 0:01f31e923fe2 343 uint32_t quad_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 344 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 345 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 346 uint32_t : 7;
Pawel Zarembski 0:01f31e923fe2 347 } mxc_ioman_spim1_ack_t;
Pawel Zarembski 0:01f31e923fe2 348
Pawel Zarembski 0:01f31e923fe2 349 typedef struct {
Pawel Zarembski 0:01f31e923fe2 350 uint32_t mapping_req : 2;
Pawel Zarembski 0:01f31e923fe2 351 uint32_t : 2;
Pawel Zarembski 0:01f31e923fe2 352 uint32_t core_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 353 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 354 uint32_t ss0_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 355 uint32_t ss1_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 356 uint32_t ss2_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 357 uint32_t : 5;
Pawel Zarembski 0:01f31e923fe2 358 uint32_t sr0_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 359 uint32_t sr1_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 360 uint32_t : 2;
Pawel Zarembski 0:01f31e923fe2 361 uint32_t quad_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 362 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 363 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 364 uint32_t : 7;
Pawel Zarembski 0:01f31e923fe2 365 } mxc_ioman_spim2_req_t;
Pawel Zarembski 0:01f31e923fe2 366
Pawel Zarembski 0:01f31e923fe2 367 typedef struct {
Pawel Zarembski 0:01f31e923fe2 368 uint32_t mapping_ack : 2;
Pawel Zarembski 0:01f31e923fe2 369 uint32_t : 2;
Pawel Zarembski 0:01f31e923fe2 370 uint32_t core_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 371 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 372 uint32_t ss0_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 373 uint32_t ss1_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 374 uint32_t ss2_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 375 uint32_t : 5;
Pawel Zarembski 0:01f31e923fe2 376 uint32_t sr0_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 377 uint32_t sr1_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 378 uint32_t : 2;
Pawel Zarembski 0:01f31e923fe2 379 uint32_t quad_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 380 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 381 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 382 uint32_t : 7;
Pawel Zarembski 0:01f31e923fe2 383 } mxc_ioman_spim2_ack_t;
Pawel Zarembski 0:01f31e923fe2 384
Pawel Zarembski 0:01f31e923fe2 385 typedef struct {
Pawel Zarembski 0:01f31e923fe2 386 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 387 uint32_t core_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 388 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 389 uint32_t quad_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 390 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 391 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 392 uint32_t : 19;
Pawel Zarembski 0:01f31e923fe2 393 } mxc_ioman_spib_req_t;
Pawel Zarembski 0:01f31e923fe2 394
Pawel Zarembski 0:01f31e923fe2 395 typedef struct {
Pawel Zarembski 0:01f31e923fe2 396 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 397 uint32_t core_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 398 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 399 uint32_t quad_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 400 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 401 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 402 uint32_t : 19;
Pawel Zarembski 0:01f31e923fe2 403 } mxc_ioman_spib_ack_t;
Pawel Zarembski 0:01f31e923fe2 404
Pawel Zarembski 0:01f31e923fe2 405 typedef struct {
Pawel Zarembski 0:01f31e923fe2 406 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 407 uint32_t mapping_req : 1;
Pawel Zarembski 0:01f31e923fe2 408 uint32_t epu_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 409 uint32_t : 26;
Pawel Zarembski 0:01f31e923fe2 410 } mxc_ioman_owm_req_t;
Pawel Zarembski 0:01f31e923fe2 411
Pawel Zarembski 0:01f31e923fe2 412 typedef struct {
Pawel Zarembski 0:01f31e923fe2 413 uint32_t : 4;
Pawel Zarembski 0:01f31e923fe2 414 uint32_t mapping_ack : 1;
Pawel Zarembski 0:01f31e923fe2 415 uint32_t epu_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 416 uint32_t : 26;
Pawel Zarembski 0:01f31e923fe2 417 } mxc_ioman_owm_ack_t;
Pawel Zarembski 0:01f31e923fe2 418
Pawel Zarembski 0:01f31e923fe2 419 typedef struct {
Pawel Zarembski 0:01f31e923fe2 420 uint32_t mapping_req : 2;
Pawel Zarembski 0:01f31e923fe2 421 uint32_t : 2;
Pawel Zarembski 0:01f31e923fe2 422 uint32_t core_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 423 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 424 uint32_t quad_io_req : 1;
Pawel Zarembski 0:01f31e923fe2 425 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 426 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 427 uint32_t : 19;
Pawel Zarembski 0:01f31e923fe2 428 } mxc_ioman_spis_req_t;
Pawel Zarembski 0:01f31e923fe2 429
Pawel Zarembski 0:01f31e923fe2 430 typedef struct {
Pawel Zarembski 0:01f31e923fe2 431 uint32_t mapping_ack : 2;
Pawel Zarembski 0:01f31e923fe2 432 uint32_t : 2;
Pawel Zarembski 0:01f31e923fe2 433 uint32_t core_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 434 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 435 uint32_t quad_io_ack : 1;
Pawel Zarembski 0:01f31e923fe2 436 uint32_t : 3;
Pawel Zarembski 0:01f31e923fe2 437 uint32_t fast_mode : 1;
Pawel Zarembski 0:01f31e923fe2 438 uint32_t : 19;
Pawel Zarembski 0:01f31e923fe2 439 } mxc_ioman_spis_ack_t;
Pawel Zarembski 0:01f31e923fe2 440
Pawel Zarembski 0:01f31e923fe2 441 typedef struct {
Pawel Zarembski 0:01f31e923fe2 442 uint32_t slow_mode : 1;
Pawel Zarembski 0:01f31e923fe2 443 uint32_t alt_rcvr_mode : 1;
Pawel Zarembski 0:01f31e923fe2 444 uint32_t : 30;
Pawel Zarembski 0:01f31e923fe2 445 } mxc_ioman_pad_mode_t;
Pawel Zarembski 0:01f31e923fe2 446
Pawel Zarembski 0:01f31e923fe2 447 typedef struct {
Pawel Zarembski 0:01f31e923fe2 448 uint32_t wud_req_p8 : 2;
Pawel Zarembski 0:01f31e923fe2 449 uint32_t : 30;
Pawel Zarembski 0:01f31e923fe2 450 } mxc_ioman_wud_req2_t;
Pawel Zarembski 0:01f31e923fe2 451
Pawel Zarembski 0:01f31e923fe2 452 typedef struct {
Pawel Zarembski 0:01f31e923fe2 453 uint32_t wud_ack_p8 : 2;
Pawel Zarembski 0:01f31e923fe2 454 uint32_t : 30;
Pawel Zarembski 0:01f31e923fe2 455 } mxc_ioman_wud_ack2_t;
Pawel Zarembski 0:01f31e923fe2 456
Pawel Zarembski 0:01f31e923fe2 457 typedef struct {
Pawel Zarembski 0:01f31e923fe2 458 uint32_t ali_req_p8 : 2;
Pawel Zarembski 0:01f31e923fe2 459 uint32_t : 30;
Pawel Zarembski 0:01f31e923fe2 460 } mxc_ioman_ali_req2_t;
Pawel Zarembski 0:01f31e923fe2 461
Pawel Zarembski 0:01f31e923fe2 462 typedef struct {
Pawel Zarembski 0:01f31e923fe2 463 uint32_t ali_ack_p8 : 2;
Pawel Zarembski 0:01f31e923fe2 464 uint32_t : 30;
Pawel Zarembski 0:01f31e923fe2 465 } mxc_ioman_ali_ack2_t;
Pawel Zarembski 0:01f31e923fe2 466
Pawel Zarembski 0:01f31e923fe2 467
Pawel Zarembski 0:01f31e923fe2 468 /*
Pawel Zarembski 0:01f31e923fe2 469 Typedefed structure(s) for module registers (per instance or section) with direct 32-bit
Pawel Zarembski 0:01f31e923fe2 470 access to each register in module.
Pawel Zarembski 0:01f31e923fe2 471 */
Pawel Zarembski 0:01f31e923fe2 472
Pawel Zarembski 0:01f31e923fe2 473 /* Offset Register Description
Pawel Zarembski 0:01f31e923fe2 474 ============= ============================================================================ */
Pawel Zarembski 0:01f31e923fe2 475 typedef struct {
Pawel Zarembski 0:01f31e923fe2 476 __IO uint32_t wud_req0; /* 0x0000 Wakeup Detect Mode Request Register 0 (P0/P1/P2/P3) */
Pawel Zarembski 0:01f31e923fe2 477 __IO uint32_t wud_req1; /* 0x0004 Wakeup Detect Mode Request Register 1 (P4/P5/P6/P7) */
Pawel Zarembski 0:01f31e923fe2 478 __IO uint32_t wud_ack0; /* 0x0008 Wakeup Detect Mode Acknowledge Register 0 (P0/P1/P2/P3) */
Pawel Zarembski 0:01f31e923fe2 479 __IO uint32_t wud_ack1; /* 0x000C Wakeup Detect Mode Acknowledge Register 1 (P4/P5/P6/P7) */
Pawel Zarembski 0:01f31e923fe2 480 __IO uint32_t ali_req0; /* 0x0010 Analog Input Request Register 0 (P0/P1/P2/P3) */
Pawel Zarembski 0:01f31e923fe2 481 __IO uint32_t ali_req1; /* 0x0014 Analog Input Request Register 1 (P4/P5/P6/P7) */
Pawel Zarembski 0:01f31e923fe2 482 __IO uint32_t ali_ack0; /* 0x0018 Analog Input Acknowledge Register 0 (P0/P1/P2/P3) */
Pawel Zarembski 0:01f31e923fe2 483 __IO uint32_t ali_ack1; /* 0x001C Analog Input Acknowledge Register 1 (P4/P5/P6/P7) */
Pawel Zarembski 0:01f31e923fe2 484 __IO uint32_t ali_connect0; /* 0x0020 Analog I/O Connection Control Register 0 */
Pawel Zarembski 0:01f31e923fe2 485 __IO uint32_t ali_connect1; /* 0x0024 Analog I/O Connection Control Register 1 */
Pawel Zarembski 0:01f31e923fe2 486 __IO uint32_t spix_req; /* 0x0028 SPIX I/O Mode Request */
Pawel Zarembski 0:01f31e923fe2 487 __IO uint32_t spix_ack; /* 0x002C SPIX I/O Mode Acknowledge */
Pawel Zarembski 0:01f31e923fe2 488 __IO uint32_t uart0_req; /* 0x0030 UART0 I/O Mode Request */
Pawel Zarembski 0:01f31e923fe2 489 __IO uint32_t uart0_ack; /* 0x0034 UART0 I/O Mode Acknowledge */
Pawel Zarembski 0:01f31e923fe2 490 __IO uint32_t uart1_req; /* 0x0038 UART1 I/O Mode Request */
Pawel Zarembski 0:01f31e923fe2 491 __IO uint32_t uart1_ack; /* 0x003C UART1 I/O Mode Acknowledge */
Pawel Zarembski 0:01f31e923fe2 492 __IO uint32_t uart2_req; /* 0x0040 UART2 I/O Mode Request */
Pawel Zarembski 0:01f31e923fe2 493 __IO uint32_t uart2_ack; /* 0x0044 UART2 I/O Mode Acknowledge */
Pawel Zarembski 0:01f31e923fe2 494 __IO uint32_t uart3_req; /* 0x0048 UART3 I/O Mode Request */
Pawel Zarembski 0:01f31e923fe2 495 __IO uint32_t uart3_ack; /* 0x004C UART3 I/O Mode Acknowledge */
Pawel Zarembski 0:01f31e923fe2 496 __IO uint32_t i2cm0_req; /* 0x0050 I2C Master 0 I/O Request */
Pawel Zarembski 0:01f31e923fe2 497 __IO uint32_t i2cm0_ack; /* 0x0054 I2C Master 0 I/O Acknowledge */
Pawel Zarembski 0:01f31e923fe2 498 __IO uint32_t i2cm1_req; /* 0x0058 I2C Master 1 I/O Request */
Pawel Zarembski 0:01f31e923fe2 499 __IO uint32_t i2cm1_ack; /* 0x005C I2C Master 1 I/O Acknowledge */
Pawel Zarembski 0:01f31e923fe2 500 __IO uint32_t i2cm2_req; /* 0x0060 I2C Master 2 I/O Request */
Pawel Zarembski 0:01f31e923fe2 501 __IO uint32_t i2cm2_ack; /* 0x0064 I2C Master 2 I/O Acknowledge */
Pawel Zarembski 0:01f31e923fe2 502 __IO uint32_t i2cs_req; /* 0x0068 I2C Slave I/O Request */
Pawel Zarembski 0:01f31e923fe2 503 __IO uint32_t i2cs_ack; /* 0x006C I2C Slave I/O Acknowledge */
Pawel Zarembski 0:01f31e923fe2 504 __IO uint32_t spim0_req; /* 0x0070 SPI Master 0 I/O Mode Request */
Pawel Zarembski 0:01f31e923fe2 505 __IO uint32_t spim0_ack; /* 0x0074 SPI Master 0 I/O Mode Acknowledge */
Pawel Zarembski 0:01f31e923fe2 506 __IO uint32_t spim1_req; /* 0x0078 SPI Master 1 I/O Mode Request */
Pawel Zarembski 0:01f31e923fe2 507 __IO uint32_t spim1_ack; /* 0x007C SPI Master 1 I/O Mode Acknowledge */
Pawel Zarembski 0:01f31e923fe2 508 __IO uint32_t spim2_req; /* 0x0080 SPI Master 2 I/O Mode Request */
Pawel Zarembski 0:01f31e923fe2 509 __IO uint32_t spim2_ack; /* 0x0084 SPI Master 2 I/O Mode Acknowledge */
Pawel Zarembski 0:01f31e923fe2 510 __IO uint32_t spib_req; /* 0x0088 SPI Bridge I/O Mode Request */
Pawel Zarembski 0:01f31e923fe2 511 __IO uint32_t spib_ack; /* 0x008C SPI Bridge I/O Mode Acknowledge */
Pawel Zarembski 0:01f31e923fe2 512 __IO uint32_t owm_req; /* 0x0090 1-Wire Master I/O Mode Request */
Pawel Zarembski 0:01f31e923fe2 513 __IO uint32_t owm_ack; /* 0x0094 1-Wire Master I/O Mode Acknowledge */
Pawel Zarembski 0:01f31e923fe2 514 __IO uint32_t spis_req; /* 0x0098 SPI Slave I/O Mode Request */
Pawel Zarembski 0:01f31e923fe2 515 __IO uint32_t spis_ack; /* 0x009C SPI Slave I/O Mode Acknowledge */
Pawel Zarembski 0:01f31e923fe2 516 __R uint32_t rsv0A0[24]; /* 0x00A0-0x00FC */
Pawel Zarembski 0:01f31e923fe2 517 __IO uint32_t use_vddioh_0; /* 0x0100 Enable VDDIOH Register 0 */
Pawel Zarembski 0:01f31e923fe2 518 __IO uint32_t use_vddioh_1; /* 0x0104 Enable VDDIOH Register 1 */
Pawel Zarembski 0:01f31e923fe2 519 __IO uint32_t use_vddioh_2; /* 0x0108 Enable VDDIOH Register 2 */
Pawel Zarembski 0:01f31e923fe2 520 __R uint32_t rsv10C; /* 0x010C */
Pawel Zarembski 0:01f31e923fe2 521 __IO uint32_t pad_mode; /* 0x0110 Pad Mode Control Register */
Pawel Zarembski 0:01f31e923fe2 522 __R uint32_t rsv114[27]; /* 0x0114-0x017C */
Pawel Zarembski 0:01f31e923fe2 523 __IO uint32_t wud_req2; /* 0x0180 Wakeup Detect Mode Request Register 2 (P8) */
Pawel Zarembski 0:01f31e923fe2 524 __R uint32_t rsv184; /* 0x0184 */
Pawel Zarembski 0:01f31e923fe2 525 __IO uint32_t wud_ack2; /* 0x0188 Wakeup Detect Mode Acknowledge Register 2 (P8) */
Pawel Zarembski 0:01f31e923fe2 526 __R uint32_t rsv18C; /* 0x018C */
Pawel Zarembski 0:01f31e923fe2 527 __IO uint32_t ali_req2; /* 0x0190 Analog Input Request Register 2 (P8) */
Pawel Zarembski 0:01f31e923fe2 528 __R uint32_t rsv194; /* 0x0194 */
Pawel Zarembski 0:01f31e923fe2 529 __IO uint32_t ali_ack2; /* 0x0198 Analog Input Acknowledge Register 2 (P8) */
Pawel Zarembski 0:01f31e923fe2 530 __R uint32_t rsv19C; /* 0x019C */
Pawel Zarembski 0:01f31e923fe2 531 __IO uint32_t ali_connect2; /* 0x01A0 Analog I/O Connection Control Register 2 */
Pawel Zarembski 0:01f31e923fe2 532 } mxc_ioman_regs_t;
Pawel Zarembski 0:01f31e923fe2 533
Pawel Zarembski 0:01f31e923fe2 534
Pawel Zarembski 0:01f31e923fe2 535 /*
Pawel Zarembski 0:01f31e923fe2 536 Register offsets for module IOMAN.
Pawel Zarembski 0:01f31e923fe2 537 */
Pawel Zarembski 0:01f31e923fe2 538
Pawel Zarembski 0:01f31e923fe2 539 #define MXC_R_IOMAN_OFFS_WUD_REQ0 ((uint32_t)0x00000000UL)
Pawel Zarembski 0:01f31e923fe2 540 #define MXC_R_IOMAN_OFFS_WUD_REQ1 ((uint32_t)0x00000004UL)
Pawel Zarembski 0:01f31e923fe2 541 #define MXC_R_IOMAN_OFFS_WUD_ACK0 ((uint32_t)0x00000008UL)
Pawel Zarembski 0:01f31e923fe2 542 #define MXC_R_IOMAN_OFFS_WUD_ACK1 ((uint32_t)0x0000000CUL)
Pawel Zarembski 0:01f31e923fe2 543 #define MXC_R_IOMAN_OFFS_ALI_REQ0 ((uint32_t)0x00000010UL)
Pawel Zarembski 0:01f31e923fe2 544 #define MXC_R_IOMAN_OFFS_ALI_REQ1 ((uint32_t)0x00000014UL)
Pawel Zarembski 0:01f31e923fe2 545 #define MXC_R_IOMAN_OFFS_ALI_ACK0 ((uint32_t)0x00000018UL)
Pawel Zarembski 0:01f31e923fe2 546 #define MXC_R_IOMAN_OFFS_ALI_ACK1 ((uint32_t)0x0000001CUL)
Pawel Zarembski 0:01f31e923fe2 547 #define MXC_R_IOMAN_OFFS_ALI_CONNECT0 ((uint32_t)0x00000020UL)
Pawel Zarembski 0:01f31e923fe2 548 #define MXC_R_IOMAN_OFFS_ALI_CONNECT1 ((uint32_t)0x00000024UL)
Pawel Zarembski 0:01f31e923fe2 549 #define MXC_R_IOMAN_OFFS_SPIX_REQ ((uint32_t)0x00000028UL)
Pawel Zarembski 0:01f31e923fe2 550 #define MXC_R_IOMAN_OFFS_SPIX_ACK ((uint32_t)0x0000002CUL)
Pawel Zarembski 0:01f31e923fe2 551 #define MXC_R_IOMAN_OFFS_UART0_REQ ((uint32_t)0x00000030UL)
Pawel Zarembski 0:01f31e923fe2 552 #define MXC_R_IOMAN_OFFS_UART0_ACK ((uint32_t)0x00000034UL)
Pawel Zarembski 0:01f31e923fe2 553 #define MXC_R_IOMAN_OFFS_UART1_REQ ((uint32_t)0x00000038UL)
Pawel Zarembski 0:01f31e923fe2 554 #define MXC_R_IOMAN_OFFS_UART1_ACK ((uint32_t)0x0000003CUL)
Pawel Zarembski 0:01f31e923fe2 555 #define MXC_R_IOMAN_OFFS_UART2_REQ ((uint32_t)0x00000040UL)
Pawel Zarembski 0:01f31e923fe2 556 #define MXC_R_IOMAN_OFFS_UART2_ACK ((uint32_t)0x00000044UL)
Pawel Zarembski 0:01f31e923fe2 557 #define MXC_R_IOMAN_OFFS_UART3_REQ ((uint32_t)0x00000048UL)
Pawel Zarembski 0:01f31e923fe2 558 #define MXC_R_IOMAN_OFFS_UART3_ACK ((uint32_t)0x0000004CUL)
Pawel Zarembski 0:01f31e923fe2 559 #define MXC_R_IOMAN_OFFS_I2CM0_REQ ((uint32_t)0x00000050UL)
Pawel Zarembski 0:01f31e923fe2 560 #define MXC_R_IOMAN_OFFS_I2CM0_ACK ((uint32_t)0x00000054UL)
Pawel Zarembski 0:01f31e923fe2 561 #define MXC_R_IOMAN_OFFS_I2CM1_REQ ((uint32_t)0x00000058UL)
Pawel Zarembski 0:01f31e923fe2 562 #define MXC_R_IOMAN_OFFS_I2CM1_ACK ((uint32_t)0x0000005CUL)
Pawel Zarembski 0:01f31e923fe2 563 #define MXC_R_IOMAN_OFFS_I2CM2_REQ ((uint32_t)0x00000060UL)
Pawel Zarembski 0:01f31e923fe2 564 #define MXC_R_IOMAN_OFFS_I2CM2_ACK ((uint32_t)0x00000064UL)
Pawel Zarembski 0:01f31e923fe2 565 #define MXC_R_IOMAN_OFFS_I2CS_REQ ((uint32_t)0x00000068UL)
Pawel Zarembski 0:01f31e923fe2 566 #define MXC_R_IOMAN_OFFS_I2CS_ACK ((uint32_t)0x0000006CUL)
Pawel Zarembski 0:01f31e923fe2 567 #define MXC_R_IOMAN_OFFS_SPIM0_REQ ((uint32_t)0x00000070UL)
Pawel Zarembski 0:01f31e923fe2 568 #define MXC_R_IOMAN_OFFS_SPIM0_ACK ((uint32_t)0x00000074UL)
Pawel Zarembski 0:01f31e923fe2 569 #define MXC_R_IOMAN_OFFS_SPIM1_REQ ((uint32_t)0x00000078UL)
Pawel Zarembski 0:01f31e923fe2 570 #define MXC_R_IOMAN_OFFS_SPIM1_ACK ((uint32_t)0x0000007CUL)
Pawel Zarembski 0:01f31e923fe2 571 #define MXC_R_IOMAN_OFFS_SPIM2_REQ ((uint32_t)0x00000080UL)
Pawel Zarembski 0:01f31e923fe2 572 #define MXC_R_IOMAN_OFFS_SPIM2_ACK ((uint32_t)0x00000084UL)
Pawel Zarembski 0:01f31e923fe2 573 #define MXC_R_IOMAN_OFFS_SPIB_REQ ((uint32_t)0x00000088UL)
Pawel Zarembski 0:01f31e923fe2 574 #define MXC_R_IOMAN_OFFS_SPIB_ACK ((uint32_t)0x0000008CUL)
Pawel Zarembski 0:01f31e923fe2 575 #define MXC_R_IOMAN_OFFS_OWM_REQ ((uint32_t)0x00000090UL)
Pawel Zarembski 0:01f31e923fe2 576 #define MXC_R_IOMAN_OFFS_OWM_ACK ((uint32_t)0x00000094UL)
Pawel Zarembski 0:01f31e923fe2 577 #define MXC_R_IOMAN_OFFS_SPIS_REQ ((uint32_t)0x00000098UL)
Pawel Zarembski 0:01f31e923fe2 578 #define MXC_R_IOMAN_OFFS_SPIS_ACK ((uint32_t)0x0000009CUL)
Pawel Zarembski 0:01f31e923fe2 579 #define MXC_R_IOMAN_OFFS_USE_VDDIOH_0 ((uint32_t)0x00000100UL)
Pawel Zarembski 0:01f31e923fe2 580 #define MXC_R_IOMAN_OFFS_USE_VDDIOH_1 ((uint32_t)0x00000104UL)
Pawel Zarembski 0:01f31e923fe2 581 #define MXC_R_IOMAN_OFFS_USE_VDDIOH_2 ((uint32_t)0x00000108UL)
Pawel Zarembski 0:01f31e923fe2 582 #define MXC_R_IOMAN_OFFS_PAD_MODE ((uint32_t)0x00000110UL)
Pawel Zarembski 0:01f31e923fe2 583 #define MXC_R_IOMAN_OFFS_WUD_REQ2 ((uint32_t)0x00000180UL)
Pawel Zarembski 0:01f31e923fe2 584 #define MXC_R_IOMAN_OFFS_WUD_ACK2 ((uint32_t)0x00000188UL)
Pawel Zarembski 0:01f31e923fe2 585 #define MXC_R_IOMAN_OFFS_ALI_REQ2 ((uint32_t)0x00000190UL)
Pawel Zarembski 0:01f31e923fe2 586 #define MXC_R_IOMAN_OFFS_ALI_ACK2 ((uint32_t)0x00000198UL)
Pawel Zarembski 0:01f31e923fe2 587 #define MXC_R_IOMAN_OFFS_ALI_CONNECT2 ((uint32_t)0x000001A0UL)
Pawel Zarembski 0:01f31e923fe2 588
Pawel Zarembski 0:01f31e923fe2 589
Pawel Zarembski 0:01f31e923fe2 590 /*
Pawel Zarembski 0:01f31e923fe2 591 Field positions and masks for module IOMAN.
Pawel Zarembski 0:01f31e923fe2 592 */
Pawel Zarembski 0:01f31e923fe2 593
Pawel Zarembski 0:01f31e923fe2 594 #define MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P0_POS 0
Pawel Zarembski 0:01f31e923fe2 595 #define MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P0 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P0_POS))
Pawel Zarembski 0:01f31e923fe2 596 #define MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P1_POS 8
Pawel Zarembski 0:01f31e923fe2 597 #define MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P1 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P1_POS))
Pawel Zarembski 0:01f31e923fe2 598 #define MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P2_POS 16
Pawel Zarembski 0:01f31e923fe2 599 #define MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P2 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P2_POS))
Pawel Zarembski 0:01f31e923fe2 600 #define MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P3_POS 24
Pawel Zarembski 0:01f31e923fe2 601 #define MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P3 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_REQ0_WUD_REQ_P3_POS))
Pawel Zarembski 0:01f31e923fe2 602
Pawel Zarembski 0:01f31e923fe2 603 #define MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P4_POS 0
Pawel Zarembski 0:01f31e923fe2 604 #define MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P4 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P4_POS))
Pawel Zarembski 0:01f31e923fe2 605 #define MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P5_POS 8
Pawel Zarembski 0:01f31e923fe2 606 #define MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P5 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P5_POS))
Pawel Zarembski 0:01f31e923fe2 607 #define MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P6_POS 16
Pawel Zarembski 0:01f31e923fe2 608 #define MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P6 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P6_POS))
Pawel Zarembski 0:01f31e923fe2 609 #define MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P7_POS 24
Pawel Zarembski 0:01f31e923fe2 610 #define MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P7 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_REQ1_WUD_REQ_P7_POS))
Pawel Zarembski 0:01f31e923fe2 611
Pawel Zarembski 0:01f31e923fe2 612 #define MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P0_POS 0
Pawel Zarembski 0:01f31e923fe2 613 #define MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P0 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P0_POS))
Pawel Zarembski 0:01f31e923fe2 614 #define MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P1_POS 8
Pawel Zarembski 0:01f31e923fe2 615 #define MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P1 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P1_POS))
Pawel Zarembski 0:01f31e923fe2 616 #define MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P2_POS 16
Pawel Zarembski 0:01f31e923fe2 617 #define MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P2 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P2_POS))
Pawel Zarembski 0:01f31e923fe2 618 #define MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P3_POS 24
Pawel Zarembski 0:01f31e923fe2 619 #define MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P3 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_ACK0_WUD_ACK_P3_POS))
Pawel Zarembski 0:01f31e923fe2 620
Pawel Zarembski 0:01f31e923fe2 621 #define MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P4_POS 0
Pawel Zarembski 0:01f31e923fe2 622 #define MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P4 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P4_POS))
Pawel Zarembski 0:01f31e923fe2 623 #define MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P5_POS 8
Pawel Zarembski 0:01f31e923fe2 624 #define MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P5 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P5_POS))
Pawel Zarembski 0:01f31e923fe2 625 #define MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P6_POS 16
Pawel Zarembski 0:01f31e923fe2 626 #define MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P6 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P6_POS))
Pawel Zarembski 0:01f31e923fe2 627 #define MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P7_POS 24
Pawel Zarembski 0:01f31e923fe2 628 #define MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P7 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_WUD_ACK1_WUD_ACK_P7_POS))
Pawel Zarembski 0:01f31e923fe2 629
Pawel Zarembski 0:01f31e923fe2 630 #define MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P0_POS 0
Pawel Zarembski 0:01f31e923fe2 631 #define MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P0 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P0_POS))
Pawel Zarembski 0:01f31e923fe2 632 #define MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P1_POS 8
Pawel Zarembski 0:01f31e923fe2 633 #define MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P1 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P1_POS))
Pawel Zarembski 0:01f31e923fe2 634 #define MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P2_POS 16
Pawel Zarembski 0:01f31e923fe2 635 #define MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P2 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P2_POS))
Pawel Zarembski 0:01f31e923fe2 636 #define MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P3_POS 24
Pawel Zarembski 0:01f31e923fe2 637 #define MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P3 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_REQ0_ALI_REQ_P3_POS))
Pawel Zarembski 0:01f31e923fe2 638
Pawel Zarembski 0:01f31e923fe2 639 #define MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P4_POS 0
Pawel Zarembski 0:01f31e923fe2 640 #define MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P4 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P4_POS))
Pawel Zarembski 0:01f31e923fe2 641 #define MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P5_POS 8
Pawel Zarembski 0:01f31e923fe2 642 #define MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P5 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P5_POS))
Pawel Zarembski 0:01f31e923fe2 643 #define MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P6_POS 16
Pawel Zarembski 0:01f31e923fe2 644 #define MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P6 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P6_POS))
Pawel Zarembski 0:01f31e923fe2 645 #define MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P7_POS 24
Pawel Zarembski 0:01f31e923fe2 646 #define MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P7 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_REQ1_ALI_REQ_P7_POS))
Pawel Zarembski 0:01f31e923fe2 647
Pawel Zarembski 0:01f31e923fe2 648 #define MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P0_POS 0
Pawel Zarembski 0:01f31e923fe2 649 #define MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P0 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P0_POS))
Pawel Zarembski 0:01f31e923fe2 650 #define MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P1_POS 8
Pawel Zarembski 0:01f31e923fe2 651 #define MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P1 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P1_POS))
Pawel Zarembski 0:01f31e923fe2 652 #define MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P2_POS 16
Pawel Zarembski 0:01f31e923fe2 653 #define MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P2 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P2_POS))
Pawel Zarembski 0:01f31e923fe2 654 #define MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P3_POS 24
Pawel Zarembski 0:01f31e923fe2 655 #define MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P3 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_ACK0_ALI_ACK_P3_POS))
Pawel Zarembski 0:01f31e923fe2 656
Pawel Zarembski 0:01f31e923fe2 657 #define MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P4_POS 0
Pawel Zarembski 0:01f31e923fe2 658 #define MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P4 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P4_POS))
Pawel Zarembski 0:01f31e923fe2 659 #define MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P5_POS 8
Pawel Zarembski 0:01f31e923fe2 660 #define MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P5 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P5_POS))
Pawel Zarembski 0:01f31e923fe2 661 #define MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P6_POS 16
Pawel Zarembski 0:01f31e923fe2 662 #define MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P6 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P6_POS))
Pawel Zarembski 0:01f31e923fe2 663 #define MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P7_POS 24
Pawel Zarembski 0:01f31e923fe2 664 #define MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P7 ((uint32_t)(0x000000FFUL << MXC_F_IOMAN_ALI_ACK1_ALI_ACK_P7_POS))
Pawel Zarembski 0:01f31e923fe2 665
Pawel Zarembski 0:01f31e923fe2 666 #define MXC_F_IOMAN_SPIX_REQ_CORE_IO_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 667 #define MXC_F_IOMAN_SPIX_REQ_CORE_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_REQ_CORE_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 668 #define MXC_F_IOMAN_SPIX_REQ_SS0_IO_REQ_POS 8
Pawel Zarembski 0:01f31e923fe2 669 #define MXC_F_IOMAN_SPIX_REQ_SS0_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_REQ_SS0_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 670 #define MXC_F_IOMAN_SPIX_REQ_SS1_IO_REQ_POS 9
Pawel Zarembski 0:01f31e923fe2 671 #define MXC_F_IOMAN_SPIX_REQ_SS1_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_REQ_SS1_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 672 #define MXC_F_IOMAN_SPIX_REQ_SS2_IO_REQ_POS 10
Pawel Zarembski 0:01f31e923fe2 673 #define MXC_F_IOMAN_SPIX_REQ_SS2_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_REQ_SS2_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 674 #define MXC_F_IOMAN_SPIX_REQ_QUAD_IO_REQ_POS 12
Pawel Zarembski 0:01f31e923fe2 675 #define MXC_F_IOMAN_SPIX_REQ_QUAD_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_REQ_QUAD_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 676 #define MXC_F_IOMAN_SPIX_REQ_FAST_MODE_POS 16
Pawel Zarembski 0:01f31e923fe2 677 #define MXC_F_IOMAN_SPIX_REQ_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_REQ_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 678
Pawel Zarembski 0:01f31e923fe2 679 #define MXC_F_IOMAN_SPIX_ACK_CORE_IO_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 680 #define MXC_F_IOMAN_SPIX_ACK_CORE_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_ACK_CORE_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 681 #define MXC_F_IOMAN_SPIX_ACK_SS0_IO_ACK_POS 8
Pawel Zarembski 0:01f31e923fe2 682 #define MXC_F_IOMAN_SPIX_ACK_SS0_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_ACK_SS0_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 683 #define MXC_F_IOMAN_SPIX_ACK_SS1_IO_ACK_POS 9
Pawel Zarembski 0:01f31e923fe2 684 #define MXC_F_IOMAN_SPIX_ACK_SS1_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_ACK_SS1_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 685 #define MXC_F_IOMAN_SPIX_ACK_SS2_IO_ACK_POS 10
Pawel Zarembski 0:01f31e923fe2 686 #define MXC_F_IOMAN_SPIX_ACK_SS2_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_ACK_SS2_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 687 #define MXC_F_IOMAN_SPIX_ACK_QUAD_IO_ACK_POS 12
Pawel Zarembski 0:01f31e923fe2 688 #define MXC_F_IOMAN_SPIX_ACK_QUAD_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_ACK_QUAD_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 689 #define MXC_F_IOMAN_SPIX_ACK_FAST_MODE_POS 16
Pawel Zarembski 0:01f31e923fe2 690 #define MXC_F_IOMAN_SPIX_ACK_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIX_ACK_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 691
Pawel Zarembski 0:01f31e923fe2 692 #define MXC_F_IOMAN_UART0_REQ_IO_MAP_POS 0
Pawel Zarembski 0:01f31e923fe2 693 #define MXC_F_IOMAN_UART0_REQ_IO_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_REQ_IO_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 694 #define MXC_F_IOMAN_UART0_REQ_CTS_MAP_POS 1
Pawel Zarembski 0:01f31e923fe2 695 #define MXC_F_IOMAN_UART0_REQ_CTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_REQ_CTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 696 #define MXC_F_IOMAN_UART0_REQ_RTS_MAP_POS 2
Pawel Zarembski 0:01f31e923fe2 697 #define MXC_F_IOMAN_UART0_REQ_RTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_REQ_RTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 698 #define MXC_F_IOMAN_UART0_REQ_IO_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 699 #define MXC_F_IOMAN_UART0_REQ_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_REQ_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 700 #define MXC_F_IOMAN_UART0_REQ_CTS_IO_REQ_POS 5
Pawel Zarembski 0:01f31e923fe2 701 #define MXC_F_IOMAN_UART0_REQ_CTS_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_REQ_CTS_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 702 #define MXC_F_IOMAN_UART0_REQ_RTS_IO_REQ_POS 6
Pawel Zarembski 0:01f31e923fe2 703 #define MXC_F_IOMAN_UART0_REQ_RTS_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_REQ_RTS_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 704
Pawel Zarembski 0:01f31e923fe2 705 #define MXC_F_IOMAN_UART0_ACK_IO_MAP_POS 0
Pawel Zarembski 0:01f31e923fe2 706 #define MXC_F_IOMAN_UART0_ACK_IO_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_ACK_IO_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 707 #define MXC_F_IOMAN_UART0_ACK_CTS_MAP_POS 1
Pawel Zarembski 0:01f31e923fe2 708 #define MXC_F_IOMAN_UART0_ACK_CTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_ACK_CTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 709 #define MXC_F_IOMAN_UART0_ACK_RTS_MAP_POS 2
Pawel Zarembski 0:01f31e923fe2 710 #define MXC_F_IOMAN_UART0_ACK_RTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_ACK_RTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 711 #define MXC_F_IOMAN_UART0_ACK_IO_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 712 #define MXC_F_IOMAN_UART0_ACK_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_ACK_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 713 #define MXC_F_IOMAN_UART0_ACK_CTS_IO_ACK_POS 5
Pawel Zarembski 0:01f31e923fe2 714 #define MXC_F_IOMAN_UART0_ACK_CTS_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_ACK_CTS_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 715 #define MXC_F_IOMAN_UART0_ACK_RTS_IO_ACK_POS 6
Pawel Zarembski 0:01f31e923fe2 716 #define MXC_F_IOMAN_UART0_ACK_RTS_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART0_ACK_RTS_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 717
Pawel Zarembski 0:01f31e923fe2 718 #define MXC_F_IOMAN_UART1_REQ_IO_MAP_POS 0
Pawel Zarembski 0:01f31e923fe2 719 #define MXC_F_IOMAN_UART1_REQ_IO_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_REQ_IO_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 720 #define MXC_F_IOMAN_UART1_REQ_CTS_MAP_POS 1
Pawel Zarembski 0:01f31e923fe2 721 #define MXC_F_IOMAN_UART1_REQ_CTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_REQ_CTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 722 #define MXC_F_IOMAN_UART1_REQ_RTS_MAP_POS 2
Pawel Zarembski 0:01f31e923fe2 723 #define MXC_F_IOMAN_UART1_REQ_RTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_REQ_RTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 724 #define MXC_F_IOMAN_UART1_REQ_IO_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 725 #define MXC_F_IOMAN_UART1_REQ_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_REQ_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 726 #define MXC_F_IOMAN_UART1_REQ_CTS_IO_REQ_POS 5
Pawel Zarembski 0:01f31e923fe2 727 #define MXC_F_IOMAN_UART1_REQ_CTS_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_REQ_CTS_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 728 #define MXC_F_IOMAN_UART1_REQ_RTS_IO_REQ_POS 6
Pawel Zarembski 0:01f31e923fe2 729 #define MXC_F_IOMAN_UART1_REQ_RTS_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_REQ_RTS_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 730
Pawel Zarembski 0:01f31e923fe2 731 #define MXC_F_IOMAN_UART1_ACK_IO_MAP_POS 0
Pawel Zarembski 0:01f31e923fe2 732 #define MXC_F_IOMAN_UART1_ACK_IO_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_ACK_IO_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 733 #define MXC_F_IOMAN_UART1_ACK_CTS_MAP_POS 1
Pawel Zarembski 0:01f31e923fe2 734 #define MXC_F_IOMAN_UART1_ACK_CTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_ACK_CTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 735 #define MXC_F_IOMAN_UART1_ACK_RTS_MAP_POS 2
Pawel Zarembski 0:01f31e923fe2 736 #define MXC_F_IOMAN_UART1_ACK_RTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_ACK_RTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 737 #define MXC_F_IOMAN_UART1_ACK_IO_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 738 #define MXC_F_IOMAN_UART1_ACK_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_ACK_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 739 #define MXC_F_IOMAN_UART1_ACK_CTS_IO_ACK_POS 5
Pawel Zarembski 0:01f31e923fe2 740 #define MXC_F_IOMAN_UART1_ACK_CTS_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_ACK_CTS_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 741 #define MXC_F_IOMAN_UART1_ACK_RTS_IO_ACK_POS 6
Pawel Zarembski 0:01f31e923fe2 742 #define MXC_F_IOMAN_UART1_ACK_RTS_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART1_ACK_RTS_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 743
Pawel Zarembski 0:01f31e923fe2 744 #define MXC_F_IOMAN_UART2_REQ_IO_MAP_POS 0
Pawel Zarembski 0:01f31e923fe2 745 #define MXC_F_IOMAN_UART2_REQ_IO_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_REQ_IO_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 746 #define MXC_F_IOMAN_UART2_REQ_CTS_MAP_POS 1
Pawel Zarembski 0:01f31e923fe2 747 #define MXC_F_IOMAN_UART2_REQ_CTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_REQ_CTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 748 #define MXC_F_IOMAN_UART2_REQ_RTS_MAP_POS 2
Pawel Zarembski 0:01f31e923fe2 749 #define MXC_F_IOMAN_UART2_REQ_RTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_REQ_RTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 750 #define MXC_F_IOMAN_UART2_REQ_IO_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 751 #define MXC_F_IOMAN_UART2_REQ_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_REQ_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 752 #define MXC_F_IOMAN_UART2_REQ_CTS_IO_REQ_POS 5
Pawel Zarembski 0:01f31e923fe2 753 #define MXC_F_IOMAN_UART2_REQ_CTS_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_REQ_CTS_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 754 #define MXC_F_IOMAN_UART2_REQ_RTS_IO_REQ_POS 6
Pawel Zarembski 0:01f31e923fe2 755 #define MXC_F_IOMAN_UART2_REQ_RTS_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_REQ_RTS_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 756
Pawel Zarembski 0:01f31e923fe2 757 #define MXC_F_IOMAN_UART2_ACK_IO_MAP_POS 0
Pawel Zarembski 0:01f31e923fe2 758 #define MXC_F_IOMAN_UART2_ACK_IO_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_ACK_IO_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 759 #define MXC_F_IOMAN_UART2_ACK_CTS_MAP_POS 1
Pawel Zarembski 0:01f31e923fe2 760 #define MXC_F_IOMAN_UART2_ACK_CTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_ACK_CTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 761 #define MXC_F_IOMAN_UART2_ACK_RTS_MAP_POS 2
Pawel Zarembski 0:01f31e923fe2 762 #define MXC_F_IOMAN_UART2_ACK_RTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_ACK_RTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 763 #define MXC_F_IOMAN_UART2_ACK_IO_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 764 #define MXC_F_IOMAN_UART2_ACK_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_ACK_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 765 #define MXC_F_IOMAN_UART2_ACK_CTS_IO_ACK_POS 5
Pawel Zarembski 0:01f31e923fe2 766 #define MXC_F_IOMAN_UART2_ACK_CTS_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_ACK_CTS_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 767 #define MXC_F_IOMAN_UART2_ACK_RTS_IO_ACK_POS 6
Pawel Zarembski 0:01f31e923fe2 768 #define MXC_F_IOMAN_UART2_ACK_RTS_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART2_ACK_RTS_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 769
Pawel Zarembski 0:01f31e923fe2 770 #define MXC_F_IOMAN_UART3_REQ_IO_MAP_POS 0
Pawel Zarembski 0:01f31e923fe2 771 #define MXC_F_IOMAN_UART3_REQ_IO_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_REQ_IO_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 772 #define MXC_F_IOMAN_UART3_REQ_CTS_MAP_POS 1
Pawel Zarembski 0:01f31e923fe2 773 #define MXC_F_IOMAN_UART3_REQ_CTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_REQ_CTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 774 #define MXC_F_IOMAN_UART3_REQ_RTS_MAP_POS 2
Pawel Zarembski 0:01f31e923fe2 775 #define MXC_F_IOMAN_UART3_REQ_RTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_REQ_RTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 776 #define MXC_F_IOMAN_UART3_REQ_IO_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 777 #define MXC_F_IOMAN_UART3_REQ_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_REQ_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 778 #define MXC_F_IOMAN_UART3_REQ_CTS_IO_REQ_POS 5
Pawel Zarembski 0:01f31e923fe2 779 #define MXC_F_IOMAN_UART3_REQ_CTS_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_REQ_CTS_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 780 #define MXC_F_IOMAN_UART3_REQ_RTS_IO_REQ_POS 6
Pawel Zarembski 0:01f31e923fe2 781 #define MXC_F_IOMAN_UART3_REQ_RTS_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_REQ_RTS_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 782
Pawel Zarembski 0:01f31e923fe2 783 #define MXC_F_IOMAN_UART3_ACK_IO_MAP_POS 0
Pawel Zarembski 0:01f31e923fe2 784 #define MXC_F_IOMAN_UART3_ACK_IO_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_ACK_IO_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 785 #define MXC_F_IOMAN_UART3_ACK_CTS_MAP_POS 1
Pawel Zarembski 0:01f31e923fe2 786 #define MXC_F_IOMAN_UART3_ACK_CTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_ACK_CTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 787 #define MXC_F_IOMAN_UART3_ACK_RTS_MAP_POS 2
Pawel Zarembski 0:01f31e923fe2 788 #define MXC_F_IOMAN_UART3_ACK_RTS_MAP ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_ACK_RTS_MAP_POS))
Pawel Zarembski 0:01f31e923fe2 789 #define MXC_F_IOMAN_UART3_ACK_IO_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 790 #define MXC_F_IOMAN_UART3_ACK_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_ACK_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 791 #define MXC_F_IOMAN_UART3_ACK_CTS_IO_ACK_POS 5
Pawel Zarembski 0:01f31e923fe2 792 #define MXC_F_IOMAN_UART3_ACK_CTS_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_ACK_CTS_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 793 #define MXC_F_IOMAN_UART3_ACK_RTS_IO_ACK_POS 6
Pawel Zarembski 0:01f31e923fe2 794 #define MXC_F_IOMAN_UART3_ACK_RTS_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_UART3_ACK_RTS_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 795
Pawel Zarembski 0:01f31e923fe2 796 #define MXC_F_IOMAN_I2CM0_REQ_MAPPING_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 797 #define MXC_F_IOMAN_I2CM0_REQ_MAPPING_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_I2CM0_REQ_MAPPING_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 798
Pawel Zarembski 0:01f31e923fe2 799 #define MXC_F_IOMAN_I2CM0_ACK_MAPPING_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 800 #define MXC_F_IOMAN_I2CM0_ACK_MAPPING_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_I2CM0_ACK_MAPPING_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 801
Pawel Zarembski 0:01f31e923fe2 802 #define MXC_F_IOMAN_I2CM1_REQ_IO_SEL_POS 0
Pawel Zarembski 0:01f31e923fe2 803 #define MXC_F_IOMAN_I2CM1_REQ_IO_SEL ((uint32_t)(0x00000003UL << MXC_F_IOMAN_I2CM1_REQ_IO_SEL_POS))
Pawel Zarembski 0:01f31e923fe2 804 #define MXC_F_IOMAN_I2CM1_REQ_MAPPING_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 805 #define MXC_F_IOMAN_I2CM1_REQ_MAPPING_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_I2CM1_REQ_MAPPING_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 806
Pawel Zarembski 0:01f31e923fe2 807 #define MXC_F_IOMAN_I2CM1_ACK_IO_SEL_POS 0
Pawel Zarembski 0:01f31e923fe2 808 #define MXC_F_IOMAN_I2CM1_ACK_IO_SEL ((uint32_t)(0x00000003UL << MXC_F_IOMAN_I2CM1_ACK_IO_SEL_POS))
Pawel Zarembski 0:01f31e923fe2 809 #define MXC_F_IOMAN_I2CM1_ACK_MAPPING_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 810 #define MXC_F_IOMAN_I2CM1_ACK_MAPPING_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_I2CM1_ACK_MAPPING_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 811
Pawel Zarembski 0:01f31e923fe2 812 #define MXC_F_IOMAN_I2CM2_REQ_IO_SEL_POS 0
Pawel Zarembski 0:01f31e923fe2 813 #define MXC_F_IOMAN_I2CM2_REQ_IO_SEL ((uint32_t)(0x00000003UL << MXC_F_IOMAN_I2CM2_REQ_IO_SEL_POS))
Pawel Zarembski 0:01f31e923fe2 814 #define MXC_F_IOMAN_I2CM2_REQ_MAPPING_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 815 #define MXC_F_IOMAN_I2CM2_REQ_MAPPING_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_I2CM2_REQ_MAPPING_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 816
Pawel Zarembski 0:01f31e923fe2 817 #define MXC_F_IOMAN_I2CM2_ACK_IO_SEL_POS 0
Pawel Zarembski 0:01f31e923fe2 818 #define MXC_F_IOMAN_I2CM2_ACK_IO_SEL ((uint32_t)(0x00000003UL << MXC_F_IOMAN_I2CM2_ACK_IO_SEL_POS))
Pawel Zarembski 0:01f31e923fe2 819 #define MXC_F_IOMAN_I2CM2_ACK_MAPPING_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 820 #define MXC_F_IOMAN_I2CM2_ACK_MAPPING_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_I2CM2_ACK_MAPPING_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 821
Pawel Zarembski 0:01f31e923fe2 822 #define MXC_F_IOMAN_I2CS_REQ_IO_SEL_POS 0
Pawel Zarembski 0:01f31e923fe2 823 #define MXC_F_IOMAN_I2CS_REQ_IO_SEL ((uint32_t)(0x00000007UL << MXC_F_IOMAN_I2CS_REQ_IO_SEL_POS))
Pawel Zarembski 0:01f31e923fe2 824 #define MXC_F_IOMAN_I2CS_REQ_MAPPING_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 825 #define MXC_F_IOMAN_I2CS_REQ_MAPPING_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_I2CS_REQ_MAPPING_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 826
Pawel Zarembski 0:01f31e923fe2 827 #define MXC_F_IOMAN_I2CS_ACK_IO_SEL_POS 0
Pawel Zarembski 0:01f31e923fe2 828 #define MXC_F_IOMAN_I2CS_ACK_IO_SEL ((uint32_t)(0x00000007UL << MXC_F_IOMAN_I2CS_ACK_IO_SEL_POS))
Pawel Zarembski 0:01f31e923fe2 829 #define MXC_F_IOMAN_I2CS_ACK_MAPPING_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 830 #define MXC_F_IOMAN_I2CS_ACK_MAPPING_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_I2CS_ACK_MAPPING_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 831
Pawel Zarembski 0:01f31e923fe2 832 #define MXC_F_IOMAN_SPIM0_REQ_CORE_IO_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 833 #define MXC_F_IOMAN_SPIM0_REQ_CORE_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_REQ_CORE_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 834 #define MXC_F_IOMAN_SPIM0_REQ_SS0_IO_REQ_POS 8
Pawel Zarembski 0:01f31e923fe2 835 #define MXC_F_IOMAN_SPIM0_REQ_SS0_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_REQ_SS0_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 836 #define MXC_F_IOMAN_SPIM0_REQ_SS1_IO_REQ_POS 9
Pawel Zarembski 0:01f31e923fe2 837 #define MXC_F_IOMAN_SPIM0_REQ_SS1_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_REQ_SS1_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 838 #define MXC_F_IOMAN_SPIM0_REQ_SS2_IO_REQ_POS 10
Pawel Zarembski 0:01f31e923fe2 839 #define MXC_F_IOMAN_SPIM0_REQ_SS2_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_REQ_SS2_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 840 #define MXC_F_IOMAN_SPIM0_REQ_SS3_IO_REQ_POS 11
Pawel Zarembski 0:01f31e923fe2 841 #define MXC_F_IOMAN_SPIM0_REQ_SS3_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_REQ_SS3_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 842 #define MXC_F_IOMAN_SPIM0_REQ_SS4_IO_REQ_POS 12
Pawel Zarembski 0:01f31e923fe2 843 #define MXC_F_IOMAN_SPIM0_REQ_SS4_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_REQ_SS4_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 844 #define MXC_F_IOMAN_SPIM0_REQ_QUAD_IO_REQ_POS 20
Pawel Zarembski 0:01f31e923fe2 845 #define MXC_F_IOMAN_SPIM0_REQ_QUAD_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_REQ_QUAD_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 846 #define MXC_F_IOMAN_SPIM0_REQ_FAST_MODE_POS 24
Pawel Zarembski 0:01f31e923fe2 847 #define MXC_F_IOMAN_SPIM0_REQ_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_REQ_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 848
Pawel Zarembski 0:01f31e923fe2 849 #define MXC_F_IOMAN_SPIM0_ACK_CORE_IO_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 850 #define MXC_F_IOMAN_SPIM0_ACK_CORE_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_ACK_CORE_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 851 #define MXC_F_IOMAN_SPIM0_ACK_SS0_IO_ACK_POS 8
Pawel Zarembski 0:01f31e923fe2 852 #define MXC_F_IOMAN_SPIM0_ACK_SS0_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_ACK_SS0_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 853 #define MXC_F_IOMAN_SPIM0_ACK_SS1_IO_ACK_POS 9
Pawel Zarembski 0:01f31e923fe2 854 #define MXC_F_IOMAN_SPIM0_ACK_SS1_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_ACK_SS1_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 855 #define MXC_F_IOMAN_SPIM0_ACK_SS2_IO_ACK_POS 10
Pawel Zarembski 0:01f31e923fe2 856 #define MXC_F_IOMAN_SPIM0_ACK_SS2_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_ACK_SS2_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 857 #define MXC_F_IOMAN_SPIM0_ACK_SS3_IO_ACK_POS 11
Pawel Zarembski 0:01f31e923fe2 858 #define MXC_F_IOMAN_SPIM0_ACK_SS3_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_ACK_SS3_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 859 #define MXC_F_IOMAN_SPIM0_ACK_SS4_IO_ACK_POS 12
Pawel Zarembski 0:01f31e923fe2 860 #define MXC_F_IOMAN_SPIM0_ACK_SS4_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_ACK_SS4_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 861 #define MXC_F_IOMAN_SPIM0_ACK_QUAD_IO_ACK_POS 20
Pawel Zarembski 0:01f31e923fe2 862 #define MXC_F_IOMAN_SPIM0_ACK_QUAD_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_ACK_QUAD_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 863 #define MXC_F_IOMAN_SPIM0_ACK_FAST_MODE_POS 24
Pawel Zarembski 0:01f31e923fe2 864 #define MXC_F_IOMAN_SPIM0_ACK_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM0_ACK_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 865
Pawel Zarembski 0:01f31e923fe2 866 #define MXC_F_IOMAN_SPIM1_REQ_CORE_IO_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 867 #define MXC_F_IOMAN_SPIM1_REQ_CORE_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_REQ_CORE_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 868 #define MXC_F_IOMAN_SPIM1_REQ_SS0_IO_REQ_POS 8
Pawel Zarembski 0:01f31e923fe2 869 #define MXC_F_IOMAN_SPIM1_REQ_SS0_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_REQ_SS0_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 870 #define MXC_F_IOMAN_SPIM1_REQ_SS1_IO_REQ_POS 9
Pawel Zarembski 0:01f31e923fe2 871 #define MXC_F_IOMAN_SPIM1_REQ_SS1_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_REQ_SS1_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 872 #define MXC_F_IOMAN_SPIM1_REQ_SS2_IO_REQ_POS 10
Pawel Zarembski 0:01f31e923fe2 873 #define MXC_F_IOMAN_SPIM1_REQ_SS2_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_REQ_SS2_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 874 #define MXC_F_IOMAN_SPIM1_REQ_QUAD_IO_REQ_POS 20
Pawel Zarembski 0:01f31e923fe2 875 #define MXC_F_IOMAN_SPIM1_REQ_QUAD_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_REQ_QUAD_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 876 #define MXC_F_IOMAN_SPIM1_REQ_FAST_MODE_POS 24
Pawel Zarembski 0:01f31e923fe2 877 #define MXC_F_IOMAN_SPIM1_REQ_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_REQ_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 878
Pawel Zarembski 0:01f31e923fe2 879 #define MXC_F_IOMAN_SPIM1_ACK_CORE_IO_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 880 #define MXC_F_IOMAN_SPIM1_ACK_CORE_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_ACK_CORE_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 881 #define MXC_F_IOMAN_SPIM1_ACK_SS0_IO_ACK_POS 8
Pawel Zarembski 0:01f31e923fe2 882 #define MXC_F_IOMAN_SPIM1_ACK_SS0_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_ACK_SS0_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 883 #define MXC_F_IOMAN_SPIM1_ACK_SS1_IO_ACK_POS 9
Pawel Zarembski 0:01f31e923fe2 884 #define MXC_F_IOMAN_SPIM1_ACK_SS1_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_ACK_SS1_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 885 #define MXC_F_IOMAN_SPIM1_ACK_SS2_IO_ACK_POS 10
Pawel Zarembski 0:01f31e923fe2 886 #define MXC_F_IOMAN_SPIM1_ACK_SS2_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_ACK_SS2_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 887 #define MXC_F_IOMAN_SPIM1_ACK_QUAD_IO_ACK_POS 20
Pawel Zarembski 0:01f31e923fe2 888 #define MXC_F_IOMAN_SPIM1_ACK_QUAD_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_ACK_QUAD_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 889 #define MXC_F_IOMAN_SPIM1_ACK_FAST_MODE_POS 24
Pawel Zarembski 0:01f31e923fe2 890 #define MXC_F_IOMAN_SPIM1_ACK_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM1_ACK_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 891
Pawel Zarembski 0:01f31e923fe2 892 #define MXC_F_IOMAN_SPIM2_REQ_MAPPING_REQ_POS 0
Pawel Zarembski 0:01f31e923fe2 893 #define MXC_F_IOMAN_SPIM2_REQ_MAPPING_REQ ((uint32_t)(0x00000003UL << MXC_F_IOMAN_SPIM2_REQ_MAPPING_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 894 #define MXC_F_IOMAN_SPIM2_REQ_CORE_IO_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 895 #define MXC_F_IOMAN_SPIM2_REQ_CORE_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_REQ_CORE_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 896 #define MXC_F_IOMAN_SPIM2_REQ_SS0_IO_REQ_POS 8
Pawel Zarembski 0:01f31e923fe2 897 #define MXC_F_IOMAN_SPIM2_REQ_SS0_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_REQ_SS0_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 898 #define MXC_F_IOMAN_SPIM2_REQ_SS1_IO_REQ_POS 9
Pawel Zarembski 0:01f31e923fe2 899 #define MXC_F_IOMAN_SPIM2_REQ_SS1_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_REQ_SS1_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 900 #define MXC_F_IOMAN_SPIM2_REQ_SS2_IO_REQ_POS 10
Pawel Zarembski 0:01f31e923fe2 901 #define MXC_F_IOMAN_SPIM2_REQ_SS2_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_REQ_SS2_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 902 #define MXC_F_IOMAN_SPIM2_REQ_SR0_IO_REQ_POS 16
Pawel Zarembski 0:01f31e923fe2 903 #define MXC_F_IOMAN_SPIM2_REQ_SR0_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_REQ_SR0_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 904 #define MXC_F_IOMAN_SPIM2_REQ_SR1_IO_REQ_POS 17
Pawel Zarembski 0:01f31e923fe2 905 #define MXC_F_IOMAN_SPIM2_REQ_SR1_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_REQ_SR1_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 906 #define MXC_F_IOMAN_SPIM2_REQ_QUAD_IO_REQ_POS 20
Pawel Zarembski 0:01f31e923fe2 907 #define MXC_F_IOMAN_SPIM2_REQ_QUAD_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_REQ_QUAD_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 908 #define MXC_F_IOMAN_SPIM2_REQ_FAST_MODE_POS 24
Pawel Zarembski 0:01f31e923fe2 909 #define MXC_F_IOMAN_SPIM2_REQ_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_REQ_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 910
Pawel Zarembski 0:01f31e923fe2 911 #define MXC_F_IOMAN_SPIM2_ACK_MAPPING_ACK_POS 0
Pawel Zarembski 0:01f31e923fe2 912 #define MXC_F_IOMAN_SPIM2_ACK_MAPPING_ACK ((uint32_t)(0x00000003UL << MXC_F_IOMAN_SPIM2_ACK_MAPPING_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 913 #define MXC_F_IOMAN_SPIM2_ACK_CORE_IO_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 914 #define MXC_F_IOMAN_SPIM2_ACK_CORE_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_ACK_CORE_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 915 #define MXC_F_IOMAN_SPIM2_ACK_SS0_IO_ACK_POS 8
Pawel Zarembski 0:01f31e923fe2 916 #define MXC_F_IOMAN_SPIM2_ACK_SS0_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_ACK_SS0_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 917 #define MXC_F_IOMAN_SPIM2_ACK_SS1_IO_ACK_POS 9
Pawel Zarembski 0:01f31e923fe2 918 #define MXC_F_IOMAN_SPIM2_ACK_SS1_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_ACK_SS1_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 919 #define MXC_F_IOMAN_SPIM2_ACK_SS2_IO_ACK_POS 10
Pawel Zarembski 0:01f31e923fe2 920 #define MXC_F_IOMAN_SPIM2_ACK_SS2_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_ACK_SS2_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 921 #define MXC_F_IOMAN_SPIM2_ACK_SR0_IO_REQ_POS 16
Pawel Zarembski 0:01f31e923fe2 922 #define MXC_F_IOMAN_SPIM2_ACK_SR0_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_ACK_SR0_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 923 #define MXC_F_IOMAN_SPIM2_ACK_SR1_IO_REQ_POS 17
Pawel Zarembski 0:01f31e923fe2 924 #define MXC_F_IOMAN_SPIM2_ACK_SR1_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_ACK_SR1_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 925 #define MXC_F_IOMAN_SPIM2_ACK_QUAD_IO_ACK_POS 20
Pawel Zarembski 0:01f31e923fe2 926 #define MXC_F_IOMAN_SPIM2_ACK_QUAD_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_ACK_QUAD_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 927 #define MXC_F_IOMAN_SPIM2_ACK_FAST_MODE_POS 24
Pawel Zarembski 0:01f31e923fe2 928 #define MXC_F_IOMAN_SPIM2_ACK_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIM2_ACK_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 929
Pawel Zarembski 0:01f31e923fe2 930 #define MXC_F_IOMAN_SPIB_REQ_CORE_IO_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 931 #define MXC_F_IOMAN_SPIB_REQ_CORE_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIB_REQ_CORE_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 932 #define MXC_F_IOMAN_SPIB_REQ_QUAD_IO_REQ_POS 8
Pawel Zarembski 0:01f31e923fe2 933 #define MXC_F_IOMAN_SPIB_REQ_QUAD_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIB_REQ_QUAD_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 934 #define MXC_F_IOMAN_SPIB_REQ_FAST_MODE_POS 12
Pawel Zarembski 0:01f31e923fe2 935 #define MXC_F_IOMAN_SPIB_REQ_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIB_REQ_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 936
Pawel Zarembski 0:01f31e923fe2 937 #define MXC_F_IOMAN_SPIB_ACK_CORE_IO_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 938 #define MXC_F_IOMAN_SPIB_ACK_CORE_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIB_ACK_CORE_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 939 #define MXC_F_IOMAN_SPIB_ACK_QUAD_IO_ACK_POS 8
Pawel Zarembski 0:01f31e923fe2 940 #define MXC_F_IOMAN_SPIB_ACK_QUAD_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIB_ACK_QUAD_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 941 #define MXC_F_IOMAN_SPIB_ACK_FAST_MODE_POS 12
Pawel Zarembski 0:01f31e923fe2 942 #define MXC_F_IOMAN_SPIB_ACK_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIB_ACK_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 943
Pawel Zarembski 0:01f31e923fe2 944 #define MXC_F_IOMAN_OWM_REQ_MAPPING_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 945 #define MXC_F_IOMAN_OWM_REQ_MAPPING_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_OWM_REQ_MAPPING_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 946 #define MXC_F_IOMAN_OWM_REQ_EPU_IO_REQ_POS 5
Pawel Zarembski 0:01f31e923fe2 947 #define MXC_F_IOMAN_OWM_REQ_EPU_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_OWM_REQ_EPU_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 948
Pawel Zarembski 0:01f31e923fe2 949 #define MXC_F_IOMAN_OWM_ACK_MAPPING_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 950 #define MXC_F_IOMAN_OWM_ACK_MAPPING_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_OWM_ACK_MAPPING_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 951 #define MXC_F_IOMAN_OWM_ACK_EPU_IO_ACK_POS 5
Pawel Zarembski 0:01f31e923fe2 952 #define MXC_F_IOMAN_OWM_ACK_EPU_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_OWM_ACK_EPU_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 953
Pawel Zarembski 0:01f31e923fe2 954 #define MXC_F_IOMAN_SPIS_REQ_MAPPING_REQ_POS 0
Pawel Zarembski 0:01f31e923fe2 955 #define MXC_F_IOMAN_SPIS_REQ_MAPPING_REQ ((uint32_t)(0x00000003UL << MXC_F_IOMAN_SPIS_REQ_MAPPING_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 956 #define MXC_F_IOMAN_SPIS_REQ_CORE_IO_REQ_POS 4
Pawel Zarembski 0:01f31e923fe2 957 #define MXC_F_IOMAN_SPIS_REQ_CORE_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIS_REQ_CORE_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 958 #define MXC_F_IOMAN_SPIS_REQ_QUAD_IO_REQ_POS 8
Pawel Zarembski 0:01f31e923fe2 959 #define MXC_F_IOMAN_SPIS_REQ_QUAD_IO_REQ ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIS_REQ_QUAD_IO_REQ_POS))
Pawel Zarembski 0:01f31e923fe2 960 #define MXC_F_IOMAN_SPIS_REQ_FAST_MODE_POS 12
Pawel Zarembski 0:01f31e923fe2 961 #define MXC_F_IOMAN_SPIS_REQ_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIS_REQ_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 962
Pawel Zarembski 0:01f31e923fe2 963 #define MXC_F_IOMAN_SPIS_ACK_MAPPING_ACK_POS 0
Pawel Zarembski 0:01f31e923fe2 964 #define MXC_F_IOMAN_SPIS_ACK_MAPPING_ACK ((uint32_t)(0x00000003UL << MXC_F_IOMAN_SPIS_ACK_MAPPING_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 965 #define MXC_F_IOMAN_SPIS_ACK_CORE_IO_ACK_POS 4
Pawel Zarembski 0:01f31e923fe2 966 #define MXC_F_IOMAN_SPIS_ACK_CORE_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIS_ACK_CORE_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 967 #define MXC_F_IOMAN_SPIS_ACK_QUAD_IO_ACK_POS 8
Pawel Zarembski 0:01f31e923fe2 968 #define MXC_F_IOMAN_SPIS_ACK_QUAD_IO_ACK ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIS_ACK_QUAD_IO_ACK_POS))
Pawel Zarembski 0:01f31e923fe2 969 #define MXC_F_IOMAN_SPIS_ACK_FAST_MODE_POS 12
Pawel Zarembski 0:01f31e923fe2 970 #define MXC_F_IOMAN_SPIS_ACK_FAST_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_SPIS_ACK_FAST_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 971
Pawel Zarembski 0:01f31e923fe2 972 #define MXC_F_IOMAN_PAD_MODE_SLOW_MODE_POS 0
Pawel Zarembski 0:01f31e923fe2 973 #define MXC_F_IOMAN_PAD_MODE_SLOW_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_PAD_MODE_SLOW_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 974 #define MXC_F_IOMAN_PAD_MODE_ALT_RCVR_MODE_POS 1
Pawel Zarembski 0:01f31e923fe2 975 #define MXC_F_IOMAN_PAD_MODE_ALT_RCVR_MODE ((uint32_t)(0x00000001UL << MXC_F_IOMAN_PAD_MODE_ALT_RCVR_MODE_POS))
Pawel Zarembski 0:01f31e923fe2 976
Pawel Zarembski 0:01f31e923fe2 977 #define MXC_F_IOMAN_WUD_REQ2_WUD_REQ_P8_POS 0
Pawel Zarembski 0:01f31e923fe2 978 #define MXC_F_IOMAN_WUD_REQ2_WUD_REQ_P8 ((uint32_t)(0x00000003UL << MXC_F_IOMAN_WUD_REQ2_WUD_REQ_P8_POS))
Pawel Zarembski 0:01f31e923fe2 979
Pawel Zarembski 0:01f31e923fe2 980 #define MXC_F_IOMAN_WUD_ACK2_WUD_ACK_P8_POS 0
Pawel Zarembski 0:01f31e923fe2 981 #define MXC_F_IOMAN_WUD_ACK2_WUD_ACK_P8 ((uint32_t)(0x00000003UL << MXC_F_IOMAN_WUD_ACK2_WUD_ACK_P8_POS))
Pawel Zarembski 0:01f31e923fe2 982
Pawel Zarembski 0:01f31e923fe2 983 #define MXC_F_IOMAN_ALI_REQ2_ALI_REQ_P8_POS 0
Pawel Zarembski 0:01f31e923fe2 984 #define MXC_F_IOMAN_ALI_REQ2_ALI_REQ_P8 ((uint32_t)(0x00000003UL << MXC_F_IOMAN_ALI_REQ2_ALI_REQ_P8_POS))
Pawel Zarembski 0:01f31e923fe2 985
Pawel Zarembski 0:01f31e923fe2 986 #define MXC_F_IOMAN_ALI_ACK2_ALI_ACK_P8_POS 0
Pawel Zarembski 0:01f31e923fe2 987 #define MXC_F_IOMAN_ALI_ACK2_ALI_ACK_P8 ((uint32_t)(0x00000003UL << MXC_F_IOMAN_ALI_ACK2_ALI_ACK_P8_POS))
Pawel Zarembski 0:01f31e923fe2 988
Pawel Zarembski 0:01f31e923fe2 989
Pawel Zarembski 0:01f31e923fe2 990
Pawel Zarembski 0:01f31e923fe2 991 #ifdef __cplusplus
Pawel Zarembski 0:01f31e923fe2 992 }
Pawel Zarembski 0:01f31e923fe2 993 #endif
Pawel Zarembski 0:01f31e923fe2 994
Pawel Zarembski 0:01f31e923fe2 995 #endif /* _MXC_IOMAN_REGS_H_ */