Defines
Max3421e_constants.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define bmBUSEVENTIE   0x01
#define bmBUSEVENTIRQ   0x01
#define bmBUSRST   0x01
#define bmCHIPRES   0x20
#define bmCONDETIE   0x20
#define bmCONDETIRQ   0x20
#define bmDELAYISO   0x20
#define bmDMPULLDN   0x40
#define bmDPPULLDN   0x80
#define bmFDUPSPI   0x10
#define bmFRAMEIE   0x40
#define bmFRAMEIRQ   0x40
#define bmFRMRST   0x02
#define bmGPIN0   0x10
#define bmGPIN1   0x20
#define bmGPIN2   0x40
#define bmGPIN3   0x80
#define bmGPIN4   0x10
#define bmGPIN5   0x20
#define bmGPIN6   0x40
#define bmGPIN7   0x80
#define bmGPINIEN0   0x01
#define bmGPINIEN1   0x02
#define bmGPINIEN2   0x04
#define bmGPINIEN3   0x08
#define bmGPINIEN4   0x10
#define bmGPINIEN5   0x20
#define bmGPINIEN6   0x40
#define bmGPINIEN7   0x80
#define bmGPINIRQ0   0x01
#define bmGPINIRQ1   0x02
#define bmGPINIRQ2   0x04
#define bmGPINIRQ3   0x08
#define bmGPINIRQ4   0x10
#define bmGPINIRQ5   0x20
#define bmGPINIRQ6   0x40
#define bmGPINIRQ7   0x80
#define bmGPINPOL0   0x01
#define bmGPINPOL1   0x02
#define bmGPINPOL2   0x04
#define bmGPINPOL3   0x08
#define bmGPINPOL4   0x10
#define bmGPINPOL5   0x20
#define bmGPINPOL6   0x40
#define bmGPINPOL7   0x80
#define bmGPOUT0   0x01
#define bmGPOUT1   0x02
#define bmGPOUT2   0x04
#define bmGPOUT3   0x08
#define bmGPOUT4   0x01
#define bmGPOUT5   0x02
#define bmGPOUT6   0x04
#define bmGPOUT7   0x08
#define bmGPXA   0x01
#define bmGPXB   0x02
#define bmHOST   0x01
#define bmHUBPRE   0x04
#define bmHXFRDNIE   0x80
#define bmHXFRDNIRQ   0x80
#define bmIE   0x01
#define bmINTLEVEL   0x08
#define bmJSTATUS   0x80
#define bmKSTATUS   0x40
#define bmLOWSPEED   0x02
#define bmNOVBUSIE   0x20
#define bmNOVBUSIRQ   0x20
#define bmOSCOKIE   0x01
#define bmOSCOKIRQ   0x01
#define bmPOSINT   0x04
#define bmPULSEWID0   0x40
#define bmPUSLEWID1   0x80
#define bmPWRDOWN   0x10
#define bmRCVDAVIE   0x04
#define bmRCVDAVIRQ   0x04
#define bmRCVTOG0   0x10
#define bmRCVTOG1   0x20
#define bmRCVTOGRD   0x10
#define bmRWUIE   0x02
#define bmRWUIRQ   0x02
#define bmSAMPLEBUS   0x04
#define bmSE0   0x00
#define bmSE1   0xc0
#define bmSEPIRQ   0x10
#define bmSIGRSM   0x08
#define bmSNDBAVIE   0x08
#define bmSNDBAVIRQ   0x08
#define bmSNDTOG0   0x40
#define bmSNDTOG1   0x80
#define bmSNDTOGRD   0x20
#define bmSOFKAENAB   0x08
#define bmSUSDNIE   0x10
#define bmSUSDNIRQ   0x10
#define bmVBUSIE   0x40
#define bmVBUSIRQ   0x40
#define FSHOST   2
#define GPX_BUSACT   0x02
#define GPX_OPERATE   0x00
#define GPX_SOF   0x03
#define GPX_VBDET   0x01
#define hrBABBLE   0x0F
#define hrBADBC   0x08
#define hrBADREQ   0x02
#define hrBUSY   0x01
#define hrCRCERR   0x0B
#define hrJERR   0x0D
#define hrKERR   0x0C
#define hrNAK   0x04
#define hrPIDERR   0x09
#define hrPKTERR   0x0A
#define hrSTALL   0x05
#define hrSUCCESS   0x00
#define hrTIMEOUT   0x0E
#define hrTOGERR   0x06
#define hrUNDEF   0x03
#define hrWRONGPID   0x07
#define LSHOST   3
#define MAX_GPX   8
#define MAX_INT   9
#define MAX_RESET   7
#define MAX_SS   53
#define MODE_FS_HOST   (bmDPPULLDN|bmDMPULLDN|bmHOST|bmSOFKAENAB)
#define MODE_LS_HOST   (bmDPPULLDN|bmDMPULLDN|bmHOST|bmLOWSPEED|bmSOFKAENAB)
#define OFF   false
#define ON   true
#define rCPUCTL   0x80
#define rGPINIEN   0xb8
#define rGPINIRQ   0xb0
#define rGPINPOL   0xc0
#define rHCTL   0xe8
#define rHIEN   0xd0
#define rHIRQ   0xc8
#define rHRSL   0xf8
#define rHXFR   0xf0
#define rIOPINS1   0xa0
#define rIOPINS2   0xa8
#define rMODE   0xd8
#define rPERADDR   0xe0
#define rPINCTL   0x88
#define rRCVBC   0x30
#define rRCVFIFO   0x08
#define rREVISION   0x90
#define rSNDBC   0x38
#define rSNDFIFO   0x10
#define rSUDFIFO   0x20
#define rUSBCTL   0x78
#define rUSBIEN   0x70
#define rUSBIRQ   0x68
#define SE0   0
#define SE1   1
#define tokIN   0x00
#define tokINHS   0x80
#define tokISOIN   0x40
#define tokISOOUT   0x60
#define tokOUT   0x20
#define tokOUTHS   0xA0
#define tokSETUP   0x10

Define Documentation

#define bmBUSEVENTIE   0x01

Definition at line 190 of file Max3421e_constants.h.

#define bmBUSEVENTIRQ   0x01

Definition at line 179 of file Max3421e_constants.h.

#define bmBUSRST   0x01

Definition at line 214 of file Max3421e_constants.h.

#define bmCHIPRES   0x20

Definition at line 97 of file Max3421e_constants.h.

#define bmCONDETIE   0x20

Definition at line 195 of file Max3421e_constants.h.

#define bmCONDETIRQ   0x20

Definition at line 184 of file Max3421e_constants.h.

#define bmDELAYISO   0x20

Definition at line 206 of file Max3421e_constants.h.

#define bmDMPULLDN   0x40

Definition at line 207 of file Max3421e_constants.h.

#define bmDPPULLDN   0x80

Definition at line 208 of file Max3421e_constants.h.

#define bmFDUPSPI   0x10

Definition at line 108 of file Max3421e_constants.h.

#define bmFRAMEIE   0x40

Definition at line 196 of file Max3421e_constants.h.

#define bmFRAMEIRQ   0x40

Definition at line 185 of file Max3421e_constants.h.

#define bmFRMRST   0x02

Definition at line 215 of file Max3421e_constants.h.

#define bmGPIN0   0x10

Definition at line 128 of file Max3421e_constants.h.

#define bmGPIN1   0x20

Definition at line 129 of file Max3421e_constants.h.

#define bmGPIN2   0x40

Definition at line 130 of file Max3421e_constants.h.

#define bmGPIN3   0x80

Definition at line 131 of file Max3421e_constants.h.

#define bmGPIN4   0x10

Definition at line 139 of file Max3421e_constants.h.

#define bmGPIN5   0x20

Definition at line 140 of file Max3421e_constants.h.

#define bmGPIN6   0x40

Definition at line 141 of file Max3421e_constants.h.

#define bmGPIN7   0x80

Definition at line 142 of file Max3421e_constants.h.

#define bmGPINIEN0   0x01

Definition at line 157 of file Max3421e_constants.h.

#define bmGPINIEN1   0x02

Definition at line 158 of file Max3421e_constants.h.

#define bmGPINIEN2   0x04

Definition at line 159 of file Max3421e_constants.h.

#define bmGPINIEN3   0x08

Definition at line 160 of file Max3421e_constants.h.

#define bmGPINIEN4   0x10

Definition at line 161 of file Max3421e_constants.h.

#define bmGPINIEN5   0x20

Definition at line 162 of file Max3421e_constants.h.

#define bmGPINIEN6   0x40

Definition at line 163 of file Max3421e_constants.h.

#define bmGPINIEN7   0x80

Definition at line 164 of file Max3421e_constants.h.

#define bmGPINIRQ0   0x01

Definition at line 146 of file Max3421e_constants.h.

#define bmGPINIRQ1   0x02

Definition at line 147 of file Max3421e_constants.h.

#define bmGPINIRQ2   0x04

Definition at line 148 of file Max3421e_constants.h.

#define bmGPINIRQ3   0x08

Definition at line 149 of file Max3421e_constants.h.

#define bmGPINIRQ4   0x10

Definition at line 150 of file Max3421e_constants.h.

#define bmGPINIRQ5   0x20

Definition at line 151 of file Max3421e_constants.h.

#define bmGPINIRQ6   0x40

Definition at line 152 of file Max3421e_constants.h.

#define bmGPINIRQ7   0x80

Definition at line 153 of file Max3421e_constants.h.

#define bmGPINPOL0   0x01

Definition at line 168 of file Max3421e_constants.h.

#define bmGPINPOL1   0x02

Definition at line 169 of file Max3421e_constants.h.

#define bmGPINPOL2   0x04

Definition at line 170 of file Max3421e_constants.h.

#define bmGPINPOL3   0x08

Definition at line 171 of file Max3421e_constants.h.

#define bmGPINPOL4   0x10

Definition at line 172 of file Max3421e_constants.h.

#define bmGPINPOL5   0x20

Definition at line 173 of file Max3421e_constants.h.

#define bmGPINPOL6   0x40

Definition at line 174 of file Max3421e_constants.h.

#define bmGPINPOL7   0x80

Definition at line 175 of file Max3421e_constants.h.

#define bmGPOUT0   0x01

Definition at line 124 of file Max3421e_constants.h.

#define bmGPOUT1   0x02

Definition at line 125 of file Max3421e_constants.h.

#define bmGPOUT2   0x04

Definition at line 126 of file Max3421e_constants.h.

#define bmGPOUT3   0x08

Definition at line 127 of file Max3421e_constants.h.

#define bmGPOUT4   0x01

Definition at line 135 of file Max3421e_constants.h.

#define bmGPOUT5   0x02

Definition at line 136 of file Max3421e_constants.h.

#define bmGPOUT6   0x04

Definition at line 137 of file Max3421e_constants.h.

#define bmGPOUT7   0x08

Definition at line 138 of file Max3421e_constants.h.

#define bmGPXA   0x01

Definition at line 112 of file Max3421e_constants.h.

#define bmGPXB   0x02

Definition at line 111 of file Max3421e_constants.h.

#define bmHOST   0x01

Definition at line 201 of file Max3421e_constants.h.

#define bmHUBPRE   0x04

Definition at line 203 of file Max3421e_constants.h.

#define bmHXFRDNIE   0x80

Definition at line 197 of file Max3421e_constants.h.

#define bmHXFRDNIRQ   0x80

Definition at line 186 of file Max3421e_constants.h.

#define bmIE   0x01

Definition at line 104 of file Max3421e_constants.h.

#define bmINTLEVEL   0x08

Definition at line 109 of file Max3421e_constants.h.

#define bmJSTATUS   0x80

Definition at line 239 of file Max3421e_constants.h.

#define bmKSTATUS   0x40

Definition at line 238 of file Max3421e_constants.h.

#define bmLOWSPEED   0x02

Definition at line 202 of file Max3421e_constants.h.

#define bmNOVBUSIE   0x20

Definition at line 92 of file Max3421e_constants.h.

#define bmNOVBUSIRQ   0x20

Definition at line 86 of file Max3421e_constants.h.

#define bmOSCOKIE   0x01

Definition at line 93 of file Max3421e_constants.h.

#define bmOSCOKIRQ   0x01

Definition at line 87 of file Max3421e_constants.h.

#define bmPOSINT   0x04

Definition at line 110 of file Max3421e_constants.h.

#define bmPULSEWID0   0x40

Definition at line 103 of file Max3421e_constants.h.

#define bmPUSLEWID1   0x80

Definition at line 102 of file Max3421e_constants.h.

#define bmPWRDOWN   0x10

Definition at line 98 of file Max3421e_constants.h.

#define bmRCVDAVIE   0x04

Definition at line 192 of file Max3421e_constants.h.

#define bmRCVDAVIRQ   0x04

Definition at line 181 of file Max3421e_constants.h.

#define bmRCVTOG0   0x10

Definition at line 218 of file Max3421e_constants.h.

#define bmRCVTOG1   0x20

Definition at line 219 of file Max3421e_constants.h.

#define bmRCVTOGRD   0x10

Definition at line 236 of file Max3421e_constants.h.

#define bmRWUIE   0x02

Definition at line 191 of file Max3421e_constants.h.

#define bmRWUIRQ   0x02

Definition at line 180 of file Max3421e_constants.h.

#define bmSAMPLEBUS   0x04

Definition at line 216 of file Max3421e_constants.h.

#define bmSE0   0x00

Definition at line 240 of file Max3421e_constants.h.

#define bmSE1   0xc0

Definition at line 241 of file Max3421e_constants.h.

#define bmSEPIRQ   0x10

Definition at line 205 of file Max3421e_constants.h.

#define bmSIGRSM   0x08

Definition at line 217 of file Max3421e_constants.h.

#define bmSNDBAVIE   0x08

Definition at line 193 of file Max3421e_constants.h.

#define bmSNDBAVIRQ   0x08

Definition at line 182 of file Max3421e_constants.h.

#define bmSNDTOG0   0x40

Definition at line 220 of file Max3421e_constants.h.

#define bmSNDTOG1   0x80

Definition at line 221 of file Max3421e_constants.h.

#define bmSNDTOGRD   0x20

Definition at line 237 of file Max3421e_constants.h.

#define bmSOFKAENAB   0x08

Definition at line 204 of file Max3421e_constants.h.

#define bmSUSDNIE   0x10

Definition at line 194 of file Max3421e_constants.h.

#define bmSUSDNIRQ   0x10

Definition at line 183 of file Max3421e_constants.h.

#define bmVBUSIE   0x40

Definition at line 91 of file Max3421e_constants.h.

#define bmVBUSIRQ   0x40

Definition at line 85 of file Max3421e_constants.h.

#define FSHOST   2

Definition at line 70 of file Max3421e_constants.h.

#define GPX_BUSACT   0x02

Definition at line 116 of file Max3421e_constants.h.

#define GPX_OPERATE   0x00

Definition at line 114 of file Max3421e_constants.h.

#define GPX_SOF   0x03

Definition at line 117 of file Max3421e_constants.h.

#define GPX_VBDET   0x01

Definition at line 115 of file Max3421e_constants.h.

#define hrBABBLE   0x0F

Definition at line 258 of file Max3421e_constants.h.

#define hrBADBC   0x08

Definition at line 251 of file Max3421e_constants.h.

#define hrBADREQ   0x02

Definition at line 245 of file Max3421e_constants.h.

#define hrBUSY   0x01

Definition at line 244 of file Max3421e_constants.h.

#define hrCRCERR   0x0B

Definition at line 254 of file Max3421e_constants.h.

#define hrJERR   0x0D

Definition at line 256 of file Max3421e_constants.h.

#define hrKERR   0x0C

Definition at line 255 of file Max3421e_constants.h.

#define hrNAK   0x04

Definition at line 247 of file Max3421e_constants.h.

#define hrPIDERR   0x09

Definition at line 252 of file Max3421e_constants.h.

#define hrPKTERR   0x0A

Definition at line 253 of file Max3421e_constants.h.

#define hrSTALL   0x05

Definition at line 248 of file Max3421e_constants.h.

#define hrSUCCESS   0x00

Definition at line 243 of file Max3421e_constants.h.

#define hrTIMEOUT   0x0E

Definition at line 257 of file Max3421e_constants.h.

#define hrTOGERR   0x06

Definition at line 249 of file Max3421e_constants.h.

#define hrUNDEF   0x03

Definition at line 246 of file Max3421e_constants.h.

#define hrWRONGPID   0x07

Definition at line 250 of file Max3421e_constants.h.

#define LSHOST   3

Definition at line 71 of file Max3421e_constants.h.

#define MAX_GPX   8

Definition at line 52 of file Max3421e_constants.h.

#define MAX_INT   9

Definition at line 51 of file Max3421e_constants.h.

#define MAX_RESET   7

Definition at line 53 of file Max3421e_constants.h.

#define MAX_SS   53

Definition at line 50 of file Max3421e_constants.h.

Definition at line 260 of file Max3421e_constants.h.

Definition at line 261 of file Max3421e_constants.h.

#define OFF   false

Definition at line 65 of file Max3421e_constants.h.

#define ON   true

Definition at line 64 of file Max3421e_constants.h.

#define rCPUCTL   0x80

Definition at line 100 of file Max3421e_constants.h.

#define rGPINIEN   0xb8

Definition at line 155 of file Max3421e_constants.h.

#define rGPINIRQ   0xb0

Definition at line 144 of file Max3421e_constants.h.

#define rGPINPOL   0xc0

Definition at line 166 of file Max3421e_constants.h.

#define rHCTL   0xe8

Definition at line 212 of file Max3421e_constants.h.

#define rHIEN   0xd0

Definition at line 188 of file Max3421e_constants.h.

#define rHIRQ   0xc8

Definition at line 177 of file Max3421e_constants.h.

#define rHRSL   0xf8

Definition at line 234 of file Max3421e_constants.h.

#define rHXFR   0xf0

Definition at line 223 of file Max3421e_constants.h.

#define rIOPINS1   0xa0

Definition at line 121 of file Max3421e_constants.h.

#define rIOPINS2   0xa8

Definition at line 133 of file Max3421e_constants.h.

#define rMODE   0xd8

Definition at line 199 of file Max3421e_constants.h.

#define rPERADDR   0xe0

Definition at line 210 of file Max3421e_constants.h.

#define rPINCTL   0x88

Definition at line 106 of file Max3421e_constants.h.

#define rRCVBC   0x30

Definition at line 80 of file Max3421e_constants.h.

#define rRCVFIFO   0x08

Definition at line 77 of file Max3421e_constants.h.

#define rREVISION   0x90

Definition at line 119 of file Max3421e_constants.h.

#define rSNDBC   0x38

Definition at line 81 of file Max3421e_constants.h.

#define rSNDFIFO   0x10

Definition at line 78 of file Max3421e_constants.h.

#define rSUDFIFO   0x20

Definition at line 79 of file Max3421e_constants.h.

#define rUSBCTL   0x78

Definition at line 95 of file Max3421e_constants.h.

#define rUSBIEN   0x70

Definition at line 89 of file Max3421e_constants.h.

#define rUSBIRQ   0x68

Definition at line 83 of file Max3421e_constants.h.

#define SE0   0

Definition at line 68 of file Max3421e_constants.h.

#define SE1   1

Definition at line 69 of file Max3421e_constants.h.

#define tokIN   0x00

Definition at line 227 of file Max3421e_constants.h.

#define tokINHS   0x80

Definition at line 229 of file Max3421e_constants.h.

#define tokISOIN   0x40

Definition at line 231 of file Max3421e_constants.h.

#define tokISOOUT   0x60

Definition at line 232 of file Max3421e_constants.h.

#define tokOUT   0x20

Definition at line 228 of file Max3421e_constants.h.

#define tokOUTHS   0xA0

Definition at line 230 of file Max3421e_constants.h.

#define tokSETUP   0x10

Definition at line 226 of file Max3421e_constants.h.



rosserial_adk_demo
Author(s): Adam Stambler
autogenerated on Mon Dec 2 2013 12:02:02