Changeset 374 for asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/device/inc/iodefines/usb20_iodefine.h
- Timestamp:
- Apr 5, 2019, 9:26:53 PM (5 years ago)
- Location:
- asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX
- Files:
-
- 1 added
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/asp3_dcre/mbed/targets/TARGET_RENESAS/TARGET_RZA1XX/TARGET_RZ_A1H/device/inc/iodefines/usb20_iodefine.h
r352 r374 19 19 * following link: 20 20 * http://www.renesas.com/disclaimer* 21 * Copyright (C) 2013-201 4Renesas Electronics Corporation. All rights reserved.21 * Copyright (C) 2013-2015 Renesas Electronics Corporation. All rights reserved. 22 22 *******************************************************************************/ 23 23 /******************************************************************************* … … 25 25 * $Rev: $ 26 26 * $Date:: $ 27 * Description : Definition of I/O Register (V1.00a)27 * Description : Definition of I/O Register for RZ/A1H,M (V2.00h) 28 28 ******************************************************************************/ 29 29 #ifndef USB20_IODEFINE_H 30 30 #define USB20_IODEFINE_H 31 /* ->QAC 0639 : Over 127 members (C90) */ 32 /* ->QAC 0857 : Over 1024 #define (C90) */ 33 /* ->MISRA 18.4 : Pack unpack union */ /* ->SEC M1.6.2 */ 31 34 /* ->SEC M1.10.1 : Not magic number */ 32 35 33 struct st_usb20 34 { /* USB20 */ 36 #define USB200 (*(struct st_usb20 *)0xE8010000uL) /* USB200 */ 37 #define USB201 (*(struct st_usb20 *)0xE8207000uL) /* USB201 */ 38 39 40 /* Start of channel array defines of USB20 */ 41 42 /* Channel array defines of USB20 */ 43 /*(Sample) value = USB20[ channel ]->SYSCFG0; */ 44 #define USB20_COUNT (2) 45 #define USB20_ADDRESS_LIST \ 46 { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ 47 &USB200, &USB201 \ 48 } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ 49 50 51 52 /* Channel array defines of USB20_FROM_D0FIFOB0 */ 53 /*(Sample) value = USB20_FROM_D0FIFOB0[ channel ][ index ]->D0FIFOB0; */ 54 #define USB20_FROM_D0FIFOB0_COUNT (2) 55 #define USB20_FROM_D0FIFOB0_ADDRESS_LIST \ 56 { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ 57 { \ 58 &USB200_FROM_D0FIFOB0, &USB200_FROM_D1FIFOB0 },{ \ 59 &USB201_FROM_D0FIFOB0, &USB201_FROM_D1FIFOB0 \ 60 } \ 61 } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ 62 #define USB200_FROM_D0FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB200.D0FIFOB0) /* USB200_FROM_D0FIFOB0 */ 63 #define USB200_FROM_D1FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB200.D1FIFOB0) /* USB200_FROM_D1FIFOB0 */ 64 #define USB201_FROM_D0FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB201.D0FIFOB0) /* USB201_FROM_D0FIFOB0 */ 65 #define USB201_FROM_D1FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB201.D1FIFOB0) /* USB201_FROM_D1FIFOB0 */ 66 67 68 69 70 /* Channel array defines of USB20_FROM_PIPE1ATRE */ 71 /*(Sample) value = USB20_FROM_PIPE1ATRE[ channel ][ index ]->PIPE1TRE; */ 72 #define USB20_FROM_PIPE1ATRE_COUNT (5) 73 #define USB20_FROM_PIPE1ATRE_ADDRESS_LIST \ 74 { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ 75 { \ 76 &USB200_FROM_PIPE1TRE, &USB200_FROM_PIPE2TRE, &USB200_FROM_PIPE3TRE, &USB200_FROM_PIPE4TRE, &USB200_FROM_PIPE5TRE },{ \ 77 &USB201_FROM_PIPE1TRE, &USB201_FROM_PIPE2TRE, &USB201_FROM_PIPE3TRE, &USB201_FROM_PIPE4TRE, &USB201_FROM_PIPE5TRE \ 78 } \ 79 } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ 80 #define USB200_FROM_PIPE1TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE1TRE) /* USB200_FROM_PIPE1TRE */ 81 #define USB200_FROM_PIPE2TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE2TRE) /* USB200_FROM_PIPE2TRE */ 82 #define USB200_FROM_PIPE3TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE3TRE) /* USB200_FROM_PIPE3TRE */ 83 #define USB200_FROM_PIPE4TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE4TRE) /* USB200_FROM_PIPE4TRE */ 84 #define USB200_FROM_PIPE5TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE5TRE) /* USB200_FROM_PIPE5TRE */ 85 #define USB201_FROM_PIPE1TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE1TRE) /* USB201_FROM_PIPE1TRE */ 86 #define USB201_FROM_PIPE2TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE2TRE) /* USB201_FROM_PIPE2TRE */ 87 #define USB201_FROM_PIPE3TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE3TRE) /* USB201_FROM_PIPE3TRE */ 88 #define USB201_FROM_PIPE4TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE4TRE) /* USB201_FROM_PIPE4TRE */ 89 #define USB201_FROM_PIPE5TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE5TRE) /* USB201_FROM_PIPE5TRE */ 90 91 92 93 94 /* Channel array defines of USB20_FROM_D0FIFOSEL */ 95 /*(Sample) value = USB20_FROM_D0FIFOSEL[ channel ][ index ]->D0FIFOSEL; */ 96 #define USB20_FROM_D0FIFOSEL_COUNT (2) 97 #define USB20_FROM_D0FIFOSEL_ADDRESS_LIST \ 98 { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ 99 { \ 100 &USB200_FROM_D0FIFOSEL, &USB200_FROM_D1FIFOSEL },{ \ 101 &USB201_FROM_D0FIFOSEL, &USB201_FROM_D1FIFOSEL \ 102 } \ 103 } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ 104 #define USB200_FROM_D0FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB200.D0FIFOSEL) /* USB200_FROM_D0FIFOSEL */ 105 #define USB200_FROM_D1FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB200.D1FIFOSEL) /* USB200_FROM_D1FIFOSEL */ 106 #define USB201_FROM_D0FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB201.D0FIFOSEL) /* USB201_FROM_D0FIFOSEL */ 107 #define USB201_FROM_D1FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB201.D1FIFOSEL) /* USB201_FROM_D1FIFOSEL */ 108 109 110 /* End of channel array defines of USB20 */ 111 112 113 #define SYSCFG0_0 (USB200.SYSCFG0) 114 #define BUSWAIT_0 (USB200.BUSWAIT) 115 #define SYSSTS0_0 (USB200.SYSSTS0) 116 #define DVSTCTR0_0 (USB200.DVSTCTR0) 117 #define TESTMODE_0 (USB200.TESTMODE) 118 #define D0FBCFG_0 (USB200.D0FBCFG) 119 #define D1FBCFG_0 (USB200.D1FBCFG) 120 #define CFIFO_0 (USB200.CFIFO.UINT32) 121 #define CFIFO_0L (USB200.CFIFO.UINT16[R_IO_L]) 122 #define CFIFO_0H (USB200.CFIFO.UINT16[R_IO_H]) 123 #define CFIFO_0LL (USB200.CFIFO.UINT8[R_IO_LL]) 124 #define CFIFO_0LH (USB200.CFIFO.UINT8[R_IO_LH]) 125 #define CFIFO_0HL (USB200.CFIFO.UINT8[R_IO_HL]) 126 #define CFIFO_0HH (USB200.CFIFO.UINT8[R_IO_HH]) 127 #define D0FIFO_0 (USB200.D0FIFO.UINT32) 128 #define D0FIFO_0L (USB200.D0FIFO.UINT16[R_IO_L]) 129 #define D0FIFO_0H (USB200.D0FIFO.UINT16[R_IO_H]) 130 #define D0FIFO_0LL (USB200.D0FIFO.UINT8[R_IO_LL]) 131 #define D0FIFO_0LH (USB200.D0FIFO.UINT8[R_IO_LH]) 132 #define D0FIFO_0HL (USB200.D0FIFO.UINT8[R_IO_HL]) 133 #define D0FIFO_0HH (USB200.D0FIFO.UINT8[R_IO_HH]) 134 #define D1FIFO_0 (USB200.D1FIFO.UINT32) 135 #define D1FIFO_0L (USB200.D1FIFO.UINT16[R_IO_L]) 136 #define D1FIFO_0H (USB200.D1FIFO.UINT16[R_IO_H]) 137 #define D1FIFO_0LL (USB200.D1FIFO.UINT8[R_IO_LL]) 138 #define D1FIFO_0LH (USB200.D1FIFO.UINT8[R_IO_LH]) 139 #define D1FIFO_0HL (USB200.D1FIFO.UINT8[R_IO_HL]) 140 #define D1FIFO_0HH (USB200.D1FIFO.UINT8[R_IO_HH]) 141 #define CFIFOSEL_0 (USB200.CFIFOSEL) 142 #define CFIFOCTR_0 (USB200.CFIFOCTR) 143 #define D0FIFOSEL_0 (USB200.D0FIFOSEL) 144 #define D0FIFOCTR_0 (USB200.D0FIFOCTR) 145 #define D1FIFOSEL_0 (USB200.D1FIFOSEL) 146 #define D1FIFOCTR_0 (USB200.D1FIFOCTR) 147 #define INTENB0_0 (USB200.INTENB0) 148 #define INTENB1_0 (USB200.INTENB1) 149 #define BRDYENB_0 (USB200.BRDYENB) 150 #define NRDYENB_0 (USB200.NRDYENB) 151 #define BEMPENB_0 (USB200.BEMPENB) 152 #define SOFCFG_0 (USB200.SOFCFG) 153 #define INTSTS0_0 (USB200.INTSTS0) 154 #define INTSTS1_0 (USB200.INTSTS1) 155 #define BRDYSTS_0 (USB200.BRDYSTS) 156 #define NRDYSTS_0 (USB200.NRDYSTS) 157 #define BEMPSTS_0 (USB200.BEMPSTS) 158 #define FRMNUM_0 (USB200.FRMNUM) 159 #define UFRMNUM_0 (USB200.UFRMNUM) 160 #define USBADDR_0 (USB200.USBADDR) 161 #define USBREQ_0 (USB200.USBREQ) 162 #define USBVAL_0 (USB200.USBVAL) 163 #define USBINDX_0 (USB200.USBINDX) 164 #define USBLENG_0 (USB200.USBLENG) 165 #define DCPCFG_0 (USB200.DCPCFG) 166 #define DCPMAXP_0 (USB200.DCPMAXP) 167 #define DCPCTR_0 (USB200.DCPCTR) 168 #define PIPESEL_0 (USB200.PIPESEL) 169 #define PIPECFG_0 (USB200.PIPECFG) 170 #define PIPEBUF_0 (USB200.PIPEBUF) 171 #define PIPEMAXP_0 (USB200.PIPEMAXP) 172 #define PIPEPERI_0 (USB200.PIPEPERI) 173 #define PIPE1CTR_0 (USB200.PIPE1CTR) 174 #define PIPE2CTR_0 (USB200.PIPE2CTR) 175 #define PIPE3CTR_0 (USB200.PIPE3CTR) 176 #define PIPE4CTR_0 (USB200.PIPE4CTR) 177 #define PIPE5CTR_0 (USB200.PIPE5CTR) 178 #define PIPE6CTR_0 (USB200.PIPE6CTR) 179 #define PIPE7CTR_0 (USB200.PIPE7CTR) 180 #define PIPE8CTR_0 (USB200.PIPE8CTR) 181 #define PIPE9CTR_0 (USB200.PIPE9CTR) 182 #define PIPEACTR_0 (USB200.PIPEACTR) 183 #define PIPEBCTR_0 (USB200.PIPEBCTR) 184 #define PIPECCTR_0 (USB200.PIPECCTR) 185 #define PIPEDCTR_0 (USB200.PIPEDCTR) 186 #define PIPEECTR_0 (USB200.PIPEECTR) 187 #define PIPEFCTR_0 (USB200.PIPEFCTR) 188 #define PIPE1TRE_0 (USB200.PIPE1TRE) 189 #define PIPE1TRN_0 (USB200.PIPE1TRN) 190 #define PIPE2TRE_0 (USB200.PIPE2TRE) 191 #define PIPE2TRN_0 (USB200.PIPE2TRN) 192 #define PIPE3TRE_0 (USB200.PIPE3TRE) 193 #define PIPE3TRN_0 (USB200.PIPE3TRN) 194 #define PIPE4TRE_0 (USB200.PIPE4TRE) 195 #define PIPE4TRN_0 (USB200.PIPE4TRN) 196 #define PIPE5TRE_0 (USB200.PIPE5TRE) 197 #define PIPE5TRN_0 (USB200.PIPE5TRN) 198 #define PIPEBTRE_0 (USB200.PIPEBTRE) 199 #define PIPEBTRN_0 (USB200.PIPEBTRN) 200 #define PIPECTRE_0 (USB200.PIPECTRE) 201 #define PIPECTRN_0 (USB200.PIPECTRN) 202 #define PIPEDTRE_0 (USB200.PIPEDTRE) 203 #define PIPEDTRN_0 (USB200.PIPEDTRN) 204 #define PIPEETRE_0 (USB200.PIPEETRE) 205 #define PIPEETRN_0 (USB200.PIPEETRN) 206 #define PIPEFTRE_0 (USB200.PIPEFTRE) 207 #define PIPEFTRN_0 (USB200.PIPEFTRN) 208 #define PIPE9TRE_0 (USB200.PIPE9TRE) 209 #define PIPE9TRN_0 (USB200.PIPE9TRN) 210 #define PIPEATRE_0 (USB200.PIPEATRE) 211 #define PIPEATRN_0 (USB200.PIPEATRN) 212 #define DEVADD0_0 (USB200.DEVADD0) 213 #define DEVADD1_0 (USB200.DEVADD1) 214 #define DEVADD2_0 (USB200.DEVADD2) 215 #define DEVADD3_0 (USB200.DEVADD3) 216 #define DEVADD4_0 (USB200.DEVADD4) 217 #define DEVADD5_0 (USB200.DEVADD5) 218 #define DEVADD6_0 (USB200.DEVADD6) 219 #define DEVADD7_0 (USB200.DEVADD7) 220 #define DEVADD8_0 (USB200.DEVADD8) 221 #define DEVADD9_0 (USB200.DEVADD9) 222 #define DEVADDA_0 (USB200.DEVADDA) 223 #define SUSPMODE_0 (USB200.SUSPMODE) 224 #define D0FIFOB0_0 (USB200.D0FIFOB0) 225 #define D0FIFOB1_0 (USB200.D0FIFOB1) 226 #define D0FIFOB2_0 (USB200.D0FIFOB2) 227 #define D0FIFOB3_0 (USB200.D0FIFOB3) 228 #define D0FIFOB4_0 (USB200.D0FIFOB4) 229 #define D0FIFOB5_0 (USB200.D0FIFOB5) 230 #define D0FIFOB6_0 (USB200.D0FIFOB6) 231 #define D0FIFOB7_0 (USB200.D0FIFOB7) 232 #define D1FIFOB0_0 (USB200.D1FIFOB0) 233 #define D1FIFOB1_0 (USB200.D1FIFOB1) 234 #define D1FIFOB2_0 (USB200.D1FIFOB2) 235 #define D1FIFOB3_0 (USB200.D1FIFOB3) 236 #define D1FIFOB4_0 (USB200.D1FIFOB4) 237 #define D1FIFOB5_0 (USB200.D1FIFOB5) 238 #define D1FIFOB6_0 (USB200.D1FIFOB6) 239 #define D1FIFOB7_0 (USB200.D1FIFOB7) 240 #define SYSCFG0_1 (USB201.SYSCFG0) 241 #define BUSWAIT_1 (USB201.BUSWAIT) 242 #define SYSSTS0_1 (USB201.SYSSTS0) 243 #define DVSTCTR0_1 (USB201.DVSTCTR0) 244 #define TESTMODE_1 (USB201.TESTMODE) 245 #define D0FBCFG_1 (USB201.D0FBCFG) 246 #define D1FBCFG_1 (USB201.D1FBCFG) 247 #define CFIFO_1 (USB201.CFIFO.UINT32) 248 #define CFIFO_1L (USB201.CFIFO.UINT16[R_IO_L]) 249 #define CFIFO_1H (USB201.CFIFO.UINT16[R_IO_H]) 250 #define CFIFO_1LL (USB201.CFIFO.UINT8[R_IO_LL]) 251 #define CFIFO_1LH (USB201.CFIFO.UINT8[R_IO_LH]) 252 #define CFIFO_1HL (USB201.CFIFO.UINT8[R_IO_HL]) 253 #define CFIFO_1HH (USB201.CFIFO.UINT8[R_IO_HH]) 254 #define D0FIFO_1 (USB201.D0FIFO.UINT32) 255 #define D0FIFO_1L (USB201.D0FIFO.UINT16[R_IO_L]) 256 #define D0FIFO_1H (USB201.D0FIFO.UINT16[R_IO_H]) 257 #define D0FIFO_1LL (USB201.D0FIFO.UINT8[R_IO_LL]) 258 #define D0FIFO_1LH (USB201.D0FIFO.UINT8[R_IO_LH]) 259 #define D0FIFO_1HL (USB201.D0FIFO.UINT8[R_IO_HL]) 260 #define D0FIFO_1HH (USB201.D0FIFO.UINT8[R_IO_HH]) 261 #define D1FIFO_1 (USB201.D1FIFO.UINT32) 262 #define D1FIFO_1L (USB201.D1FIFO.UINT16[R_IO_L]) 263 #define D1FIFO_1H (USB201.D1FIFO.UINT16[R_IO_H]) 264 #define D1FIFO_1LL (USB201.D1FIFO.UINT8[R_IO_LL]) 265 #define D1FIFO_1LH (USB201.D1FIFO.UINT8[R_IO_LH]) 266 #define D1FIFO_1HL (USB201.D1FIFO.UINT8[R_IO_HL]) 267 #define D1FIFO_1HH (USB201.D1FIFO.UINT8[R_IO_HH]) 268 #define CFIFOSEL_1 (USB201.CFIFOSEL) 269 #define CFIFOCTR_1 (USB201.CFIFOCTR) 270 #define D0FIFOSEL_1 (USB201.D0FIFOSEL) 271 #define D0FIFOCTR_1 (USB201.D0FIFOCTR) 272 #define D1FIFOSEL_1 (USB201.D1FIFOSEL) 273 #define D1FIFOCTR_1 (USB201.D1FIFOCTR) 274 #define INTENB0_1 (USB201.INTENB0) 275 #define INTENB1_1 (USB201.INTENB1) 276 #define BRDYENB_1 (USB201.BRDYENB) 277 #define NRDYENB_1 (USB201.NRDYENB) 278 #define BEMPENB_1 (USB201.BEMPENB) 279 #define SOFCFG_1 (USB201.SOFCFG) 280 #define INTSTS0_1 (USB201.INTSTS0) 281 #define INTSTS1_1 (USB201.INTSTS1) 282 #define BRDYSTS_1 (USB201.BRDYSTS) 283 #define NRDYSTS_1 (USB201.NRDYSTS) 284 #define BEMPSTS_1 (USB201.BEMPSTS) 285 #define FRMNUM_1 (USB201.FRMNUM) 286 #define UFRMNUM_1 (USB201.UFRMNUM) 287 #define USBADDR_1 (USB201.USBADDR) 288 #define USBREQ_1 (USB201.USBREQ) 289 #define USBVAL_1 (USB201.USBVAL) 290 #define USBINDX_1 (USB201.USBINDX) 291 #define USBLENG_1 (USB201.USBLENG) 292 #define DCPCFG_1 (USB201.DCPCFG) 293 #define DCPMAXP_1 (USB201.DCPMAXP) 294 #define DCPCTR_1 (USB201.DCPCTR) 295 #define PIPESEL_1 (USB201.PIPESEL) 296 #define PIPECFG_1 (USB201.PIPECFG) 297 #define PIPEBUF_1 (USB201.PIPEBUF) 298 #define PIPEMAXP_1 (USB201.PIPEMAXP) 299 #define PIPEPERI_1 (USB201.PIPEPERI) 300 #define PIPE1CTR_1 (USB201.PIPE1CTR) 301 #define PIPE2CTR_1 (USB201.PIPE2CTR) 302 #define PIPE3CTR_1 (USB201.PIPE3CTR) 303 #define PIPE4CTR_1 (USB201.PIPE4CTR) 304 #define PIPE5CTR_1 (USB201.PIPE5CTR) 305 #define PIPE6CTR_1 (USB201.PIPE6CTR) 306 #define PIPE7CTR_1 (USB201.PIPE7CTR) 307 #define PIPE8CTR_1 (USB201.PIPE8CTR) 308 #define PIPE9CTR_1 (USB201.PIPE9CTR) 309 #define PIPEACTR_1 (USB201.PIPEACTR) 310 #define PIPEBCTR_1 (USB201.PIPEBCTR) 311 #define PIPECCTR_1 (USB201.PIPECCTR) 312 #define PIPEDCTR_1 (USB201.PIPEDCTR) 313 #define PIPEECTR_1 (USB201.PIPEECTR) 314 #define PIPEFCTR_1 (USB201.PIPEFCTR) 315 #define PIPE1TRE_1 (USB201.PIPE1TRE) 316 #define PIPE1TRN_1 (USB201.PIPE1TRN) 317 #define PIPE2TRE_1 (USB201.PIPE2TRE) 318 #define PIPE2TRN_1 (USB201.PIPE2TRN) 319 #define PIPE3TRE_1 (USB201.PIPE3TRE) 320 #define PIPE3TRN_1 (USB201.PIPE3TRN) 321 #define PIPE4TRE_1 (USB201.PIPE4TRE) 322 #define PIPE4TRN_1 (USB201.PIPE4TRN) 323 #define PIPE5TRE_1 (USB201.PIPE5TRE) 324 #define PIPE5TRN_1 (USB201.PIPE5TRN) 325 #define PIPEBTRE_1 (USB201.PIPEBTRE) 326 #define PIPEBTRN_1 (USB201.PIPEBTRN) 327 #define PIPECTRE_1 (USB201.PIPECTRE) 328 #define PIPECTRN_1 (USB201.PIPECTRN) 329 #define PIPEDTRE_1 (USB201.PIPEDTRE) 330 #define PIPEDTRN_1 (USB201.PIPEDTRN) 331 #define PIPEETRE_1 (USB201.PIPEETRE) 332 #define PIPEETRN_1 (USB201.PIPEETRN) 333 #define PIPEFTRE_1 (USB201.PIPEFTRE) 334 #define PIPEFTRN_1 (USB201.PIPEFTRN) 335 #define PIPE9TRE_1 (USB201.PIPE9TRE) 336 #define PIPE9TRN_1 (USB201.PIPE9TRN) 337 #define PIPEATRE_1 (USB201.PIPEATRE) 338 #define PIPEATRN_1 (USB201.PIPEATRN) 339 #define DEVADD0_1 (USB201.DEVADD0) 340 #define DEVADD1_1 (USB201.DEVADD1) 341 #define DEVADD2_1 (USB201.DEVADD2) 342 #define DEVADD3_1 (USB201.DEVADD3) 343 #define DEVADD4_1 (USB201.DEVADD4) 344 #define DEVADD5_1 (USB201.DEVADD5) 345 #define DEVADD6_1 (USB201.DEVADD6) 346 #define DEVADD7_1 (USB201.DEVADD7) 347 #define DEVADD8_1 (USB201.DEVADD8) 348 #define DEVADD9_1 (USB201.DEVADD9) 349 #define DEVADDA_1 (USB201.DEVADDA) 350 #define SUSPMODE_1 (USB201.SUSPMODE) 351 #define D0FIFOB0_1 (USB201.D0FIFOB0) 352 #define D0FIFOB1_1 (USB201.D0FIFOB1) 353 #define D0FIFOB2_1 (USB201.D0FIFOB2) 354 #define D0FIFOB3_1 (USB201.D0FIFOB3) 355 #define D0FIFOB4_1 (USB201.D0FIFOB4) 356 #define D0FIFOB5_1 (USB201.D0FIFOB5) 357 #define D0FIFOB6_1 (USB201.D0FIFOB6) 358 #define D0FIFOB7_1 (USB201.D0FIFOB7) 359 #define D1FIFOB0_1 (USB201.D1FIFOB0) 360 #define D1FIFOB1_1 (USB201.D1FIFOB1) 361 #define D1FIFOB2_1 (USB201.D1FIFOB2) 362 #define D1FIFOB3_1 (USB201.D1FIFOB3) 363 #define D1FIFOB4_1 (USB201.D1FIFOB4) 364 #define D1FIFOB5_1 (USB201.D1FIFOB5) 365 #define D1FIFOB6_1 (USB201.D1FIFOB6) 366 #define D1FIFOB7_1 (USB201.D1FIFOB7) 367 368 #define USB20_D0FBCFG_COUNT (2) 369 #define USB20_D0FIFO_COUNT (2) 370 #define USB20_INTENB0_COUNT (2) 371 #define USB20_INTSTS0_COUNT (2) 372 #define USB20_PIPE1CTR_COUNT (0xF) 373 #define USB20_DEVADD0_COUNT (0xB) 374 #define USB20_D0FIFOB0_COUNT (0x8) 375 376 377 typedef struct st_usb20 378 { 379 /* USB20 */ 35 380 volatile uint16_t SYSCFG0; /* SYSCFG0 */ 36 381 volatile uint16_t BUSWAIT; /* BUSWAIT */ … … 41 386 volatile uint16_t TESTMODE; /* TESTMODE */ 42 387 volatile uint8_t dummy3[2]; /* */ 43 #define USB20_D0FBCFG_COUNT 2 388 389 /* #define USB20_D0FBCFG_COUNT (2) */ 44 390 volatile uint16_t D0FBCFG; /* D0FBCFG */ 45 391 volatile uint16_t D1FBCFG; /* D1FBCFG */ 46 392 union iodefine_reg32_t CFIFO; /* CFIFO */ 47 #define USB20_D0FIFO_COUNT 2 393 394 /* #define USB20_D0FIFO_COUNT (2) */ 48 395 union iodefine_reg32_t D0FIFO; /* D0FIFO */ 49 396 union iodefine_reg32_t D1FIFO; /* D1FIFO */ … … 52 399 volatile uint16_t CFIFOCTR; /* CFIFOCTR */ 53 400 volatile uint8_t dummy4[4]; /* */ 401 54 402 /* start of struct st_usb20_from_d0fifosel */ 55 403 volatile uint16_t D0FIFOSEL; /* D0FIFOSEL */ 56 404 volatile uint16_t D0FIFOCTR; /* D0FIFOCTR */ 405 57 406 /* end of struct st_usb20_from_d0fifosel */ 407 58 408 /* start of struct st_usb20_from_d0fifosel */ 59 409 volatile uint16_t D1FIFOSEL; /* D1FIFOSEL */ 60 410 volatile uint16_t D1FIFOCTR; /* D1FIFOCTR */ 411 61 412 /* end of struct st_usb20_from_d0fifosel */ 62 #define USB20_INTENB0_COUNT 2 413 414 /* #define USB20_INTENB0_COUNT (2) */ 63 415 volatile uint16_t INTENB0; /* INTENB0 */ 64 416 volatile uint16_t INTENB1; /* INTENB1 */ … … 69 421 volatile uint16_t SOFCFG; /* SOFCFG */ 70 422 volatile uint8_t dummy6[2]; /* */ 71 #define USB20_INTSTS0_COUNT 2 423 424 /* #define USB20_INTSTS0_COUNT (2) */ 72 425 volatile uint16_t INTSTS0; /* INTSTS0 */ 73 426 volatile uint16_t INTSTS1; /* INTSTS1 */ … … 94 447 volatile uint16_t PIPEMAXP; /* PIPEMAXP */ 95 448 volatile uint16_t PIPEPERI; /* PIPEPERI */ 96 #define USB20_PIPE1CTR_COUNT 0xF 449 450 /* #define USB20_PIPE1CTR_COUNT (0xF) */ 97 451 volatile uint16_t PIPE1CTR; /* PIPE1CTR */ 98 452 volatile uint16_t PIPE2CTR; /* PIPE2CTR */ … … 111 465 volatile uint16_t PIPEFCTR; /* PIPEFCTR */ 112 466 volatile uint8_t dummy11[2]; /* */ 467 113 468 /* start of struct st_usb20_from_pipe1tre */ 114 469 volatile uint16_t PIPE1TRE; /* PIPE1TRE */ 115 470 volatile uint16_t PIPE1TRN; /* PIPE1TRN */ 471 116 472 /* end of struct st_usb20_from_pipe1tre */ 473 117 474 /* start of struct st_usb20_from_pipe1tre */ 118 475 volatile uint16_t PIPE2TRE; /* PIPE2TRE */ 119 476 volatile uint16_t PIPE2TRN; /* PIPE2TRN */ 477 120 478 /* end of struct st_usb20_from_pipe1tre */ 479 121 480 /* start of struct st_usb20_from_pipe1tre */ 122 481 volatile uint16_t PIPE3TRE; /* PIPE3TRE */ 123 482 volatile uint16_t PIPE3TRN; /* PIPE3TRN */ 483 124 484 /* end of struct st_usb20_from_pipe1tre */ 485 125 486 /* start of struct st_usb20_from_pipe1tre */ 126 487 volatile uint16_t PIPE4TRE; /* PIPE4TRE */ 127 488 volatile uint16_t PIPE4TRN; /* PIPE4TRN */ 489 128 490 /* end of struct st_usb20_from_pipe1tre */ 491 129 492 /* start of struct st_usb20_from_pipe1tre */ 130 493 volatile uint16_t PIPE5TRE; /* PIPE5TRE */ 131 494 volatile uint16_t PIPE5TRN; /* PIPE5TRN */ 495 132 496 /* end of struct st_usb20_from_pipe1tre */ 133 497 volatile uint16_t PIPEBTRE; /* PIPEBTRE */ … … 146 510 volatile uint16_t PIPEATRN; /* PIPEATRN */ 147 511 volatile uint8_t dummy12[16]; /* */ 148 #define USB20_DEVADD0_COUNT 0xB 512 513 /* #define USB20_DEVADD0_COUNT (0xB) */ 149 514 volatile uint16_t DEVADD0; /* DEVADD0 */ 150 515 volatile uint16_t DEVADD1; /* DEVADD1 */ … … 161 526 volatile uint16_t SUSPMODE; /* SUSPMODE */ 162 527 volatile uint8_t dummy14[92]; /* */ 528 163 529 /* start of struct st_usb20_from_dmfifob0 */ 164 530 volatile uint32_t D0FIFOB0; /* D0FIFOB0 */ … … 170 536 volatile uint32_t D0FIFOB6; /* D0FIFOB6 */ 171 537 volatile uint32_t D0FIFOB7; /* D0FIFOB7 */ 538 172 539 /* end of struct st_usb20_from_dmfifob0 */ 540 173 541 /* start of struct st_usb20_from_dmfifob0 */ 174 542 volatile uint32_t D1FIFOB0; /* D1FIFOB0 */ … … 180 548 volatile uint32_t D1FIFOB6; /* D1FIFOB6 */ 181 549 volatile uint32_t D1FIFOB7; /* D1FIFOB7 */ 550 182 551 /* end of struct st_usb20_from_dmfifob0 */ 183 } ;184 185 186 struct st_usb20_from_d0fifosel552 } r_io_usb20_t; 553 554 555 typedef struct st_usb20_from_d0fifosel 187 556 { 557 188 558 volatile uint16_t D0FIFOSEL; /* D0FIFOSEL */ 189 559 volatile uint16_t D0FIFOCTR; /* D0FIFOCTR */ 190 } ;191 192 193 struct st_usb20_from_pipe1tre560 } r_io_usb20_from_d0fifosel_t; 561 562 563 typedef struct st_usb20_from_pipe1tre 194 564 { 565 195 566 volatile uint16_t PIPE1TRE; /* PIPE1TRE */ 196 567 volatile uint16_t PIPE1TRN; /* PIPE1TRN */ 197 } ;198 199 200 struct st_usb20_from_dmfifob0568 } r_io_usb20_from_pipe1tre_t; 569 570 571 typedef struct st_usb20_from_dmfifob0 201 572 { 202 #define USB20_D0FIFOB0_COUNT 0x8 573 574 575 /* #define USB20_D0FIFOB0_COUNT (0x8) */ 203 576 volatile uint32_t D0FIFOB0; /* D0FIFOB0 */ 204 577 volatile uint32_t D0FIFOB1; /* D0FIFOB1 */ … … 209 582 volatile uint32_t D0FIFOB6; /* D0FIFOB6 */ 210 583 volatile uint32_t D0FIFOB7; /* D0FIFOB7 */ 211 }; 212 213 214 #define USB200 (*(struct st_usb20 *)0xE8010000uL) /* USB200 */ 215 #define USB201 (*(struct st_usb20 *)0xE8207000uL) /* USB201 */ 216 217 218 /* Start of channnel array defines of USB20 */ 219 220 /* Channnel array defines of USB20 */ 221 /*(Sample) value = USB20[ channel ]->SYSCFG0; */ 222 #define USB20_COUNT 2 223 #define USB20_ADDRESS_LIST \ 224 { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ 225 &USB200, &USB201 \ 226 } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ 227 228 229 230 /* Channnel array defines of USB20_FROM_D0FIFOB0 */ 231 /*(Sample) value = USB20_FROM_D0FIFOB0[ channel ][ index ]->D0FIFOB0; */ 232 #define USB20_FROM_D0FIFOB0_COUNT 2 233 #define USB20_FROM_D0FIFOB0_ADDRESS_LIST \ 234 { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ 235 { \ 236 &USB200_FROM_D0FIFOB0, &USB200_FROM_D1FIFOB0 },{ \ 237 &USB201_FROM_D0FIFOB0, &USB201_FROM_D1FIFOB0 \ 238 } \ 239 } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ 240 #define USB200_FROM_D0FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB200.D0FIFOB0) /* USB200_FROM_D0FIFOB0 */ 241 #define USB200_FROM_D1FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB200.D1FIFOB0) /* USB200_FROM_D1FIFOB0 */ 242 #define USB201_FROM_D0FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB201.D0FIFOB0) /* USB201_FROM_D0FIFOB0 */ 243 #define USB201_FROM_D1FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB201.D1FIFOB0) /* USB201_FROM_D1FIFOB0 */ 244 245 246 247 248 /* Channnel array defines of USB20_FROM_PIPE1ATRE */ 249 /*(Sample) value = USB20_FROM_PIPE1ATRE[ channel ][ index ]->PIPE1TRE; */ 250 #define USB20_FROM_PIPE1ATRE_COUNT 5 251 #define USB20_FROM_PIPE1ATRE_ADDRESS_LIST \ 252 { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ 253 { \ 254 &USB200_FROM_PIPE1TRE, &USB200_FROM_PIPE2TRE, &USB200_FROM_PIPE3TRE, &USB200_FROM_PIPE4TRE, &USB200_FROM_PIPE5TRE },{ \ 255 &USB201_FROM_PIPE1TRE, &USB201_FROM_PIPE2TRE, &USB201_FROM_PIPE3TRE, &USB201_FROM_PIPE4TRE, &USB201_FROM_PIPE5TRE \ 256 } \ 257 } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ 258 #define USB200_FROM_PIPE1TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE1TRE) /* USB200_FROM_PIPE1TRE */ 259 #define USB200_FROM_PIPE2TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE2TRE) /* USB200_FROM_PIPE2TRE */ 260 #define USB200_FROM_PIPE3TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE3TRE) /* USB200_FROM_PIPE3TRE */ 261 #define USB200_FROM_PIPE4TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE4TRE) /* USB200_FROM_PIPE4TRE */ 262 #define USB200_FROM_PIPE5TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE5TRE) /* USB200_FROM_PIPE5TRE */ 263 #define USB201_FROM_PIPE1TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE1TRE) /* USB201_FROM_PIPE1TRE */ 264 #define USB201_FROM_PIPE2TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE2TRE) /* USB201_FROM_PIPE2TRE */ 265 #define USB201_FROM_PIPE3TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE3TRE) /* USB201_FROM_PIPE3TRE */ 266 #define USB201_FROM_PIPE4TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE4TRE) /* USB201_FROM_PIPE4TRE */ 267 #define USB201_FROM_PIPE5TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE5TRE) /* USB201_FROM_PIPE5TRE */ 268 269 270 271 272 /* Channnel array defines of USB20_FROM_D0FIFOSEL */ 273 /*(Sample) value = USB20_FROM_D0FIFOSEL[ channel ][ index ]->D0FIFOSEL; */ 274 #define USB20_FROM_D0FIFOSEL_COUNT 2 275 #define USB20_FROM_D0FIFOSEL_ADDRESS_LIST \ 276 { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ 277 { \ 278 &USB200_FROM_D0FIFOSEL, &USB200_FROM_D1FIFOSEL },{ \ 279 &USB201_FROM_D0FIFOSEL, &USB201_FROM_D1FIFOSEL \ 280 } \ 281 } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ 282 #define USB200_FROM_D0FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB200.D0FIFOSEL) /* USB200_FROM_D0FIFOSEL */ 283 #define USB200_FROM_D1FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB200.D1FIFOSEL) /* USB200_FROM_D1FIFOSEL */ 284 #define USB201_FROM_D0FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB201.D0FIFOSEL) /* USB201_FROM_D0FIFOSEL */ 285 #define USB201_FROM_D1FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB201.D1FIFOSEL) /* USB201_FROM_D1FIFOSEL */ 286 287 288 /* End of channnel array defines of USB20 */ 289 290 291 #define SYSCFG0_0 USB200.SYSCFG0 292 #define BUSWAIT_0 USB200.BUSWAIT 293 #define SYSSTS0_0 USB200.SYSSTS0 294 #define DVSTCTR0_0 USB200.DVSTCTR0 295 #define TESTMODE_0 USB200.TESTMODE 296 #define D0FBCFG_0 USB200.D0FBCFG 297 #define D1FBCFG_0 USB200.D1FBCFG 298 #define CFIFO_0 USB200.CFIFO.UINT32 299 #define CFIFO_0L USB200.CFIFO.UINT16[L] 300 #define CFIFO_0H USB200.CFIFO.UINT16[H] 301 #define CFIFO_0LL USB200.CFIFO.UINT8[LL] 302 #define CFIFO_0LH USB200.CFIFO.UINT8[LH] 303 #define CFIFO_0HL USB200.CFIFO.UINT8[HL] 304 #define CFIFO_0HH USB200.CFIFO.UINT8[HH] 305 #define D0FIFO_0 USB200.D0FIFO.UINT32 306 #define D0FIFO_0L USB200.D0FIFO.UINT16[L] 307 #define D0FIFO_0H USB200.D0FIFO.UINT16[H] 308 #define D0FIFO_0LL USB200.D0FIFO.UINT8[LL] 309 #define D0FIFO_0LH USB200.D0FIFO.UINT8[LH] 310 #define D0FIFO_0HL USB200.D0FIFO.UINT8[HL] 311 #define D0FIFO_0HH USB200.D0FIFO.UINT8[HH] 312 #define D1FIFO_0 USB200.D1FIFO.UINT32 313 #define D1FIFO_0L USB200.D1FIFO.UINT16[L] 314 #define D1FIFO_0H USB200.D1FIFO.UINT16[H] 315 #define D1FIFO_0LL USB200.D1FIFO.UINT8[LL] 316 #define D1FIFO_0LH USB200.D1FIFO.UINT8[LH] 317 #define D1FIFO_0HL USB200.D1FIFO.UINT8[HL] 318 #define D1FIFO_0HH USB200.D1FIFO.UINT8[HH] 319 #define CFIFOSEL_0 USB200.CFIFOSEL 320 #define CFIFOCTR_0 USB200.CFIFOCTR 321 #define D0FIFOSEL_0 USB200.D0FIFOSEL 322 #define D0FIFOCTR_0 USB200.D0FIFOCTR 323 #define D1FIFOSEL_0 USB200.D1FIFOSEL 324 #define D1FIFOCTR_0 USB200.D1FIFOCTR 325 #define INTENB0_0 USB200.INTENB0 326 #define INTENB1_0 USB200.INTENB1 327 #define BRDYENB_0 USB200.BRDYENB 328 #define NRDYENB_0 USB200.NRDYENB 329 #define BEMPENB_0 USB200.BEMPENB 330 #define SOFCFG_0 USB200.SOFCFG 331 #define INTSTS0_0 USB200.INTSTS0 332 #define INTSTS1_0 USB200.INTSTS1 333 #define BRDYSTS_0 USB200.BRDYSTS 334 #define NRDYSTS_0 USB200.NRDYSTS 335 #define BEMPSTS_0 USB200.BEMPSTS 336 #define FRMNUM_0 USB200.FRMNUM 337 #define UFRMNUM_0 USB200.UFRMNUM 338 #define USBADDR_0 USB200.USBADDR 339 #define USBREQ_0 USB200.USBREQ 340 #define USBVAL_0 USB200.USBVAL 341 #define USBINDX_0 USB200.USBINDX 342 #define USBLENG_0 USB200.USBLENG 343 #define DCPCFG_0 USB200.DCPCFG 344 #define DCPMAXP_0 USB200.DCPMAXP 345 #define DCPCTR_0 USB200.DCPCTR 346 #define PIPESEL_0 USB200.PIPESEL 347 #define PIPECFG_0 USB200.PIPECFG 348 #define PIPEBUF_0 USB200.PIPEBUF 349 #define PIPEMAXP_0 USB200.PIPEMAXP 350 #define PIPEPERI_0 USB200.PIPEPERI 351 #define PIPE1CTR_0 USB200.PIPE1CTR 352 #define PIPE2CTR_0 USB200.PIPE2CTR 353 #define PIPE3CTR_0 USB200.PIPE3CTR 354 #define PIPE4CTR_0 USB200.PIPE4CTR 355 #define PIPE5CTR_0 USB200.PIPE5CTR 356 #define PIPE6CTR_0 USB200.PIPE6CTR 357 #define PIPE7CTR_0 USB200.PIPE7CTR 358 #define PIPE8CTR_0 USB200.PIPE8CTR 359 #define PIPE9CTR_0 USB200.PIPE9CTR 360 #define PIPEACTR_0 USB200.PIPEACTR 361 #define PIPEBCTR_0 USB200.PIPEBCTR 362 #define PIPECCTR_0 USB200.PIPECCTR 363 #define PIPEDCTR_0 USB200.PIPEDCTR 364 #define PIPEECTR_0 USB200.PIPEECTR 365 #define PIPEFCTR_0 USB200.PIPEFCTR 366 #define PIPE1TRE_0 USB200.PIPE1TRE 367 #define PIPE1TRN_0 USB200.PIPE1TRN 368 #define PIPE2TRE_0 USB200.PIPE2TRE 369 #define PIPE2TRN_0 USB200.PIPE2TRN 370 #define PIPE3TRE_0 USB200.PIPE3TRE 371 #define PIPE3TRN_0 USB200.PIPE3TRN 372 #define PIPE4TRE_0 USB200.PIPE4TRE 373 #define PIPE4TRN_0 USB200.PIPE4TRN 374 #define PIPE5TRE_0 USB200.PIPE5TRE 375 #define PIPE5TRN_0 USB200.PIPE5TRN 376 #define PIPEBTRE_0 USB200.PIPEBTRE 377 #define PIPEBTRN_0 USB200.PIPEBTRN 378 #define PIPECTRE_0 USB200.PIPECTRE 379 #define PIPECTRN_0 USB200.PIPECTRN 380 #define PIPEDTRE_0 USB200.PIPEDTRE 381 #define PIPEDTRN_0 USB200.PIPEDTRN 382 #define PIPEETRE_0 USB200.PIPEETRE 383 #define PIPEETRN_0 USB200.PIPEETRN 384 #define PIPEFTRE_0 USB200.PIPEFTRE 385 #define PIPEFTRN_0 USB200.PIPEFTRN 386 #define PIPE9TRE_0 USB200.PIPE9TRE 387 #define PIPE9TRN_0 USB200.PIPE9TRN 388 #define PIPEATRE_0 USB200.PIPEATRE 389 #define PIPEATRN_0 USB200.PIPEATRN 390 #define DEVADD0_0 USB200.DEVADD0 391 #define DEVADD1_0 USB200.DEVADD1 392 #define DEVADD2_0 USB200.DEVADD2 393 #define DEVADD3_0 USB200.DEVADD3 394 #define DEVADD4_0 USB200.DEVADD4 395 #define DEVADD5_0 USB200.DEVADD5 396 #define DEVADD6_0 USB200.DEVADD6 397 #define DEVADD7_0 USB200.DEVADD7 398 #define DEVADD8_0 USB200.DEVADD8 399 #define DEVADD9_0 USB200.DEVADD9 400 #define DEVADDA_0 USB200.DEVADDA 401 #define SUSPMODE_0 USB200.SUSPMODE 402 #define D0FIFOB0_0 USB200.D0FIFOB0 403 #define D0FIFOB1_0 USB200.D0FIFOB1 404 #define D0FIFOB2_0 USB200.D0FIFOB2 405 #define D0FIFOB3_0 USB200.D0FIFOB3 406 #define D0FIFOB4_0 USB200.D0FIFOB4 407 #define D0FIFOB5_0 USB200.D0FIFOB5 408 #define D0FIFOB6_0 USB200.D0FIFOB6 409 #define D0FIFOB7_0 USB200.D0FIFOB7 410 #define D1FIFOB0_0 USB200.D1FIFOB0 411 #define D1FIFOB1_0 USB200.D1FIFOB1 412 #define D1FIFOB2_0 USB200.D1FIFOB2 413 #define D1FIFOB3_0 USB200.D1FIFOB3 414 #define D1FIFOB4_0 USB200.D1FIFOB4 415 #define D1FIFOB5_0 USB200.D1FIFOB5 416 #define D1FIFOB6_0 USB200.D1FIFOB6 417 #define D1FIFOB7_0 USB200.D1FIFOB7 418 #define SYSCFG0_1 USB201.SYSCFG0 419 #define BUSWAIT_1 USB201.BUSWAIT 420 #define SYSSTS0_1 USB201.SYSSTS0 421 #define DVSTCTR0_1 USB201.DVSTCTR0 422 #define TESTMODE_1 USB201.TESTMODE 423 #define D0FBCFG_1 USB201.D0FBCFG 424 #define D1FBCFG_1 USB201.D1FBCFG 425 #define CFIFO_1 USB201.CFIFO.UINT32 426 #define CFIFO_1L USB201.CFIFO.UINT16[L] 427 #define CFIFO_1H USB201.CFIFO.UINT16[H] 428 #define CFIFO_1LL USB201.CFIFO.UINT8[LL] 429 #define CFIFO_1LH USB201.CFIFO.UINT8[LH] 430 #define CFIFO_1HL USB201.CFIFO.UINT8[HL] 431 #define CFIFO_1HH USB201.CFIFO.UINT8[HH] 432 #define D0FIFO_1 USB201.D0FIFO.UINT32 433 #define D0FIFO_1L USB201.D0FIFO.UINT16[L] 434 #define D0FIFO_1H USB201.D0FIFO.UINT16[H] 435 #define D0FIFO_1LL USB201.D0FIFO.UINT8[LL] 436 #define D0FIFO_1LH USB201.D0FIFO.UINT8[LH] 437 #define D0FIFO_1HL USB201.D0FIFO.UINT8[HL] 438 #define D0FIFO_1HH USB201.D0FIFO.UINT8[HH] 439 #define D1FIFO_1 USB201.D1FIFO.UINT32 440 #define D1FIFO_1L USB201.D1FIFO.UINT16[L] 441 #define D1FIFO_1H USB201.D1FIFO.UINT16[H] 442 #define D1FIFO_1LL USB201.D1FIFO.UINT8[LL] 443 #define D1FIFO_1LH USB201.D1FIFO.UINT8[LH] 444 #define D1FIFO_1HL USB201.D1FIFO.UINT8[HL] 445 #define D1FIFO_1HH USB201.D1FIFO.UINT8[HH] 446 #define CFIFOSEL_1 USB201.CFIFOSEL 447 #define CFIFOCTR_1 USB201.CFIFOCTR 448 #define D0FIFOSEL_1 USB201.D0FIFOSEL 449 #define D0FIFOCTR_1 USB201.D0FIFOCTR 450 #define D1FIFOSEL_1 USB201.D1FIFOSEL 451 #define D1FIFOCTR_1 USB201.D1FIFOCTR 452 #define INTENB0_1 USB201.INTENB0 453 #define INTENB1_1 USB201.INTENB1 454 #define BRDYENB_1 USB201.BRDYENB 455 #define NRDYENB_1 USB201.NRDYENB 456 #define BEMPENB_1 USB201.BEMPENB 457 #define SOFCFG_1 USB201.SOFCFG 458 #define INTSTS0_1 USB201.INTSTS0 459 #define INTSTS1_1 USB201.INTSTS1 460 #define BRDYSTS_1 USB201.BRDYSTS 461 #define NRDYSTS_1 USB201.NRDYSTS 462 #define BEMPSTS_1 USB201.BEMPSTS 463 #define FRMNUM_1 USB201.FRMNUM 464 #define UFRMNUM_1 USB201.UFRMNUM 465 #define USBADDR_1 USB201.USBADDR 466 #define USBREQ_1 USB201.USBREQ 467 #define USBVAL_1 USB201.USBVAL 468 #define USBINDX_1 USB201.USBINDX 469 #define USBLENG_1 USB201.USBLENG 470 #define DCPCFG_1 USB201.DCPCFG 471 #define DCPMAXP_1 USB201.DCPMAXP 472 #define DCPCTR_1 USB201.DCPCTR 473 #define PIPESEL_1 USB201.PIPESEL 474 #define PIPECFG_1 USB201.PIPECFG 475 #define PIPEBUF_1 USB201.PIPEBUF 476 #define PIPEMAXP_1 USB201.PIPEMAXP 477 #define PIPEPERI_1 USB201.PIPEPERI 478 #define PIPE1CTR_1 USB201.PIPE1CTR 479 #define PIPE2CTR_1 USB201.PIPE2CTR 480 #define PIPE3CTR_1 USB201.PIPE3CTR 481 #define PIPE4CTR_1 USB201.PIPE4CTR 482 #define PIPE5CTR_1 USB201.PIPE5CTR 483 #define PIPE6CTR_1 USB201.PIPE6CTR 484 #define PIPE7CTR_1 USB201.PIPE7CTR 485 #define PIPE8CTR_1 USB201.PIPE8CTR 486 #define PIPE9CTR_1 USB201.PIPE9CTR 487 #define PIPEACTR_1 USB201.PIPEACTR 488 #define PIPEBCTR_1 USB201.PIPEBCTR 489 #define PIPECCTR_1 USB201.PIPECCTR 490 #define PIPEDCTR_1 USB201.PIPEDCTR 491 #define PIPEECTR_1 USB201.PIPEECTR 492 #define PIPEFCTR_1 USB201.PIPEFCTR 493 #define PIPE1TRE_1 USB201.PIPE1TRE 494 #define PIPE1TRN_1 USB201.PIPE1TRN 495 #define PIPE2TRE_1 USB201.PIPE2TRE 496 #define PIPE2TRN_1 USB201.PIPE2TRN 497 #define PIPE3TRE_1 USB201.PIPE3TRE 498 #define PIPE3TRN_1 USB201.PIPE3TRN 499 #define PIPE4TRE_1 USB201.PIPE4TRE 500 #define PIPE4TRN_1 USB201.PIPE4TRN 501 #define PIPE5TRE_1 USB201.PIPE5TRE 502 #define PIPE5TRN_1 USB201.PIPE5TRN 503 #define PIPEBTRE_1 USB201.PIPEBTRE 504 #define PIPEBTRN_1 USB201.PIPEBTRN 505 #define PIPECTRE_1 USB201.PIPECTRE 506 #define PIPECTRN_1 USB201.PIPECTRN 507 #define PIPEDTRE_1 USB201.PIPEDTRE 508 #define PIPEDTRN_1 USB201.PIPEDTRN 509 #define PIPEETRE_1 USB201.PIPEETRE 510 #define PIPEETRN_1 USB201.PIPEETRN 511 #define PIPEFTRE_1 USB201.PIPEFTRE 512 #define PIPEFTRN_1 USB201.PIPEFTRN 513 #define PIPE9TRE_1 USB201.PIPE9TRE 514 #define PIPE9TRN_1 USB201.PIPE9TRN 515 #define PIPEATRE_1 USB201.PIPEATRE 516 #define PIPEATRN_1 USB201.PIPEATRN 517 #define DEVADD0_1 USB201.DEVADD0 518 #define DEVADD1_1 USB201.DEVADD1 519 #define DEVADD2_1 USB201.DEVADD2 520 #define DEVADD3_1 USB201.DEVADD3 521 #define DEVADD4_1 USB201.DEVADD4 522 #define DEVADD5_1 USB201.DEVADD5 523 #define DEVADD6_1 USB201.DEVADD6 524 #define DEVADD7_1 USB201.DEVADD7 525 #define DEVADD8_1 USB201.DEVADD8 526 #define DEVADD9_1 USB201.DEVADD9 527 #define DEVADDA_1 USB201.DEVADDA 528 #define SUSPMODE_1 USB201.SUSPMODE 529 #define D0FIFOB0_1 USB201.D0FIFOB0 530 #define D0FIFOB1_1 USB201.D0FIFOB1 531 #define D0FIFOB2_1 USB201.D0FIFOB2 532 #define D0FIFOB3_1 USB201.D0FIFOB3 533 #define D0FIFOB4_1 USB201.D0FIFOB4 534 #define D0FIFOB5_1 USB201.D0FIFOB5 535 #define D0FIFOB6_1 USB201.D0FIFOB6 536 #define D0FIFOB7_1 USB201.D0FIFOB7 537 #define D1FIFOB0_1 USB201.D1FIFOB0 538 #define D1FIFOB1_1 USB201.D1FIFOB1 539 #define D1FIFOB2_1 USB201.D1FIFOB2 540 #define D1FIFOB3_1 USB201.D1FIFOB3 541 #define D1FIFOB4_1 USB201.D1FIFOB4 542 #define D1FIFOB5_1 USB201.D1FIFOB5 543 #define D1FIFOB6_1 USB201.D1FIFOB6 544 #define D1FIFOB7_1 USB201.D1FIFOB7 584 } r_io_usb20_from_dmfifob0_t; 585 586 587 /* Channel array defines of USB20 (2)*/ 588 #ifdef DECLARE_USB20_CHANNELS 589 volatile struct st_usb20* USB20[ USB20_COUNT ] = 590 /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ 591 USB20_ADDRESS_LIST; 592 /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ 593 #endif /* DECLARE_USB20_CHANNELS */ 594 595 #ifdef DECLARE_USB20_FROM_D0FIFOB0_CHANNELS 596 volatile struct st_usb20_from_dmfifob0* USB20_FROM_D0FIFOB0[ USB20_COUNT ][ USB20_FROM_D0FIFOB0_COUNT ] = 597 /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ 598 USB20_FROM_D0FIFOB0_ADDRESS_LIST; 599 /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ 600 #endif /* DECLARE_USB20_FROM_D0FIFOB0_CHANNELS */ 601 602 #ifdef DECLARE_USB20_FROM_PIPE1ATRE_CHANNELS 603 volatile struct st_usb20_from_pipe1tre* USB20_FROM_PIPE1ATRE[ USB20_COUNT ][ USB20_FROM_PIPE1ATRE_COUNT ] = 604 /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ 605 USB20_FROM_PIPE1ATRE_ADDRESS_LIST; 606 /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ 607 #endif /* DECLARE_USB20_FROM_PIPE1ATRE_CHANNELS */ 608 609 #ifdef DECLARE_USB20_FROM_D0FIFOSEL_CHANNELS 610 volatile struct st_usb20_from_d0fifosel* USB20_FROM_D0FIFOSEL[ USB20_COUNT ][ USB20_FROM_D0FIFOSEL_COUNT ] = 611 /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ 612 USB20_FROM_D0FIFOSEL_ADDRESS_LIST; 613 /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ 614 #endif /* DECLARE_USB20_FROM_D0FIFOSEL_CHANNELS */ 615 /* End of channel array defines of USB20 (2)*/ 616 617 545 618 /* <-SEC M1.10.1 */ 619 /* <-MISRA 18.4 */ /* <-SEC M1.6.2 */ 620 /* <-QAC 0857 */ 621 /* <-QAC 0639 */ 546 622 #endif
Note:
See TracChangeset
for help on using the changeset viewer.