The official mbed C/C SDK provides the software platform and libraries to build your applications.
Fork of mbed by
TARGET_RZ_A1H/usb20_iodefine.h@99:7f6c6de930c0, 2015-05-03 (annotated)
- Committer:
- Mikchel
- Date:
- Sun May 03 16:04:42 2015 +0000
- Revision:
- 99:7f6c6de930c0
- Parent:
- 92:4fc01daae5a5
12
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 92:4fc01daae5a5 | 1 | /******************************************************************************* |
bogdanm | 92:4fc01daae5a5 | 2 | * DISCLAIMER |
bogdanm | 92:4fc01daae5a5 | 3 | * This software is supplied by Renesas Electronics Corporation and is only |
bogdanm | 92:4fc01daae5a5 | 4 | * intended for use with Renesas products. No other uses are authorized. This |
bogdanm | 92:4fc01daae5a5 | 5 | * software is owned by Renesas Electronics Corporation and is protected under |
bogdanm | 92:4fc01daae5a5 | 6 | * all applicable laws, including copyright laws. |
bogdanm | 92:4fc01daae5a5 | 7 | * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING |
bogdanm | 92:4fc01daae5a5 | 8 | * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT |
bogdanm | 92:4fc01daae5a5 | 9 | * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE |
bogdanm | 92:4fc01daae5a5 | 10 | * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. |
bogdanm | 92:4fc01daae5a5 | 11 | * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS |
bogdanm | 92:4fc01daae5a5 | 12 | * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE |
bogdanm | 92:4fc01daae5a5 | 13 | * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR |
bogdanm | 92:4fc01daae5a5 | 14 | * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE |
bogdanm | 92:4fc01daae5a5 | 15 | * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
bogdanm | 92:4fc01daae5a5 | 16 | * Renesas reserves the right, without notice, to make changes to this software |
bogdanm | 92:4fc01daae5a5 | 17 | * and to discontinue the availability of this software. By using this software, |
bogdanm | 92:4fc01daae5a5 | 18 | * you agree to the additional terms and conditions found by accessing the |
bogdanm | 92:4fc01daae5a5 | 19 | * following link: |
bogdanm | 92:4fc01daae5a5 | 20 | * http://www.renesas.com/disclaimer* |
bogdanm | 92:4fc01daae5a5 | 21 | * Copyright (C) 2013-2014 Renesas Electronics Corporation. All rights reserved. |
bogdanm | 92:4fc01daae5a5 | 22 | *******************************************************************************/ |
bogdanm | 92:4fc01daae5a5 | 23 | /******************************************************************************* |
bogdanm | 92:4fc01daae5a5 | 24 | * File Name : usb20_iodefine.h |
bogdanm | 92:4fc01daae5a5 | 25 | * $Rev: $ |
bogdanm | 92:4fc01daae5a5 | 26 | * $Date:: $ |
bogdanm | 92:4fc01daae5a5 | 27 | * Description : Definition of I/O Register (V1.00a) |
bogdanm | 92:4fc01daae5a5 | 28 | ******************************************************************************/ |
bogdanm | 92:4fc01daae5a5 | 29 | #ifndef USB20_IODEFINE_H |
bogdanm | 92:4fc01daae5a5 | 30 | #define USB20_IODEFINE_H |
bogdanm | 92:4fc01daae5a5 | 31 | /* ->SEC M1.10.1 : Not magic number */ |
bogdanm | 92:4fc01daae5a5 | 32 | |
bogdanm | 92:4fc01daae5a5 | 33 | struct st_usb20 |
bogdanm | 92:4fc01daae5a5 | 34 | { /* USB20 */ |
bogdanm | 92:4fc01daae5a5 | 35 | volatile uint16_t SYSCFG0; /* SYSCFG0 */ |
bogdanm | 92:4fc01daae5a5 | 36 | volatile uint16_t BUSWAIT; /* BUSWAIT */ |
bogdanm | 92:4fc01daae5a5 | 37 | volatile uint16_t SYSSTS0; /* SYSSTS0 */ |
bogdanm | 92:4fc01daae5a5 | 38 | volatile uint8_t dummy1[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 39 | volatile uint16_t DVSTCTR0; /* DVSTCTR0 */ |
bogdanm | 92:4fc01daae5a5 | 40 | volatile uint8_t dummy2[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 41 | volatile uint16_t TESTMODE; /* TESTMODE */ |
bogdanm | 92:4fc01daae5a5 | 42 | volatile uint8_t dummy3[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 43 | #define USB20_D0FBCFG_COUNT 2 |
bogdanm | 92:4fc01daae5a5 | 44 | volatile uint16_t D0FBCFG; /* D0FBCFG */ |
bogdanm | 92:4fc01daae5a5 | 45 | volatile uint16_t D1FBCFG; /* D1FBCFG */ |
bogdanm | 92:4fc01daae5a5 | 46 | union iodefine_reg32_t CFIFO; /* CFIFO */ |
bogdanm | 92:4fc01daae5a5 | 47 | #define USB20_D0FIFO_COUNT 2 |
bogdanm | 92:4fc01daae5a5 | 48 | union iodefine_reg32_t D0FIFO; /* D0FIFO */ |
bogdanm | 92:4fc01daae5a5 | 49 | union iodefine_reg32_t D1FIFO; /* D1FIFO */ |
bogdanm | 92:4fc01daae5a5 | 50 | |
bogdanm | 92:4fc01daae5a5 | 51 | volatile uint16_t CFIFOSEL; /* CFIFOSEL */ |
bogdanm | 92:4fc01daae5a5 | 52 | volatile uint16_t CFIFOCTR; /* CFIFOCTR */ |
bogdanm | 92:4fc01daae5a5 | 53 | volatile uint8_t dummy4[4]; /* */ |
bogdanm | 92:4fc01daae5a5 | 54 | /* start of struct st_usb20_from_d0fifosel */ |
bogdanm | 92:4fc01daae5a5 | 55 | volatile uint16_t D0FIFOSEL; /* D0FIFOSEL */ |
bogdanm | 92:4fc01daae5a5 | 56 | volatile uint16_t D0FIFOCTR; /* D0FIFOCTR */ |
bogdanm | 92:4fc01daae5a5 | 57 | /* end of struct st_usb20_from_d0fifosel */ |
bogdanm | 92:4fc01daae5a5 | 58 | /* start of struct st_usb20_from_d0fifosel */ |
bogdanm | 92:4fc01daae5a5 | 59 | volatile uint16_t D1FIFOSEL; /* D1FIFOSEL */ |
bogdanm | 92:4fc01daae5a5 | 60 | volatile uint16_t D1FIFOCTR; /* D1FIFOCTR */ |
bogdanm | 92:4fc01daae5a5 | 61 | /* end of struct st_usb20_from_d0fifosel */ |
bogdanm | 92:4fc01daae5a5 | 62 | #define USB20_INTENB0_COUNT 2 |
bogdanm | 92:4fc01daae5a5 | 63 | volatile uint16_t INTENB0; /* INTENB0 */ |
bogdanm | 92:4fc01daae5a5 | 64 | volatile uint16_t INTENB1; /* INTENB1 */ |
bogdanm | 92:4fc01daae5a5 | 65 | volatile uint8_t dummy5[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 66 | volatile uint16_t BRDYENB; /* BRDYENB */ |
bogdanm | 92:4fc01daae5a5 | 67 | volatile uint16_t NRDYENB; /* NRDYENB */ |
bogdanm | 92:4fc01daae5a5 | 68 | volatile uint16_t BEMPENB; /* BEMPENB */ |
bogdanm | 92:4fc01daae5a5 | 69 | volatile uint16_t SOFCFG; /* SOFCFG */ |
bogdanm | 92:4fc01daae5a5 | 70 | volatile uint8_t dummy6[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 71 | #define USB20_INTSTS0_COUNT 2 |
bogdanm | 92:4fc01daae5a5 | 72 | volatile uint16_t INTSTS0; /* INTSTS0 */ |
bogdanm | 92:4fc01daae5a5 | 73 | volatile uint16_t INTSTS1; /* INTSTS1 */ |
bogdanm | 92:4fc01daae5a5 | 74 | volatile uint8_t dummy7[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 75 | volatile uint16_t BRDYSTS; /* BRDYSTS */ |
bogdanm | 92:4fc01daae5a5 | 76 | volatile uint16_t NRDYSTS; /* NRDYSTS */ |
bogdanm | 92:4fc01daae5a5 | 77 | volatile uint16_t BEMPSTS; /* BEMPSTS */ |
bogdanm | 92:4fc01daae5a5 | 78 | volatile uint16_t FRMNUM; /* FRMNUM */ |
bogdanm | 92:4fc01daae5a5 | 79 | volatile uint16_t UFRMNUM; /* UFRMNUM */ |
bogdanm | 92:4fc01daae5a5 | 80 | volatile uint16_t USBADDR; /* USBADDR */ |
bogdanm | 92:4fc01daae5a5 | 81 | volatile uint8_t dummy8[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 82 | volatile uint16_t USBREQ; /* USBREQ */ |
bogdanm | 92:4fc01daae5a5 | 83 | volatile uint16_t USBVAL; /* USBVAL */ |
bogdanm | 92:4fc01daae5a5 | 84 | volatile uint16_t USBINDX; /* USBINDX */ |
bogdanm | 92:4fc01daae5a5 | 85 | volatile uint16_t USBLENG; /* USBLENG */ |
bogdanm | 92:4fc01daae5a5 | 86 | volatile uint16_t DCPCFG; /* DCPCFG */ |
bogdanm | 92:4fc01daae5a5 | 87 | volatile uint16_t DCPMAXP; /* DCPMAXP */ |
bogdanm | 92:4fc01daae5a5 | 88 | volatile uint16_t DCPCTR; /* DCPCTR */ |
bogdanm | 92:4fc01daae5a5 | 89 | volatile uint8_t dummy9[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 90 | volatile uint16_t PIPESEL; /* PIPESEL */ |
bogdanm | 92:4fc01daae5a5 | 91 | volatile uint8_t dummy10[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 92 | volatile uint16_t PIPECFG; /* PIPECFG */ |
bogdanm | 92:4fc01daae5a5 | 93 | volatile uint16_t PIPEBUF; /* PIPEBUF */ |
bogdanm | 92:4fc01daae5a5 | 94 | volatile uint16_t PIPEMAXP; /* PIPEMAXP */ |
bogdanm | 92:4fc01daae5a5 | 95 | volatile uint16_t PIPEPERI; /* PIPEPERI */ |
bogdanm | 92:4fc01daae5a5 | 96 | #define USB20_PIPE1CTR_COUNT 0xF |
bogdanm | 92:4fc01daae5a5 | 97 | volatile uint16_t PIPE1CTR; /* PIPE1CTR */ |
bogdanm | 92:4fc01daae5a5 | 98 | volatile uint16_t PIPE2CTR; /* PIPE2CTR */ |
bogdanm | 92:4fc01daae5a5 | 99 | volatile uint16_t PIPE3CTR; /* PIPE3CTR */ |
bogdanm | 92:4fc01daae5a5 | 100 | volatile uint16_t PIPE4CTR; /* PIPE4CTR */ |
bogdanm | 92:4fc01daae5a5 | 101 | volatile uint16_t PIPE5CTR; /* PIPE5CTR */ |
bogdanm | 92:4fc01daae5a5 | 102 | volatile uint16_t PIPE6CTR; /* PIPE6CTR */ |
bogdanm | 92:4fc01daae5a5 | 103 | volatile uint16_t PIPE7CTR; /* PIPE7CTR */ |
bogdanm | 92:4fc01daae5a5 | 104 | volatile uint16_t PIPE8CTR; /* PIPE8CTR */ |
bogdanm | 92:4fc01daae5a5 | 105 | volatile uint16_t PIPE9CTR; /* PIPE9CTR */ |
bogdanm | 92:4fc01daae5a5 | 106 | volatile uint16_t PIPEACTR; /* PIPEACTR */ |
bogdanm | 92:4fc01daae5a5 | 107 | volatile uint16_t PIPEBCTR; /* PIPEBCTR */ |
bogdanm | 92:4fc01daae5a5 | 108 | volatile uint16_t PIPECCTR; /* PIPECCTR */ |
bogdanm | 92:4fc01daae5a5 | 109 | volatile uint16_t PIPEDCTR; /* PIPEDCTR */ |
bogdanm | 92:4fc01daae5a5 | 110 | volatile uint16_t PIPEECTR; /* PIPEECTR */ |
bogdanm | 92:4fc01daae5a5 | 111 | volatile uint16_t PIPEFCTR; /* PIPEFCTR */ |
bogdanm | 92:4fc01daae5a5 | 112 | volatile uint8_t dummy11[2]; /* */ |
bogdanm | 92:4fc01daae5a5 | 113 | /* start of struct st_usb20_from_pipe1tre */ |
bogdanm | 92:4fc01daae5a5 | 114 | volatile uint16_t PIPE1TRE; /* PIPE1TRE */ |
bogdanm | 92:4fc01daae5a5 | 115 | volatile uint16_t PIPE1TRN; /* PIPE1TRN */ |
bogdanm | 92:4fc01daae5a5 | 116 | /* end of struct st_usb20_from_pipe1tre */ |
bogdanm | 92:4fc01daae5a5 | 117 | /* start of struct st_usb20_from_pipe1tre */ |
bogdanm | 92:4fc01daae5a5 | 118 | volatile uint16_t PIPE2TRE; /* PIPE2TRE */ |
bogdanm | 92:4fc01daae5a5 | 119 | volatile uint16_t PIPE2TRN; /* PIPE2TRN */ |
bogdanm | 92:4fc01daae5a5 | 120 | /* end of struct st_usb20_from_pipe1tre */ |
bogdanm | 92:4fc01daae5a5 | 121 | /* start of struct st_usb20_from_pipe1tre */ |
bogdanm | 92:4fc01daae5a5 | 122 | volatile uint16_t PIPE3TRE; /* PIPE3TRE */ |
bogdanm | 92:4fc01daae5a5 | 123 | volatile uint16_t PIPE3TRN; /* PIPE3TRN */ |
bogdanm | 92:4fc01daae5a5 | 124 | /* end of struct st_usb20_from_pipe1tre */ |
bogdanm | 92:4fc01daae5a5 | 125 | /* start of struct st_usb20_from_pipe1tre */ |
bogdanm | 92:4fc01daae5a5 | 126 | volatile uint16_t PIPE4TRE; /* PIPE4TRE */ |
bogdanm | 92:4fc01daae5a5 | 127 | volatile uint16_t PIPE4TRN; /* PIPE4TRN */ |
bogdanm | 92:4fc01daae5a5 | 128 | /* end of struct st_usb20_from_pipe1tre */ |
bogdanm | 92:4fc01daae5a5 | 129 | /* start of struct st_usb20_from_pipe1tre */ |
bogdanm | 92:4fc01daae5a5 | 130 | volatile uint16_t PIPE5TRE; /* PIPE5TRE */ |
bogdanm | 92:4fc01daae5a5 | 131 | volatile uint16_t PIPE5TRN; /* PIPE5TRN */ |
bogdanm | 92:4fc01daae5a5 | 132 | /* end of struct st_usb20_from_pipe1tre */ |
bogdanm | 92:4fc01daae5a5 | 133 | volatile uint16_t PIPEBTRE; /* PIPEBTRE */ |
bogdanm | 92:4fc01daae5a5 | 134 | volatile uint16_t PIPEBTRN; /* PIPEBTRN */ |
bogdanm | 92:4fc01daae5a5 | 135 | volatile uint16_t PIPECTRE; /* PIPECTRE */ |
bogdanm | 92:4fc01daae5a5 | 136 | volatile uint16_t PIPECTRN; /* PIPECTRN */ |
bogdanm | 92:4fc01daae5a5 | 137 | volatile uint16_t PIPEDTRE; /* PIPEDTRE */ |
bogdanm | 92:4fc01daae5a5 | 138 | volatile uint16_t PIPEDTRN; /* PIPEDTRN */ |
bogdanm | 92:4fc01daae5a5 | 139 | volatile uint16_t PIPEETRE; /* PIPEETRE */ |
bogdanm | 92:4fc01daae5a5 | 140 | volatile uint16_t PIPEETRN; /* PIPEETRN */ |
bogdanm | 92:4fc01daae5a5 | 141 | volatile uint16_t PIPEFTRE; /* PIPEFTRE */ |
bogdanm | 92:4fc01daae5a5 | 142 | volatile uint16_t PIPEFTRN; /* PIPEFTRN */ |
bogdanm | 92:4fc01daae5a5 | 143 | volatile uint16_t PIPE9TRE; /* PIPE9TRE */ |
bogdanm | 92:4fc01daae5a5 | 144 | volatile uint16_t PIPE9TRN; /* PIPE9TRN */ |
bogdanm | 92:4fc01daae5a5 | 145 | volatile uint16_t PIPEATRE; /* PIPEATRE */ |
bogdanm | 92:4fc01daae5a5 | 146 | volatile uint16_t PIPEATRN; /* PIPEATRN */ |
bogdanm | 92:4fc01daae5a5 | 147 | volatile uint8_t dummy12[16]; /* */ |
bogdanm | 92:4fc01daae5a5 | 148 | #define USB20_DEVADD0_COUNT 0xB |
bogdanm | 92:4fc01daae5a5 | 149 | volatile uint16_t DEVADD0; /* DEVADD0 */ |
bogdanm | 92:4fc01daae5a5 | 150 | volatile uint16_t DEVADD1; /* DEVADD1 */ |
bogdanm | 92:4fc01daae5a5 | 151 | volatile uint16_t DEVADD2; /* DEVADD2 */ |
bogdanm | 92:4fc01daae5a5 | 152 | volatile uint16_t DEVADD3; /* DEVADD3 */ |
bogdanm | 92:4fc01daae5a5 | 153 | volatile uint16_t DEVADD4; /* DEVADD4 */ |
bogdanm | 92:4fc01daae5a5 | 154 | volatile uint16_t DEVADD5; /* DEVADD5 */ |
bogdanm | 92:4fc01daae5a5 | 155 | volatile uint16_t DEVADD6; /* DEVADD6 */ |
bogdanm | 92:4fc01daae5a5 | 156 | volatile uint16_t DEVADD7; /* DEVADD7 */ |
bogdanm | 92:4fc01daae5a5 | 157 | volatile uint16_t DEVADD8; /* DEVADD8 */ |
bogdanm | 92:4fc01daae5a5 | 158 | volatile uint16_t DEVADD9; /* DEVADD9 */ |
bogdanm | 92:4fc01daae5a5 | 159 | volatile uint16_t DEVADDA; /* DEVADDA */ |
bogdanm | 92:4fc01daae5a5 | 160 | volatile uint8_t dummy13[28]; /* */ |
bogdanm | 92:4fc01daae5a5 | 161 | volatile uint16_t SUSPMODE; /* SUSPMODE */ |
bogdanm | 92:4fc01daae5a5 | 162 | volatile uint8_t dummy14[92]; /* */ |
bogdanm | 92:4fc01daae5a5 | 163 | /* start of struct st_usb20_from_dmfifob0 */ |
bogdanm | 92:4fc01daae5a5 | 164 | volatile uint32_t D0FIFOB0; /* D0FIFOB0 */ |
bogdanm | 92:4fc01daae5a5 | 165 | volatile uint32_t D0FIFOB1; /* D0FIFOB1 */ |
bogdanm | 92:4fc01daae5a5 | 166 | volatile uint32_t D0FIFOB2; /* D0FIFOB2 */ |
bogdanm | 92:4fc01daae5a5 | 167 | volatile uint32_t D0FIFOB3; /* D0FIFOB3 */ |
bogdanm | 92:4fc01daae5a5 | 168 | volatile uint32_t D0FIFOB4; /* D0FIFOB4 */ |
bogdanm | 92:4fc01daae5a5 | 169 | volatile uint32_t D0FIFOB5; /* D0FIFOB5 */ |
bogdanm | 92:4fc01daae5a5 | 170 | volatile uint32_t D0FIFOB6; /* D0FIFOB6 */ |
bogdanm | 92:4fc01daae5a5 | 171 | volatile uint32_t D0FIFOB7; /* D0FIFOB7 */ |
bogdanm | 92:4fc01daae5a5 | 172 | /* end of struct st_usb20_from_dmfifob0 */ |
bogdanm | 92:4fc01daae5a5 | 173 | /* start of struct st_usb20_from_dmfifob0 */ |
bogdanm | 92:4fc01daae5a5 | 174 | volatile uint32_t D1FIFOB0; /* D1FIFOB0 */ |
bogdanm | 92:4fc01daae5a5 | 175 | volatile uint32_t D1FIFOB1; /* D1FIFOB1 */ |
bogdanm | 92:4fc01daae5a5 | 176 | volatile uint32_t D1FIFOB2; /* D1FIFOB2 */ |
bogdanm | 92:4fc01daae5a5 | 177 | volatile uint32_t D1FIFOB3; /* D1FIFOB3 */ |
bogdanm | 92:4fc01daae5a5 | 178 | volatile uint32_t D1FIFOB4; /* D1FIFOB4 */ |
bogdanm | 92:4fc01daae5a5 | 179 | volatile uint32_t D1FIFOB5; /* D1FIFOB5 */ |
bogdanm | 92:4fc01daae5a5 | 180 | volatile uint32_t D1FIFOB6; /* D1FIFOB6 */ |
bogdanm | 92:4fc01daae5a5 | 181 | volatile uint32_t D1FIFOB7; /* D1FIFOB7 */ |
bogdanm | 92:4fc01daae5a5 | 182 | /* end of struct st_usb20_from_dmfifob0 */ |
bogdanm | 92:4fc01daae5a5 | 183 | }; |
bogdanm | 92:4fc01daae5a5 | 184 | |
bogdanm | 92:4fc01daae5a5 | 185 | |
bogdanm | 92:4fc01daae5a5 | 186 | struct st_usb20_from_d0fifosel |
bogdanm | 92:4fc01daae5a5 | 187 | { |
bogdanm | 92:4fc01daae5a5 | 188 | volatile uint16_t D0FIFOSEL; /* D0FIFOSEL */ |
bogdanm | 92:4fc01daae5a5 | 189 | volatile uint16_t D0FIFOCTR; /* D0FIFOCTR */ |
bogdanm | 92:4fc01daae5a5 | 190 | }; |
bogdanm | 92:4fc01daae5a5 | 191 | |
bogdanm | 92:4fc01daae5a5 | 192 | |
bogdanm | 92:4fc01daae5a5 | 193 | struct st_usb20_from_pipe1tre |
bogdanm | 92:4fc01daae5a5 | 194 | { |
bogdanm | 92:4fc01daae5a5 | 195 | volatile uint16_t PIPE1TRE; /* PIPE1TRE */ |
bogdanm | 92:4fc01daae5a5 | 196 | volatile uint16_t PIPE1TRN; /* PIPE1TRN */ |
bogdanm | 92:4fc01daae5a5 | 197 | }; |
bogdanm | 92:4fc01daae5a5 | 198 | |
bogdanm | 92:4fc01daae5a5 | 199 | |
bogdanm | 92:4fc01daae5a5 | 200 | struct st_usb20_from_dmfifob0 |
bogdanm | 92:4fc01daae5a5 | 201 | { |
bogdanm | 92:4fc01daae5a5 | 202 | #define USB20_D0FIFOB0_COUNT 0x8 |
bogdanm | 92:4fc01daae5a5 | 203 | volatile uint32_t D0FIFOB0; /* D0FIFOB0 */ |
bogdanm | 92:4fc01daae5a5 | 204 | volatile uint32_t D0FIFOB1; /* D0FIFOB1 */ |
bogdanm | 92:4fc01daae5a5 | 205 | volatile uint32_t D0FIFOB2; /* D0FIFOB2 */ |
bogdanm | 92:4fc01daae5a5 | 206 | volatile uint32_t D0FIFOB3; /* D0FIFOB3 */ |
bogdanm | 92:4fc01daae5a5 | 207 | volatile uint32_t D0FIFOB4; /* D0FIFOB4 */ |
bogdanm | 92:4fc01daae5a5 | 208 | volatile uint32_t D0FIFOB5; /* D0FIFOB5 */ |
bogdanm | 92:4fc01daae5a5 | 209 | volatile uint32_t D0FIFOB6; /* D0FIFOB6 */ |
bogdanm | 92:4fc01daae5a5 | 210 | volatile uint32_t D0FIFOB7; /* D0FIFOB7 */ |
bogdanm | 92:4fc01daae5a5 | 211 | }; |
bogdanm | 92:4fc01daae5a5 | 212 | |
bogdanm | 92:4fc01daae5a5 | 213 | |
bogdanm | 92:4fc01daae5a5 | 214 | #define USB200 (*(struct st_usb20 *)0xE8010000uL) /* USB200 */ |
bogdanm | 92:4fc01daae5a5 | 215 | #define USB201 (*(struct st_usb20 *)0xE8207000uL) /* USB201 */ |
bogdanm | 92:4fc01daae5a5 | 216 | |
bogdanm | 92:4fc01daae5a5 | 217 | |
bogdanm | 92:4fc01daae5a5 | 218 | /* Start of channnel array defines of USB20 */ |
bogdanm | 92:4fc01daae5a5 | 219 | |
bogdanm | 92:4fc01daae5a5 | 220 | /* Channnel array defines of USB20 */ |
bogdanm | 92:4fc01daae5a5 | 221 | /*(Sample) value = USB20[ channel ]->SYSCFG0; */ |
bogdanm | 92:4fc01daae5a5 | 222 | #define USB20_COUNT 2 |
bogdanm | 92:4fc01daae5a5 | 223 | #define USB20_ADDRESS_LIST \ |
bogdanm | 92:4fc01daae5a5 | 224 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ |
bogdanm | 92:4fc01daae5a5 | 225 | &USB200, &USB201 \ |
bogdanm | 92:4fc01daae5a5 | 226 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ |
bogdanm | 92:4fc01daae5a5 | 227 | |
bogdanm | 92:4fc01daae5a5 | 228 | |
bogdanm | 92:4fc01daae5a5 | 229 | |
bogdanm | 92:4fc01daae5a5 | 230 | /* Channnel array defines of USB20_FROM_D0FIFOB0 */ |
bogdanm | 92:4fc01daae5a5 | 231 | /*(Sample) value = USB20_FROM_D0FIFOB0[ channel ][ index ]->D0FIFOB0; */ |
bogdanm | 92:4fc01daae5a5 | 232 | #define USB20_FROM_D0FIFOB0_COUNT 2 |
bogdanm | 92:4fc01daae5a5 | 233 | #define USB20_FROM_D0FIFOB0_ADDRESS_LIST \ |
bogdanm | 92:4fc01daae5a5 | 234 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ |
bogdanm | 92:4fc01daae5a5 | 235 | { \ |
bogdanm | 92:4fc01daae5a5 | 236 | &USB200_FROM_D0FIFOB0, &USB200_FROM_D1FIFOB0 },{ \ |
bogdanm | 92:4fc01daae5a5 | 237 | &USB201_FROM_D0FIFOB0, &USB201_FROM_D1FIFOB0 \ |
bogdanm | 92:4fc01daae5a5 | 238 | } \ |
bogdanm | 92:4fc01daae5a5 | 239 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ |
bogdanm | 92:4fc01daae5a5 | 240 | #define USB200_FROM_D0FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB200.D0FIFOB0) /* USB200_FROM_D0FIFOB0 */ |
bogdanm | 92:4fc01daae5a5 | 241 | #define USB200_FROM_D1FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB200.D1FIFOB0) /* USB200_FROM_D1FIFOB0 */ |
bogdanm | 92:4fc01daae5a5 | 242 | #define USB201_FROM_D0FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB201.D0FIFOB0) /* USB201_FROM_D0FIFOB0 */ |
bogdanm | 92:4fc01daae5a5 | 243 | #define USB201_FROM_D1FIFOB0 (*(struct st_usb20_from_dmfifob0 *)&USB201.D1FIFOB0) /* USB201_FROM_D1FIFOB0 */ |
bogdanm | 92:4fc01daae5a5 | 244 | |
bogdanm | 92:4fc01daae5a5 | 245 | |
bogdanm | 92:4fc01daae5a5 | 246 | |
bogdanm | 92:4fc01daae5a5 | 247 | |
bogdanm | 92:4fc01daae5a5 | 248 | /* Channnel array defines of USB20_FROM_PIPE1ATRE */ |
bogdanm | 92:4fc01daae5a5 | 249 | /*(Sample) value = USB20_FROM_PIPE1ATRE[ channel ][ index ]->PIPE1TRE; */ |
bogdanm | 92:4fc01daae5a5 | 250 | #define USB20_FROM_PIPE1ATRE_COUNT 5 |
bogdanm | 92:4fc01daae5a5 | 251 | #define USB20_FROM_PIPE1ATRE_ADDRESS_LIST \ |
bogdanm | 92:4fc01daae5a5 | 252 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ |
bogdanm | 92:4fc01daae5a5 | 253 | { \ |
bogdanm | 92:4fc01daae5a5 | 254 | &USB200_FROM_PIPE1TRE, &USB200_FROM_PIPE2TRE, &USB200_FROM_PIPE3TRE, &USB200_FROM_PIPE4TRE, &USB200_FROM_PIPE5TRE },{ \ |
bogdanm | 92:4fc01daae5a5 | 255 | &USB201_FROM_PIPE1TRE, &USB201_FROM_PIPE2TRE, &USB201_FROM_PIPE3TRE, &USB201_FROM_PIPE4TRE, &USB201_FROM_PIPE5TRE \ |
bogdanm | 92:4fc01daae5a5 | 256 | } \ |
bogdanm | 92:4fc01daae5a5 | 257 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ |
bogdanm | 92:4fc01daae5a5 | 258 | #define USB200_FROM_PIPE1TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE1TRE) /* USB200_FROM_PIPE1TRE */ |
bogdanm | 92:4fc01daae5a5 | 259 | #define USB200_FROM_PIPE2TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE2TRE) /* USB200_FROM_PIPE2TRE */ |
bogdanm | 92:4fc01daae5a5 | 260 | #define USB200_FROM_PIPE3TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE3TRE) /* USB200_FROM_PIPE3TRE */ |
bogdanm | 92:4fc01daae5a5 | 261 | #define USB200_FROM_PIPE4TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE4TRE) /* USB200_FROM_PIPE4TRE */ |
bogdanm | 92:4fc01daae5a5 | 262 | #define USB200_FROM_PIPE5TRE (*(struct st_usb20_from_pipe1tre *)&USB200.PIPE5TRE) /* USB200_FROM_PIPE5TRE */ |
bogdanm | 92:4fc01daae5a5 | 263 | #define USB201_FROM_PIPE1TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE1TRE) /* USB201_FROM_PIPE1TRE */ |
bogdanm | 92:4fc01daae5a5 | 264 | #define USB201_FROM_PIPE2TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE2TRE) /* USB201_FROM_PIPE2TRE */ |
bogdanm | 92:4fc01daae5a5 | 265 | #define USB201_FROM_PIPE3TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE3TRE) /* USB201_FROM_PIPE3TRE */ |
bogdanm | 92:4fc01daae5a5 | 266 | #define USB201_FROM_PIPE4TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE4TRE) /* USB201_FROM_PIPE4TRE */ |
bogdanm | 92:4fc01daae5a5 | 267 | #define USB201_FROM_PIPE5TRE (*(struct st_usb20_from_pipe1tre *)&USB201.PIPE5TRE) /* USB201_FROM_PIPE5TRE */ |
bogdanm | 92:4fc01daae5a5 | 268 | |
bogdanm | 92:4fc01daae5a5 | 269 | |
bogdanm | 92:4fc01daae5a5 | 270 | |
bogdanm | 92:4fc01daae5a5 | 271 | |
bogdanm | 92:4fc01daae5a5 | 272 | /* Channnel array defines of USB20_FROM_D0FIFOSEL */ |
bogdanm | 92:4fc01daae5a5 | 273 | /*(Sample) value = USB20_FROM_D0FIFOSEL[ channel ][ index ]->D0FIFOSEL; */ |
bogdanm | 92:4fc01daae5a5 | 274 | #define USB20_FROM_D0FIFOSEL_COUNT 2 |
bogdanm | 92:4fc01daae5a5 | 275 | #define USB20_FROM_D0FIFOSEL_ADDRESS_LIST \ |
bogdanm | 92:4fc01daae5a5 | 276 | { /* ->MISRA 11.3 */ /* ->SEC R2.7.1 */ \ |
bogdanm | 92:4fc01daae5a5 | 277 | { \ |
bogdanm | 92:4fc01daae5a5 | 278 | &USB200_FROM_D0FIFOSEL, &USB200_FROM_D1FIFOSEL },{ \ |
bogdanm | 92:4fc01daae5a5 | 279 | &USB201_FROM_D0FIFOSEL, &USB201_FROM_D1FIFOSEL \ |
bogdanm | 92:4fc01daae5a5 | 280 | } \ |
bogdanm | 92:4fc01daae5a5 | 281 | } /* <-MISRA 11.3 */ /* <-SEC R2.7.1 */ /* { } is for MISRA 19.4 */ |
bogdanm | 92:4fc01daae5a5 | 282 | #define USB200_FROM_D0FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB200.D0FIFOSEL) /* USB200_FROM_D0FIFOSEL */ |
bogdanm | 92:4fc01daae5a5 | 283 | #define USB200_FROM_D1FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB200.D1FIFOSEL) /* USB200_FROM_D1FIFOSEL */ |
bogdanm | 92:4fc01daae5a5 | 284 | #define USB201_FROM_D0FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB201.D0FIFOSEL) /* USB201_FROM_D0FIFOSEL */ |
bogdanm | 92:4fc01daae5a5 | 285 | #define USB201_FROM_D1FIFOSEL (*(struct st_usb20_from_d0fifosel *)&USB201.D1FIFOSEL) /* USB201_FROM_D1FIFOSEL */ |
bogdanm | 92:4fc01daae5a5 | 286 | |
bogdanm | 92:4fc01daae5a5 | 287 | |
bogdanm | 92:4fc01daae5a5 | 288 | /* End of channnel array defines of USB20 */ |
bogdanm | 92:4fc01daae5a5 | 289 | |
bogdanm | 92:4fc01daae5a5 | 290 | |
bogdanm | 92:4fc01daae5a5 | 291 | #define SYSCFG0_0 USB200.SYSCFG0 |
bogdanm | 92:4fc01daae5a5 | 292 | #define BUSWAIT_0 USB200.BUSWAIT |
bogdanm | 92:4fc01daae5a5 | 293 | #define SYSSTS0_0 USB200.SYSSTS0 |
bogdanm | 92:4fc01daae5a5 | 294 | #define DVSTCTR0_0 USB200.DVSTCTR0 |
bogdanm | 92:4fc01daae5a5 | 295 | #define TESTMODE_0 USB200.TESTMODE |
bogdanm | 92:4fc01daae5a5 | 296 | #define D0FBCFG_0 USB200.D0FBCFG |
bogdanm | 92:4fc01daae5a5 | 297 | #define D1FBCFG_0 USB200.D1FBCFG |
bogdanm | 92:4fc01daae5a5 | 298 | #define CFIFO_0 USB200.CFIFO.UINT32 |
bogdanm | 92:4fc01daae5a5 | 299 | #define CFIFO_0L USB200.CFIFO.UINT16[L] |
bogdanm | 92:4fc01daae5a5 | 300 | #define CFIFO_0H USB200.CFIFO.UINT16[H] |
bogdanm | 92:4fc01daae5a5 | 301 | #define CFIFO_0LL USB200.CFIFO.UINT8[LL] |
bogdanm | 92:4fc01daae5a5 | 302 | #define CFIFO_0LH USB200.CFIFO.UINT8[LH] |
bogdanm | 92:4fc01daae5a5 | 303 | #define CFIFO_0HL USB200.CFIFO.UINT8[HL] |
bogdanm | 92:4fc01daae5a5 | 304 | #define CFIFO_0HH USB200.CFIFO.UINT8[HH] |
bogdanm | 92:4fc01daae5a5 | 305 | #define D0FIFO_0 USB200.D0FIFO.UINT32 |
bogdanm | 92:4fc01daae5a5 | 306 | #define D0FIFO_0L USB200.D0FIFO.UINT16[L] |
bogdanm | 92:4fc01daae5a5 | 307 | #define D0FIFO_0H USB200.D0FIFO.UINT16[H] |
bogdanm | 92:4fc01daae5a5 | 308 | #define D0FIFO_0LL USB200.D0FIFO.UINT8[LL] |
bogdanm | 92:4fc01daae5a5 | 309 | #define D0FIFO_0LH USB200.D0FIFO.UINT8[LH] |
bogdanm | 92:4fc01daae5a5 | 310 | #define D0FIFO_0HL USB200.D0FIFO.UINT8[HL] |
bogdanm | 92:4fc01daae5a5 | 311 | #define D0FIFO_0HH USB200.D0FIFO.UINT8[HH] |
bogdanm | 92:4fc01daae5a5 | 312 | #define D1FIFO_0 USB200.D1FIFO.UINT32 |
bogdanm | 92:4fc01daae5a5 | 313 | #define D1FIFO_0L USB200.D1FIFO.UINT16[L] |
bogdanm | 92:4fc01daae5a5 | 314 | #define D1FIFO_0H USB200.D1FIFO.UINT16[H] |
bogdanm | 92:4fc01daae5a5 | 315 | #define D1FIFO_0LL USB200.D1FIFO.UINT8[LL] |
bogdanm | 92:4fc01daae5a5 | 316 | #define D1FIFO_0LH USB200.D1FIFO.UINT8[LH] |
bogdanm | 92:4fc01daae5a5 | 317 | #define D1FIFO_0HL USB200.D1FIFO.UINT8[HL] |
bogdanm | 92:4fc01daae5a5 | 318 | #define D1FIFO_0HH USB200.D1FIFO.UINT8[HH] |
bogdanm | 92:4fc01daae5a5 | 319 | #define CFIFOSEL_0 USB200.CFIFOSEL |
bogdanm | 92:4fc01daae5a5 | 320 | #define CFIFOCTR_0 USB200.CFIFOCTR |
bogdanm | 92:4fc01daae5a5 | 321 | #define D0FIFOSEL_0 USB200.D0FIFOSEL |
bogdanm | 92:4fc01daae5a5 | 322 | #define D0FIFOCTR_0 USB200.D0FIFOCTR |
bogdanm | 92:4fc01daae5a5 | 323 | #define D1FIFOSEL_0 USB200.D1FIFOSEL |
bogdanm | 92:4fc01daae5a5 | 324 | #define D1FIFOCTR_0 USB200.D1FIFOCTR |
bogdanm | 92:4fc01daae5a5 | 325 | #define INTENB0_0 USB200.INTENB0 |
bogdanm | 92:4fc01daae5a5 | 326 | #define INTENB1_0 USB200.INTENB1 |
bogdanm | 92:4fc01daae5a5 | 327 | #define BRDYENB_0 USB200.BRDYENB |
bogdanm | 92:4fc01daae5a5 | 328 | #define NRDYENB_0 USB200.NRDYENB |
bogdanm | 92:4fc01daae5a5 | 329 | #define BEMPENB_0 USB200.BEMPENB |
bogdanm | 92:4fc01daae5a5 | 330 | #define SOFCFG_0 USB200.SOFCFG |
bogdanm | 92:4fc01daae5a5 | 331 | #define INTSTS0_0 USB200.INTSTS0 |
bogdanm | 92:4fc01daae5a5 | 332 | #define INTSTS1_0 USB200.INTSTS1 |
bogdanm | 92:4fc01daae5a5 | 333 | #define BRDYSTS_0 USB200.BRDYSTS |
bogdanm | 92:4fc01daae5a5 | 334 | #define NRDYSTS_0 USB200.NRDYSTS |
bogdanm | 92:4fc01daae5a5 | 335 | #define BEMPSTS_0 USB200.BEMPSTS |
bogdanm | 92:4fc01daae5a5 | 336 | #define FRMNUM_0 USB200.FRMNUM |
bogdanm | 92:4fc01daae5a5 | 337 | #define UFRMNUM_0 USB200.UFRMNUM |
bogdanm | 92:4fc01daae5a5 | 338 | #define USBADDR_0 USB200.USBADDR |
bogdanm | 92:4fc01daae5a5 | 339 | #define USBREQ_0 USB200.USBREQ |
bogdanm | 92:4fc01daae5a5 | 340 | #define USBVAL_0 USB200.USBVAL |
bogdanm | 92:4fc01daae5a5 | 341 | #define USBINDX_0 USB200.USBINDX |
bogdanm | 92:4fc01daae5a5 | 342 | #define USBLENG_0 USB200.USBLENG |
bogdanm | 92:4fc01daae5a5 | 343 | #define DCPCFG_0 USB200.DCPCFG |
bogdanm | 92:4fc01daae5a5 | 344 | #define DCPMAXP_0 USB200.DCPMAXP |
bogdanm | 92:4fc01daae5a5 | 345 | #define DCPCTR_0 USB200.DCPCTR |
bogdanm | 92:4fc01daae5a5 | 346 | #define PIPESEL_0 USB200.PIPESEL |
bogdanm | 92:4fc01daae5a5 | 347 | #define PIPECFG_0 USB200.PIPECFG |
bogdanm | 92:4fc01daae5a5 | 348 | #define PIPEBUF_0 USB200.PIPEBUF |
bogdanm | 92:4fc01daae5a5 | 349 | #define PIPEMAXP_0 USB200.PIPEMAXP |
bogdanm | 92:4fc01daae5a5 | 350 | #define PIPEPERI_0 USB200.PIPEPERI |
bogdanm | 92:4fc01daae5a5 | 351 | #define PIPE1CTR_0 USB200.PIPE1CTR |
bogdanm | 92:4fc01daae5a5 | 352 | #define PIPE2CTR_0 USB200.PIPE2CTR |
bogdanm | 92:4fc01daae5a5 | 353 | #define PIPE3CTR_0 USB200.PIPE3CTR |
bogdanm | 92:4fc01daae5a5 | 354 | #define PIPE4CTR_0 USB200.PIPE4CTR |
bogdanm | 92:4fc01daae5a5 | 355 | #define PIPE5CTR_0 USB200.PIPE5CTR |
bogdanm | 92:4fc01daae5a5 | 356 | #define PIPE6CTR_0 USB200.PIPE6CTR |
bogdanm | 92:4fc01daae5a5 | 357 | #define PIPE7CTR_0 USB200.PIPE7CTR |
bogdanm | 92:4fc01daae5a5 | 358 | #define PIPE8CTR_0 USB200.PIPE8CTR |
bogdanm | 92:4fc01daae5a5 | 359 | #define PIPE9CTR_0 USB200.PIPE9CTR |
bogdanm | 92:4fc01daae5a5 | 360 | #define PIPEACTR_0 USB200.PIPEACTR |
bogdanm | 92:4fc01daae5a5 | 361 | #define PIPEBCTR_0 USB200.PIPEBCTR |
bogdanm | 92:4fc01daae5a5 | 362 | #define PIPECCTR_0 USB200.PIPECCTR |
bogdanm | 92:4fc01daae5a5 | 363 | #define PIPEDCTR_0 USB200.PIPEDCTR |
bogdanm | 92:4fc01daae5a5 | 364 | #define PIPEECTR_0 USB200.PIPEECTR |
bogdanm | 92:4fc01daae5a5 | 365 | #define PIPEFCTR_0 USB200.PIPEFCTR |
bogdanm | 92:4fc01daae5a5 | 366 | #define PIPE1TRE_0 USB200.PIPE1TRE |
bogdanm | 92:4fc01daae5a5 | 367 | #define PIPE1TRN_0 USB200.PIPE1TRN |
bogdanm | 92:4fc01daae5a5 | 368 | #define PIPE2TRE_0 USB200.PIPE2TRE |
bogdanm | 92:4fc01daae5a5 | 369 | #define PIPE2TRN_0 USB200.PIPE2TRN |
bogdanm | 92:4fc01daae5a5 | 370 | #define PIPE3TRE_0 USB200.PIPE3TRE |
bogdanm | 92:4fc01daae5a5 | 371 | #define PIPE3TRN_0 USB200.PIPE3TRN |
bogdanm | 92:4fc01daae5a5 | 372 | #define PIPE4TRE_0 USB200.PIPE4TRE |
bogdanm | 92:4fc01daae5a5 | 373 | #define PIPE4TRN_0 USB200.PIPE4TRN |
bogdanm | 92:4fc01daae5a5 | 374 | #define PIPE5TRE_0 USB200.PIPE5TRE |
bogdanm | 92:4fc01daae5a5 | 375 | #define PIPE5TRN_0 USB200.PIPE5TRN |
bogdanm | 92:4fc01daae5a5 | 376 | #define PIPEBTRE_0 USB200.PIPEBTRE |
bogdanm | 92:4fc01daae5a5 | 377 | #define PIPEBTRN_0 USB200.PIPEBTRN |
bogdanm | 92:4fc01daae5a5 | 378 | #define PIPECTRE_0 USB200.PIPECTRE |
bogdanm | 92:4fc01daae5a5 | 379 | #define PIPECTRN_0 USB200.PIPECTRN |
bogdanm | 92:4fc01daae5a5 | 380 | #define PIPEDTRE_0 USB200.PIPEDTRE |
bogdanm | 92:4fc01daae5a5 | 381 | #define PIPEDTRN_0 USB200.PIPEDTRN |
bogdanm | 92:4fc01daae5a5 | 382 | #define PIPEETRE_0 USB200.PIPEETRE |
bogdanm | 92:4fc01daae5a5 | 383 | #define PIPEETRN_0 USB200.PIPEETRN |
bogdanm | 92:4fc01daae5a5 | 384 | #define PIPEFTRE_0 USB200.PIPEFTRE |
bogdanm | 92:4fc01daae5a5 | 385 | #define PIPEFTRN_0 USB200.PIPEFTRN |
bogdanm | 92:4fc01daae5a5 | 386 | #define PIPE9TRE_0 USB200.PIPE9TRE |
bogdanm | 92:4fc01daae5a5 | 387 | #define PIPE9TRN_0 USB200.PIPE9TRN |
bogdanm | 92:4fc01daae5a5 | 388 | #define PIPEATRE_0 USB200.PIPEATRE |
bogdanm | 92:4fc01daae5a5 | 389 | #define PIPEATRN_0 USB200.PIPEATRN |
bogdanm | 92:4fc01daae5a5 | 390 | #define DEVADD0_0 USB200.DEVADD0 |
bogdanm | 92:4fc01daae5a5 | 391 | #define DEVADD1_0 USB200.DEVADD1 |
bogdanm | 92:4fc01daae5a5 | 392 | #define DEVADD2_0 USB200.DEVADD2 |
bogdanm | 92:4fc01daae5a5 | 393 | #define DEVADD3_0 USB200.DEVADD3 |
bogdanm | 92:4fc01daae5a5 | 394 | #define DEVADD4_0 USB200.DEVADD4 |
bogdanm | 92:4fc01daae5a5 | 395 | #define DEVADD5_0 USB200.DEVADD5 |
bogdanm | 92:4fc01daae5a5 | 396 | #define DEVADD6_0 USB200.DEVADD6 |
bogdanm | 92:4fc01daae5a5 | 397 | #define DEVADD7_0 USB200.DEVADD7 |
bogdanm | 92:4fc01daae5a5 | 398 | #define DEVADD8_0 USB200.DEVADD8 |
bogdanm | 92:4fc01daae5a5 | 399 | #define DEVADD9_0 USB200.DEVADD9 |
bogdanm | 92:4fc01daae5a5 | 400 | #define DEVADDA_0 USB200.DEVADDA |
bogdanm | 92:4fc01daae5a5 | 401 | #define SUSPMODE_0 USB200.SUSPMODE |
bogdanm | 92:4fc01daae5a5 | 402 | #define D0FIFOB0_0 USB200.D0FIFOB0 |
bogdanm | 92:4fc01daae5a5 | 403 | #define D0FIFOB1_0 USB200.D0FIFOB1 |
bogdanm | 92:4fc01daae5a5 | 404 | #define D0FIFOB2_0 USB200.D0FIFOB2 |
bogdanm | 92:4fc01daae5a5 | 405 | #define D0FIFOB3_0 USB200.D0FIFOB3 |
bogdanm | 92:4fc01daae5a5 | 406 | #define D0FIFOB4_0 USB200.D0FIFOB4 |
bogdanm | 92:4fc01daae5a5 | 407 | #define D0FIFOB5_0 USB200.D0FIFOB5 |
bogdanm | 92:4fc01daae5a5 | 408 | #define D0FIFOB6_0 USB200.D0FIFOB6 |
bogdanm | 92:4fc01daae5a5 | 409 | #define D0FIFOB7_0 USB200.D0FIFOB7 |
bogdanm | 92:4fc01daae5a5 | 410 | #define D1FIFOB0_0 USB200.D1FIFOB0 |
bogdanm | 92:4fc01daae5a5 | 411 | #define D1FIFOB1_0 USB200.D1FIFOB1 |
bogdanm | 92:4fc01daae5a5 | 412 | #define D1FIFOB2_0 USB200.D1FIFOB2 |
bogdanm | 92:4fc01daae5a5 | 413 | #define D1FIFOB3_0 USB200.D1FIFOB3 |
bogdanm | 92:4fc01daae5a5 | 414 | #define D1FIFOB4_0 USB200.D1FIFOB4 |
bogdanm | 92:4fc01daae5a5 | 415 | #define D1FIFOB5_0 USB200.D1FIFOB5 |
bogdanm | 92:4fc01daae5a5 | 416 | #define D1FIFOB6_0 USB200.D1FIFOB6 |
bogdanm | 92:4fc01daae5a5 | 417 | #define D1FIFOB7_0 USB200.D1FIFOB7 |
bogdanm | 92:4fc01daae5a5 | 418 | #define SYSCFG0_1 USB201.SYSCFG0 |
bogdanm | 92:4fc01daae5a5 | 419 | #define BUSWAIT_1 USB201.BUSWAIT |
bogdanm | 92:4fc01daae5a5 | 420 | #define SYSSTS0_1 USB201.SYSSTS0 |
bogdanm | 92:4fc01daae5a5 | 421 | #define DVSTCTR0_1 USB201.DVSTCTR0 |
bogdanm | 92:4fc01daae5a5 | 422 | #define TESTMODE_1 USB201.TESTMODE |
bogdanm | 92:4fc01daae5a5 | 423 | #define D0FBCFG_1 USB201.D0FBCFG |
bogdanm | 92:4fc01daae5a5 | 424 | #define D1FBCFG_1 USB201.D1FBCFG |
bogdanm | 92:4fc01daae5a5 | 425 | #define CFIFO_1 USB201.CFIFO.UINT32 |
bogdanm | 92:4fc01daae5a5 | 426 | #define CFIFO_1L USB201.CFIFO.UINT16[L] |
bogdanm | 92:4fc01daae5a5 | 427 | #define CFIFO_1H USB201.CFIFO.UINT16[H] |
bogdanm | 92:4fc01daae5a5 | 428 | #define CFIFO_1LL USB201.CFIFO.UINT8[LL] |
bogdanm | 92:4fc01daae5a5 | 429 | #define CFIFO_1LH USB201.CFIFO.UINT8[LH] |
bogdanm | 92:4fc01daae5a5 | 430 | #define CFIFO_1HL USB201.CFIFO.UINT8[HL] |
bogdanm | 92:4fc01daae5a5 | 431 | #define CFIFO_1HH USB201.CFIFO.UINT8[HH] |
bogdanm | 92:4fc01daae5a5 | 432 | #define D0FIFO_1 USB201.D0FIFO.UINT32 |
bogdanm | 92:4fc01daae5a5 | 433 | #define D0FIFO_1L USB201.D0FIFO.UINT16[L] |
bogdanm | 92:4fc01daae5a5 | 434 | #define D0FIFO_1H USB201.D0FIFO.UINT16[H] |
bogdanm | 92:4fc01daae5a5 | 435 | #define D0FIFO_1LL USB201.D0FIFO.UINT8[LL] |
bogdanm | 92:4fc01daae5a5 | 436 | #define D0FIFO_1LH USB201.D0FIFO.UINT8[LH] |
bogdanm | 92:4fc01daae5a5 | 437 | #define D0FIFO_1HL USB201.D0FIFO.UINT8[HL] |
bogdanm | 92:4fc01daae5a5 | 438 | #define D0FIFO_1HH USB201.D0FIFO.UINT8[HH] |
bogdanm | 92:4fc01daae5a5 | 439 | #define D1FIFO_1 USB201.D1FIFO.UINT32 |
bogdanm | 92:4fc01daae5a5 | 440 | #define D1FIFO_1L USB201.D1FIFO.UINT16[L] |
bogdanm | 92:4fc01daae5a5 | 441 | #define D1FIFO_1H USB201.D1FIFO.UINT16[H] |
bogdanm | 92:4fc01daae5a5 | 442 | #define D1FIFO_1LL USB201.D1FIFO.UINT8[LL] |
bogdanm | 92:4fc01daae5a5 | 443 | #define D1FIFO_1LH USB201.D1FIFO.UINT8[LH] |
bogdanm | 92:4fc01daae5a5 | 444 | #define D1FIFO_1HL USB201.D1FIFO.UINT8[HL] |
bogdanm | 92:4fc01daae5a5 | 445 | #define D1FIFO_1HH USB201.D1FIFO.UINT8[HH] |
bogdanm | 92:4fc01daae5a5 | 446 | #define CFIFOSEL_1 USB201.CFIFOSEL |
bogdanm | 92:4fc01daae5a5 | 447 | #define CFIFOCTR_1 USB201.CFIFOCTR |
bogdanm | 92:4fc01daae5a5 | 448 | #define D0FIFOSEL_1 USB201.D0FIFOSEL |
bogdanm | 92:4fc01daae5a5 | 449 | #define D0FIFOCTR_1 USB201.D0FIFOCTR |
bogdanm | 92:4fc01daae5a5 | 450 | #define D1FIFOSEL_1 USB201.D1FIFOSEL |
bogdanm | 92:4fc01daae5a5 | 451 | #define D1FIFOCTR_1 USB201.D1FIFOCTR |
bogdanm | 92:4fc01daae5a5 | 452 | #define INTENB0_1 USB201.INTENB0 |
bogdanm | 92:4fc01daae5a5 | 453 | #define INTENB1_1 USB201.INTENB1 |
bogdanm | 92:4fc01daae5a5 | 454 | #define BRDYENB_1 USB201.BRDYENB |
bogdanm | 92:4fc01daae5a5 | 455 | #define NRDYENB_1 USB201.NRDYENB |
bogdanm | 92:4fc01daae5a5 | 456 | #define BEMPENB_1 USB201.BEMPENB |
bogdanm | 92:4fc01daae5a5 | 457 | #define SOFCFG_1 USB201.SOFCFG |
bogdanm | 92:4fc01daae5a5 | 458 | #define INTSTS0_1 USB201.INTSTS0 |
bogdanm | 92:4fc01daae5a5 | 459 | #define INTSTS1_1 USB201.INTSTS1 |
bogdanm | 92:4fc01daae5a5 | 460 | #define BRDYSTS_1 USB201.BRDYSTS |
bogdanm | 92:4fc01daae5a5 | 461 | #define NRDYSTS_1 USB201.NRDYSTS |
bogdanm | 92:4fc01daae5a5 | 462 | #define BEMPSTS_1 USB201.BEMPSTS |
bogdanm | 92:4fc01daae5a5 | 463 | #define FRMNUM_1 USB201.FRMNUM |
bogdanm | 92:4fc01daae5a5 | 464 | #define UFRMNUM_1 USB201.UFRMNUM |
bogdanm | 92:4fc01daae5a5 | 465 | #define USBADDR_1 USB201.USBADDR |
bogdanm | 92:4fc01daae5a5 | 466 | #define USBREQ_1 USB201.USBREQ |
bogdanm | 92:4fc01daae5a5 | 467 | #define USBVAL_1 USB201.USBVAL |
bogdanm | 92:4fc01daae5a5 | 468 | #define USBINDX_1 USB201.USBINDX |
bogdanm | 92:4fc01daae5a5 | 469 | #define USBLENG_1 USB201.USBLENG |
bogdanm | 92:4fc01daae5a5 | 470 | #define DCPCFG_1 USB201.DCPCFG |
bogdanm | 92:4fc01daae5a5 | 471 | #define DCPMAXP_1 USB201.DCPMAXP |
bogdanm | 92:4fc01daae5a5 | 472 | #define DCPCTR_1 USB201.DCPCTR |
bogdanm | 92:4fc01daae5a5 | 473 | #define PIPESEL_1 USB201.PIPESEL |
bogdanm | 92:4fc01daae5a5 | 474 | #define PIPECFG_1 USB201.PIPECFG |
bogdanm | 92:4fc01daae5a5 | 475 | #define PIPEBUF_1 USB201.PIPEBUF |
bogdanm | 92:4fc01daae5a5 | 476 | #define PIPEMAXP_1 USB201.PIPEMAXP |
bogdanm | 92:4fc01daae5a5 | 477 | #define PIPEPERI_1 USB201.PIPEPERI |
bogdanm | 92:4fc01daae5a5 | 478 | #define PIPE1CTR_1 USB201.PIPE1CTR |
bogdanm | 92:4fc01daae5a5 | 479 | #define PIPE2CTR_1 USB201.PIPE2CTR |
bogdanm | 92:4fc01daae5a5 | 480 | #define PIPE3CTR_1 USB201.PIPE3CTR |
bogdanm | 92:4fc01daae5a5 | 481 | #define PIPE4CTR_1 USB201.PIPE4CTR |
bogdanm | 92:4fc01daae5a5 | 482 | #define PIPE5CTR_1 USB201.PIPE5CTR |
bogdanm | 92:4fc01daae5a5 | 483 | #define PIPE6CTR_1 USB201.PIPE6CTR |
bogdanm | 92:4fc01daae5a5 | 484 | #define PIPE7CTR_1 USB201.PIPE7CTR |
bogdanm | 92:4fc01daae5a5 | 485 | #define PIPE8CTR_1 USB201.PIPE8CTR |
bogdanm | 92:4fc01daae5a5 | 486 | #define PIPE9CTR_1 USB201.PIPE9CTR |
bogdanm | 92:4fc01daae5a5 | 487 | #define PIPEACTR_1 USB201.PIPEACTR |
bogdanm | 92:4fc01daae5a5 | 488 | #define PIPEBCTR_1 USB201.PIPEBCTR |
bogdanm | 92:4fc01daae5a5 | 489 | #define PIPECCTR_1 USB201.PIPECCTR |
bogdanm | 92:4fc01daae5a5 | 490 | #define PIPEDCTR_1 USB201.PIPEDCTR |
bogdanm | 92:4fc01daae5a5 | 491 | #define PIPEECTR_1 USB201.PIPEECTR |
bogdanm | 92:4fc01daae5a5 | 492 | #define PIPEFCTR_1 USB201.PIPEFCTR |
bogdanm | 92:4fc01daae5a5 | 493 | #define PIPE1TRE_1 USB201.PIPE1TRE |
bogdanm | 92:4fc01daae5a5 | 494 | #define PIPE1TRN_1 USB201.PIPE1TRN |
bogdanm | 92:4fc01daae5a5 | 495 | #define PIPE2TRE_1 USB201.PIPE2TRE |
bogdanm | 92:4fc01daae5a5 | 496 | #define PIPE2TRN_1 USB201.PIPE2TRN |
bogdanm | 92:4fc01daae5a5 | 497 | #define PIPE3TRE_1 USB201.PIPE3TRE |
bogdanm | 92:4fc01daae5a5 | 498 | #define PIPE3TRN_1 USB201.PIPE3TRN |
bogdanm | 92:4fc01daae5a5 | 499 | #define PIPE4TRE_1 USB201.PIPE4TRE |
bogdanm | 92:4fc01daae5a5 | 500 | #define PIPE4TRN_1 USB201.PIPE4TRN |
bogdanm | 92:4fc01daae5a5 | 501 | #define PIPE5TRE_1 USB201.PIPE5TRE |
bogdanm | 92:4fc01daae5a5 | 502 | #define PIPE5TRN_1 USB201.PIPE5TRN |
bogdanm | 92:4fc01daae5a5 | 503 | #define PIPEBTRE_1 USB201.PIPEBTRE |
bogdanm | 92:4fc01daae5a5 | 504 | #define PIPEBTRN_1 USB201.PIPEBTRN |
bogdanm | 92:4fc01daae5a5 | 505 | #define PIPECTRE_1 USB201.PIPECTRE |
bogdanm | 92:4fc01daae5a5 | 506 | #define PIPECTRN_1 USB201.PIPECTRN |
bogdanm | 92:4fc01daae5a5 | 507 | #define PIPEDTRE_1 USB201.PIPEDTRE |
bogdanm | 92:4fc01daae5a5 | 508 | #define PIPEDTRN_1 USB201.PIPEDTRN |
bogdanm | 92:4fc01daae5a5 | 509 | #define PIPEETRE_1 USB201.PIPEETRE |
bogdanm | 92:4fc01daae5a5 | 510 | #define PIPEETRN_1 USB201.PIPEETRN |
bogdanm | 92:4fc01daae5a5 | 511 | #define PIPEFTRE_1 USB201.PIPEFTRE |
bogdanm | 92:4fc01daae5a5 | 512 | #define PIPEFTRN_1 USB201.PIPEFTRN |
bogdanm | 92:4fc01daae5a5 | 513 | #define PIPE9TRE_1 USB201.PIPE9TRE |
bogdanm | 92:4fc01daae5a5 | 514 | #define PIPE9TRN_1 USB201.PIPE9TRN |
bogdanm | 92:4fc01daae5a5 | 515 | #define PIPEATRE_1 USB201.PIPEATRE |
bogdanm | 92:4fc01daae5a5 | 516 | #define PIPEATRN_1 USB201.PIPEATRN |
bogdanm | 92:4fc01daae5a5 | 517 | #define DEVADD0_1 USB201.DEVADD0 |
bogdanm | 92:4fc01daae5a5 | 518 | #define DEVADD1_1 USB201.DEVADD1 |
bogdanm | 92:4fc01daae5a5 | 519 | #define DEVADD2_1 USB201.DEVADD2 |
bogdanm | 92:4fc01daae5a5 | 520 | #define DEVADD3_1 USB201.DEVADD3 |
bogdanm | 92:4fc01daae5a5 | 521 | #define DEVADD4_1 USB201.DEVADD4 |
bogdanm | 92:4fc01daae5a5 | 522 | #define DEVADD5_1 USB201.DEVADD5 |
bogdanm | 92:4fc01daae5a5 | 523 | #define DEVADD6_1 USB201.DEVADD6 |
bogdanm | 92:4fc01daae5a5 | 524 | #define DEVADD7_1 USB201.DEVADD7 |
bogdanm | 92:4fc01daae5a5 | 525 | #define DEVADD8_1 USB201.DEVADD8 |
bogdanm | 92:4fc01daae5a5 | 526 | #define DEVADD9_1 USB201.DEVADD9 |
bogdanm | 92:4fc01daae5a5 | 527 | #define DEVADDA_1 USB201.DEVADDA |
bogdanm | 92:4fc01daae5a5 | 528 | #define SUSPMODE_1 USB201.SUSPMODE |
bogdanm | 92:4fc01daae5a5 | 529 | #define D0FIFOB0_1 USB201.D0FIFOB0 |
bogdanm | 92:4fc01daae5a5 | 530 | #define D0FIFOB1_1 USB201.D0FIFOB1 |
bogdanm | 92:4fc01daae5a5 | 531 | #define D0FIFOB2_1 USB201.D0FIFOB2 |
bogdanm | 92:4fc01daae5a5 | 532 | #define D0FIFOB3_1 USB201.D0FIFOB3 |
bogdanm | 92:4fc01daae5a5 | 533 | #define D0FIFOB4_1 USB201.D0FIFOB4 |
bogdanm | 92:4fc01daae5a5 | 534 | #define D0FIFOB5_1 USB201.D0FIFOB5 |
bogdanm | 92:4fc01daae5a5 | 535 | #define D0FIFOB6_1 USB201.D0FIFOB6 |
bogdanm | 92:4fc01daae5a5 | 536 | #define D0FIFOB7_1 USB201.D0FIFOB7 |
bogdanm | 92:4fc01daae5a5 | 537 | #define D1FIFOB0_1 USB201.D1FIFOB0 |
bogdanm | 92:4fc01daae5a5 | 538 | #define D1FIFOB1_1 USB201.D1FIFOB1 |
bogdanm | 92:4fc01daae5a5 | 539 | #define D1FIFOB2_1 USB201.D1FIFOB2 |
bogdanm | 92:4fc01daae5a5 | 540 | #define D1FIFOB3_1 USB201.D1FIFOB3 |
bogdanm | 92:4fc01daae5a5 | 541 | #define D1FIFOB4_1 USB201.D1FIFOB4 |
bogdanm | 92:4fc01daae5a5 | 542 | #define D1FIFOB5_1 USB201.D1FIFOB5 |
bogdanm | 92:4fc01daae5a5 | 543 | #define D1FIFOB6_1 USB201.D1FIFOB6 |
bogdanm | 92:4fc01daae5a5 | 544 | #define D1FIFOB7_1 USB201.D1FIFOB7 |
bogdanm | 92:4fc01daae5a5 | 545 | /* <-SEC M1.10.1 */ |
bogdanm | 92:4fc01daae5a5 | 546 | #endif |