|
USB Host Shield 2.0
|
Go to the source code of this file.
| #define SE0 0 |
Definition at line 35 of file max3421e.h.
| #define SE1 1 |
Definition at line 36 of file max3421e.h.
| #define FSHOST 2 |
Definition at line 37 of file max3421e.h.
| #define LSHOST 3 |
Definition at line 38 of file max3421e.h.
| #define rRCVFIFO 0x08 |
Definition at line 44 of file max3421e.h.
| #define rSNDFIFO 0x10 |
Definition at line 45 of file max3421e.h.
| #define rSUDFIFO 0x20 |
Definition at line 46 of file max3421e.h.
| #define rRCVBC 0x30 |
Definition at line 47 of file max3421e.h.
| #define rSNDBC 0x38 |
Definition at line 48 of file max3421e.h.
| #define rUSBIRQ 0x68 |
Definition at line 50 of file max3421e.h.
| #define bmVBUSIRQ 0x40 |
Definition at line 52 of file max3421e.h.
| #define bmNOVBUSIRQ 0x20 |
Definition at line 53 of file max3421e.h.
| #define bmOSCOKIRQ 0x01 |
Definition at line 54 of file max3421e.h.
| #define rUSBIEN 0x70 |
Definition at line 56 of file max3421e.h.
| #define bmVBUSIE 0x40 |
Definition at line 58 of file max3421e.h.
| #define bmNOVBUSIE 0x20 |
Definition at line 59 of file max3421e.h.
| #define bmOSCOKIE 0x01 |
Definition at line 60 of file max3421e.h.
| #define rUSBCTL 0x78 |
Definition at line 62 of file max3421e.h.
| #define bmCHIPRES 0x20 |
Definition at line 64 of file max3421e.h.
| #define bmPWRDOWN 0x10 |
Definition at line 65 of file max3421e.h.
| #define rCPUCTL 0x80 |
Definition at line 67 of file max3421e.h.
| #define bmPUSLEWID1 0x80 |
Definition at line 69 of file max3421e.h.
| #define bmPULSEWID0 0x40 |
Definition at line 70 of file max3421e.h.
| #define bmIE 0x01 |
Definition at line 71 of file max3421e.h.
| #define rPINCTL 0x88 |
Definition at line 73 of file max3421e.h.
| #define bmFDUPSPI 0x10 |
Definition at line 75 of file max3421e.h.
| #define bmINTLEVEL 0x08 |
Definition at line 76 of file max3421e.h.
| #define bmPOSINT 0x04 |
Definition at line 77 of file max3421e.h.
| #define bmGPXB 0x02 |
Definition at line 78 of file max3421e.h.
| #define bmGPXA 0x01 |
Definition at line 79 of file max3421e.h.
| #define GPX_OPERATE 0x00 |
Definition at line 81 of file max3421e.h.
| #define GPX_VBDET 0x01 |
Definition at line 82 of file max3421e.h.
| #define GPX_BUSACT 0x02 |
Definition at line 83 of file max3421e.h.
| #define GPX_SOF 0x03 |
Definition at line 84 of file max3421e.h.
| #define rREVISION 0x90 |
Definition at line 86 of file max3421e.h.
| #define rIOPINS1 0xa0 |
Definition at line 88 of file max3421e.h.
| #define bmGPOUT0 0x01 |
Definition at line 91 of file max3421e.h.
| #define bmGPOUT1 0x02 |
Definition at line 92 of file max3421e.h.
| #define bmGPOUT2 0x04 |
Definition at line 93 of file max3421e.h.
| #define bmGPOUT3 0x08 |
Definition at line 94 of file max3421e.h.
| #define bmGPIN0 0x10 |
Definition at line 95 of file max3421e.h.
| #define bmGPIN1 0x20 |
Definition at line 96 of file max3421e.h.
| #define bmGPIN2 0x40 |
Definition at line 97 of file max3421e.h.
| #define bmGPIN3 0x80 |
Definition at line 98 of file max3421e.h.
| #define rIOPINS2 0xa8 |
Definition at line 100 of file max3421e.h.
| #define bmGPOUT4 0x01 |
Definition at line 102 of file max3421e.h.
| #define bmGPOUT5 0x02 |
Definition at line 103 of file max3421e.h.
| #define bmGPOUT6 0x04 |
Definition at line 104 of file max3421e.h.
| #define bmGPOUT7 0x08 |
Definition at line 105 of file max3421e.h.
| #define bmGPIN4 0x10 |
Definition at line 106 of file max3421e.h.
| #define bmGPIN5 0x20 |
Definition at line 107 of file max3421e.h.
| #define bmGPIN6 0x40 |
Definition at line 108 of file max3421e.h.
| #define bmGPIN7 0x80 |
Definition at line 109 of file max3421e.h.
| #define rGPINIRQ 0xb0 |
Definition at line 111 of file max3421e.h.
| #define bmGPINIRQ0 0x01 |
Definition at line 113 of file max3421e.h.
| #define bmGPINIRQ1 0x02 |
Definition at line 114 of file max3421e.h.
| #define bmGPINIRQ2 0x04 |
Definition at line 115 of file max3421e.h.
| #define bmGPINIRQ3 0x08 |
Definition at line 116 of file max3421e.h.
| #define bmGPINIRQ4 0x10 |
Definition at line 117 of file max3421e.h.
| #define bmGPINIRQ5 0x20 |
Definition at line 118 of file max3421e.h.
| #define bmGPINIRQ6 0x40 |
Definition at line 119 of file max3421e.h.
| #define bmGPINIRQ7 0x80 |
Definition at line 120 of file max3421e.h.
| #define rGPINIEN 0xb8 |
Definition at line 122 of file max3421e.h.
| #define bmGPINIEN0 0x01 |
Definition at line 124 of file max3421e.h.
| #define bmGPINIEN1 0x02 |
Definition at line 125 of file max3421e.h.
| #define bmGPINIEN2 0x04 |
Definition at line 126 of file max3421e.h.
| #define bmGPINIEN3 0x08 |
Definition at line 127 of file max3421e.h.
| #define bmGPINIEN4 0x10 |
Definition at line 128 of file max3421e.h.
| #define bmGPINIEN5 0x20 |
Definition at line 129 of file max3421e.h.
| #define bmGPINIEN6 0x40 |
Definition at line 130 of file max3421e.h.
| #define bmGPINIEN7 0x80 |
Definition at line 131 of file max3421e.h.
| #define rGPINPOL 0xc0 |
Definition at line 133 of file max3421e.h.
| #define bmGPINPOL0 0x01 |
Definition at line 135 of file max3421e.h.
| #define bmGPINPOL1 0x02 |
Definition at line 136 of file max3421e.h.
| #define bmGPINPOL2 0x04 |
Definition at line 137 of file max3421e.h.
| #define bmGPINPOL3 0x08 |
Definition at line 138 of file max3421e.h.
| #define bmGPINPOL4 0x10 |
Definition at line 139 of file max3421e.h.
| #define bmGPINPOL5 0x20 |
Definition at line 140 of file max3421e.h.
| #define bmGPINPOL6 0x40 |
Definition at line 141 of file max3421e.h.
| #define bmGPINPOL7 0x80 |
Definition at line 142 of file max3421e.h.
| #define rHIRQ 0xc8 |
Definition at line 144 of file max3421e.h.
| #define bmBUSEVENTIRQ 0x01 |
Definition at line 146 of file max3421e.h.
| #define bmRWUIRQ 0x02 |
Definition at line 147 of file max3421e.h.
| #define bmRCVDAVIRQ 0x04 |
Definition at line 148 of file max3421e.h.
| #define bmSNDBAVIRQ 0x08 |
Definition at line 149 of file max3421e.h.
| #define bmSUSDNIRQ 0x10 |
Definition at line 150 of file max3421e.h.
| #define bmCONDETIRQ 0x20 |
Definition at line 151 of file max3421e.h.
| #define bmFRAMEIRQ 0x40 |
Definition at line 152 of file max3421e.h.
| #define bmHXFRDNIRQ 0x80 |
Definition at line 153 of file max3421e.h.
| #define rHIEN 0xd0 |
Definition at line 155 of file max3421e.h.
| #define bmBUSEVENTIE 0x01 |
Definition at line 158 of file max3421e.h.
| #define bmRWUIE 0x02 |
Definition at line 159 of file max3421e.h.
| #define bmRCVDAVIE 0x04 |
Definition at line 160 of file max3421e.h.
| #define bmSNDBAVIE 0x08 |
Definition at line 161 of file max3421e.h.
| #define bmSUSDNIE 0x10 |
Definition at line 162 of file max3421e.h.
| #define bmCONDETIE 0x20 |
Definition at line 163 of file max3421e.h.
| #define bmFRAMEIE 0x40 |
Definition at line 164 of file max3421e.h.
| #define bmHXFRDNIE 0x80 |
Definition at line 165 of file max3421e.h.
| #define rMODE 0xd8 |
Definition at line 167 of file max3421e.h.
| #define bmHOST 0x01 |
Definition at line 170 of file max3421e.h.
| #define bmLOWSPEED 0x02 |
Definition at line 171 of file max3421e.h.
| #define bmHUBPRE 0x04 |
Definition at line 172 of file max3421e.h.
| #define bmSOFKAENAB 0x08 |
Definition at line 173 of file max3421e.h.
| #define bmSEPIRQ 0x10 |
Definition at line 174 of file max3421e.h.
| #define bmDELAYISO 0x20 |
Definition at line 175 of file max3421e.h.
| #define bmDMPULLDN 0x40 |
Definition at line 176 of file max3421e.h.
| #define bmDPPULLDN 0x80 |
Definition at line 177 of file max3421e.h.
| #define rPERADDR 0xe0 |
Definition at line 179 of file max3421e.h.
| #define rHCTL 0xe8 |
Definition at line 181 of file max3421e.h.
| #define bmBUSRST 0x01 |
Definition at line 183 of file max3421e.h.
| #define bmFRMRST 0x02 |
Definition at line 184 of file max3421e.h.
| #define bmSAMPLEBUS 0x04 |
Definition at line 185 of file max3421e.h.
| #define bmSIGRSM 0x08 |
Definition at line 186 of file max3421e.h.
| #define bmRCVTOG0 0x10 |
Definition at line 187 of file max3421e.h.
| #define bmRCVTOG1 0x20 |
Definition at line 188 of file max3421e.h.
| #define bmSNDTOG0 0x40 |
Definition at line 189 of file max3421e.h.
| #define bmSNDTOG1 0x80 |
Definition at line 190 of file max3421e.h.
| #define rHXFR 0xf0 |
Definition at line 192 of file max3421e.h.
| #define tokSETUP 0x10 |
Definition at line 195 of file max3421e.h.
| #define tokIN 0x00 |
Definition at line 196 of file max3421e.h.
| #define tokOUT 0x20 |
Definition at line 197 of file max3421e.h.
| #define tokINHS 0x80 |
Definition at line 198 of file max3421e.h.
| #define tokOUTHS 0xA0 |
Definition at line 199 of file max3421e.h.
| #define tokISOIN 0x40 |
Definition at line 200 of file max3421e.h.
| #define tokISOOUT 0x60 |
Definition at line 201 of file max3421e.h.
| #define rHRSL 0xf8 |
Definition at line 203 of file max3421e.h.
| #define bmRCVTOGRD 0x10 |
Definition at line 206 of file max3421e.h.
| #define bmSNDTOGRD 0x20 |
Definition at line 207 of file max3421e.h.
| #define bmKSTATUS 0x40 |
Definition at line 208 of file max3421e.h.
| #define bmJSTATUS 0x80 |
Definition at line 209 of file max3421e.h.
| #define bmSE0 0x00 |
Definition at line 210 of file max3421e.h.
| #define bmSE1 0xc0 |
Definition at line 211 of file max3421e.h.
| #define hrSUCCESS 0x00 |
Definition at line 214 of file max3421e.h.
| #define hrBUSY 0x01 |
Definition at line 215 of file max3421e.h.
| #define hrBADREQ 0x02 |
Definition at line 216 of file max3421e.h.
| #define hrUNDEF 0x03 |
Definition at line 217 of file max3421e.h.
| #define hrNAK 0x04 |
Definition at line 218 of file max3421e.h.
| #define hrSTALL 0x05 |
Definition at line 219 of file max3421e.h.
| #define hrTOGERR 0x06 |
Definition at line 220 of file max3421e.h.
| #define hrWRONGPID 0x07 |
Definition at line 221 of file max3421e.h.
| #define hrBADBC 0x08 |
Definition at line 222 of file max3421e.h.
| #define hrPIDERR 0x09 |
Definition at line 223 of file max3421e.h.
| #define hrPKTERR 0x0A |
Definition at line 224 of file max3421e.h.
| #define hrCRCERR 0x0B |
Definition at line 225 of file max3421e.h.
| #define hrKERR 0x0C |
Definition at line 226 of file max3421e.h.
| #define hrJERR 0x0D |
Definition at line 227 of file max3421e.h.
| #define hrTIMEOUT 0x0E |
Definition at line 228 of file max3421e.h.
| #define hrBABBLE 0x0F |
Definition at line 229 of file max3421e.h.
| #define MODE_FS_HOST (bmDPPULLDN|bmDMPULLDN|bmHOST|bmSOFKAENAB) |
Definition at line 231 of file max3421e.h.
| #define MODE_LS_HOST (bmDPPULLDN|bmDMPULLDN|bmHOST|bmLOWSPEED|bmSOFKAENAB) |
Definition at line 232 of file max3421e.h.