Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register : hcchar10

Description

Host Channel 10 Characteristics Register

Register Layout

Bits Access Reset Description
[10:0] RW 0x0 ALT_USB_HOST_HCCHAR10_MPS
[14:11] RW 0x0 ALT_USB_HOST_HCCHAR10_EPNUM
[15] RW 0x0 ALT_USB_HOST_HCCHAR10_EPDIR
[16] ??? 0x0 UNDEFINED
[17] RW 0x0 ALT_USB_HOST_HCCHAR10_LSPDDEV
[19:18] RW 0x0 ALT_USB_HOST_HCCHAR10_EPTYPE
[21:20] RW 0x0 ALT_USB_HOST_HCCHAR10_EC
[28:22] RW 0x0 ALT_USB_HOST_HCCHAR10_DEVADDR
[29] RW 0x0 ALT_USB_HOST_HCCHAR10_ODDFRM
[30] R-W once 0x0 ALT_USB_HOST_HCCHAR10_CHDIS
[31] R-W once 0x0 ALT_USB_HOST_HCCHAR10_CHENA

Field : mps

Maximum Packet Size (MPS)

Indicates the maximum packet size of the associated endpoint.

Field Access Macros:

#define ALT_USB_HOST_HCCHAR10_MPS_LSB   0
 
#define ALT_USB_HOST_HCCHAR10_MPS_MSB   10
 
#define ALT_USB_HOST_HCCHAR10_MPS_WIDTH   11
 
#define ALT_USB_HOST_HCCHAR10_MPS_SET_MSK   0x000007ff
 
#define ALT_USB_HOST_HCCHAR10_MPS_CLR_MSK   0xfffff800
 
#define ALT_USB_HOST_HCCHAR10_MPS_RESET   0x0
 
#define ALT_USB_HOST_HCCHAR10_MPS_GET(value)   (((value) & 0x000007ff) >> 0)
 
#define ALT_USB_HOST_HCCHAR10_MPS_SET(value)   (((value) << 0) & 0x000007ff)
 

Field : epnum

Endpoint Number (EPNum)

Indicates the endpoint number on the device serving as the data

source or sink.

Field Enumeration Values:

Enum Value Description
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT0 0x0 End point 0
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT1 0x1 End point 1
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT2 0x2 End point 2
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT3 0x3 End point 3
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT4 0x4 End point 4
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT5 0x5 End point 5
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT6 0x6 End point 6
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT7 0x7 End point 7
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT8 0x8 End point 8
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT9 0x9 End point 9
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT10 0xa End point 10
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT11 0xb End point 11
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT12 0xc End point 12
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT13 0xd End point 13
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT14 0xe End point 14
ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT15 0xf End point 15

Field Access Macros:

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT0   0x0
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT1   0x1
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT2   0x2
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT3   0x3
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT4   0x4
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT5   0x5
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT6   0x6
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT7   0x7
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT8   0x8
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT9   0x9
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT10   0xa
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT11   0xb
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT12   0xc
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT13   0xd
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT14   0xe
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT15   0xf
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_LSB   11
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_MSB   14
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_WIDTH   4
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_SET_MSK   0x00007800
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_CLR_MSK   0xffff87ff
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_RESET   0x0
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_GET(value)   (((value) & 0x00007800) >> 11)
 
#define ALT_USB_HOST_HCCHAR10_EPNUM_SET(value)   (((value) << 11) & 0x00007800)
 

Field : epdir

Endpoint Direction (EPDir)

Indicates whether the transaction is IN or OUT.

1'b0: OUT

1'b1: IN

Field Enumeration Values:

Enum Value Description
ALT_USB_HOST_HCCHAR10_EPDIR_E_OUT 0x0 OUT Direction
ALT_USB_HOST_HCCHAR10_EPDIR_E_IN 0x1 IN Direction

Field Access Macros:

#define ALT_USB_HOST_HCCHAR10_EPDIR_E_OUT   0x0
 
#define ALT_USB_HOST_HCCHAR10_EPDIR_E_IN   0x1
 
#define ALT_USB_HOST_HCCHAR10_EPDIR_LSB   15
 
#define ALT_USB_HOST_HCCHAR10_EPDIR_MSB   15
 
#define ALT_USB_HOST_HCCHAR10_EPDIR_WIDTH   1
 
#define ALT_USB_HOST_HCCHAR10_EPDIR_SET_MSK   0x00008000
 
#define ALT_USB_HOST_HCCHAR10_EPDIR_CLR_MSK   0xffff7fff
 
#define ALT_USB_HOST_HCCHAR10_EPDIR_RESET   0x0
 
#define ALT_USB_HOST_HCCHAR10_EPDIR_GET(value)   (((value) & 0x00008000) >> 15)
 
#define ALT_USB_HOST_HCCHAR10_EPDIR_SET(value)   (((value) << 15) & 0x00008000)
 

Field : lspddev

Low-Speed Device (LSpdDev)

This field is Set by the application to indicate that this channel is

communicating to a low-speed device.

Field Enumeration Values:

Enum Value Description
ALT_USB_HOST_HCCHAR10_LSPDDEV_E_DISD 0x0 Not Communicating with low speed device
ALT_USB_HOST_HCCHAR10_LSPDDEV_E_END 0x1 Communicating with low speed device

Field Access Macros:

#define ALT_USB_HOST_HCCHAR10_LSPDDEV_E_DISD   0x0
 
#define ALT_USB_HOST_HCCHAR10_LSPDDEV_E_END   0x1
 
#define ALT_USB_HOST_HCCHAR10_LSPDDEV_LSB   17
 
#define ALT_USB_HOST_HCCHAR10_LSPDDEV_MSB   17
 
#define ALT_USB_HOST_HCCHAR10_LSPDDEV_WIDTH   1
 
#define ALT_USB_HOST_HCCHAR10_LSPDDEV_SET_MSK   0x00020000
 
#define ALT_USB_HOST_HCCHAR10_LSPDDEV_CLR_MSK   0xfffdffff
 
#define ALT_USB_HOST_HCCHAR10_LSPDDEV_RESET   0x0
 
#define ALT_USB_HOST_HCCHAR10_LSPDDEV_GET(value)   (((value) & 0x00020000) >> 17)
 
#define ALT_USB_HOST_HCCHAR10_LSPDDEV_SET(value)   (((value) << 17) & 0x00020000)
 

Field : eptype

Endpoint Type (EPType)

Indicates the transfer type selected.

2'b00: Control

2'b01: Isochronous

2'b10: Bulk

2'b11: Interrupt

Field Enumeration Values:

Enum Value Description
ALT_USB_HOST_HCCHAR10_EPTYPE_E_CTL 0x0 Control
ALT_USB_HOST_HCCHAR10_EPTYPE_E_ISOC 0x1 Isochronous
ALT_USB_HOST_HCCHAR10_EPTYPE_E_BULK 0x2 Bulk
ALT_USB_HOST_HCCHAR10_EPTYPE_E_INTERR 0x3 Interrupt

Field Access Macros:

#define ALT_USB_HOST_HCCHAR10_EPTYPE_E_CTL   0x0
 
#define ALT_USB_HOST_HCCHAR10_EPTYPE_E_ISOC   0x1
 
#define ALT_USB_HOST_HCCHAR10_EPTYPE_E_BULK   0x2
 
#define ALT_USB_HOST_HCCHAR10_EPTYPE_E_INTERR   0x3
 
#define ALT_USB_HOST_HCCHAR10_EPTYPE_LSB   18
 
#define ALT_USB_HOST_HCCHAR10_EPTYPE_MSB   19
 
#define ALT_USB_HOST_HCCHAR10_EPTYPE_WIDTH   2
 
#define ALT_USB_HOST_HCCHAR10_EPTYPE_SET_MSK   0x000c0000
 
#define ALT_USB_HOST_HCCHAR10_EPTYPE_CLR_MSK   0xfff3ffff
 
#define ALT_USB_HOST_HCCHAR10_EPTYPE_RESET   0x0
 
#define ALT_USB_HOST_HCCHAR10_EPTYPE_GET(value)   (((value) & 0x000c0000) >> 18)
 
#define ALT_USB_HOST_HCCHAR10_EPTYPE_SET(value)   (((value) << 18) & 0x000c0000)
 

Field : ec

Multi Count (MC) / Error Count (EC)

When the Split Enable bit of the Host Channel-n Split Control

register (HCSPLTn.SpltEna) is reset (1'b0), this field indicates to

the host the number of transactions that must be executed per

microframe For this periodic endpoint. For non periodic transfers,

this field is used only in DMA mode, and specifies the number

packets to be fetched For this channel before the internal DMA

engine changes arbitration.

2'b00: Reserved This field yields undefined results.

2'b01: 1 transaction

2'b10: 2 transactions to be issued For this endpoint per

microframe

2'b11: 3 transactions to be issued For this endpoint per

microframe

When HCSPLTn.SpltEna is Set (1'b1), this field indicates the

number of immediate retries to be performed For a periodic split

transactions on transaction errors. This field must be Set to at

least 2'b01.

Field Enumeration Values:

Enum Value Description
ALT_USB_HOST_HCCHAR10_EC_E_RSVD 0x0 Reserved This field yields undefined result
ALT_USB_HOST_HCCHAR10_EC_E_TRANSONE 0x1 1 transaction
ALT_USB_HOST_HCCHAR10_EC_E_TRANSTWO 0x2 2 transactions to be issued for this endpoint
: per microframe
ALT_USB_HOST_HCCHAR10_EC_E_TRANSTHREE 0x3 3 transactions to be issued for this endpoint
: per microframe

Field Access Macros:

#define ALT_USB_HOST_HCCHAR10_EC_E_RSVD   0x0
 
#define ALT_USB_HOST_HCCHAR10_EC_E_TRANSONE   0x1
 
#define ALT_USB_HOST_HCCHAR10_EC_E_TRANSTWO   0x2
 
#define ALT_USB_HOST_HCCHAR10_EC_E_TRANSTHREE   0x3
 
#define ALT_USB_HOST_HCCHAR10_EC_LSB   20
 
#define ALT_USB_HOST_HCCHAR10_EC_MSB   21
 
#define ALT_USB_HOST_HCCHAR10_EC_WIDTH   2
 
#define ALT_USB_HOST_HCCHAR10_EC_SET_MSK   0x00300000
 
#define ALT_USB_HOST_HCCHAR10_EC_CLR_MSK   0xffcfffff
 
#define ALT_USB_HOST_HCCHAR10_EC_RESET   0x0
 
#define ALT_USB_HOST_HCCHAR10_EC_GET(value)   (((value) & 0x00300000) >> 20)
 
#define ALT_USB_HOST_HCCHAR10_EC_SET(value)   (((value) << 20) & 0x00300000)
 

Field : devaddr

Device Address (DevAddr)

This field selects the specific device serving as the data source

or sink.

Field Access Macros:

#define ALT_USB_HOST_HCCHAR10_DEVADDR_LSB   22
 
#define ALT_USB_HOST_HCCHAR10_DEVADDR_MSB   28
 
#define ALT_USB_HOST_HCCHAR10_DEVADDR_WIDTH   7
 
#define ALT_USB_HOST_HCCHAR10_DEVADDR_SET_MSK   0x1fc00000
 
#define ALT_USB_HOST_HCCHAR10_DEVADDR_CLR_MSK   0xe03fffff
 
#define ALT_USB_HOST_HCCHAR10_DEVADDR_RESET   0x0
 
#define ALT_USB_HOST_HCCHAR10_DEVADDR_GET(value)   (((value) & 0x1fc00000) >> 22)
 
#define ALT_USB_HOST_HCCHAR10_DEVADDR_SET(value)   (((value) << 22) & 0x1fc00000)
 

Field : oddfrm

Odd Frame (OddFrm)

This field is set (reset) by the application to indicate that the OTG host must perform

a transfer in an odd (micro)frame. This field is applicable for only periodic

(isochronous and interrupt) transactions.

1'b0: Even (micro)frame

1'b1: Odd (micro)frame

Field Access Macros:

#define ALT_USB_HOST_HCCHAR10_ODDFRM_LSB   29
 
#define ALT_USB_HOST_HCCHAR10_ODDFRM_MSB   29
 
#define ALT_USB_HOST_HCCHAR10_ODDFRM_WIDTH   1
 
#define ALT_USB_HOST_HCCHAR10_ODDFRM_SET_MSK   0x20000000
 
#define ALT_USB_HOST_HCCHAR10_ODDFRM_CLR_MSK   0xdfffffff
 
#define ALT_USB_HOST_HCCHAR10_ODDFRM_RESET   0x0
 
#define ALT_USB_HOST_HCCHAR10_ODDFRM_GET(value)   (((value) & 0x20000000) >> 29)
 
#define ALT_USB_HOST_HCCHAR10_ODDFRM_SET(value)   (((value) << 29) & 0x20000000)
 

Field : chdis

Channel Disable (ChDis)

The application sets this bit to stop transmitting/receiving data

on a channel, even before the transfer For that channel is

complete. The application must wait For the Channel Disabled

interrupt before treating the channel as disabled.

Field Enumeration Values:

Enum Value Description
ALT_USB_HOST_HCCHAR10_CHDIS_E_INACT 0x0 Transmit/Recieve normal
ALT_USB_HOST_HCCHAR10_CHDIS_E_ACT 0x1 Stop transmitting/receiving

Field Access Macros:

#define ALT_USB_HOST_HCCHAR10_CHDIS_E_INACT   0x0
 
#define ALT_USB_HOST_HCCHAR10_CHDIS_E_ACT   0x1
 
#define ALT_USB_HOST_HCCHAR10_CHDIS_LSB   30
 
#define ALT_USB_HOST_HCCHAR10_CHDIS_MSB   30
 
#define ALT_USB_HOST_HCCHAR10_CHDIS_WIDTH   1
 
#define ALT_USB_HOST_HCCHAR10_CHDIS_SET_MSK   0x40000000
 
#define ALT_USB_HOST_HCCHAR10_CHDIS_CLR_MSK   0xbfffffff
 
#define ALT_USB_HOST_HCCHAR10_CHDIS_RESET   0x0
 
#define ALT_USB_HOST_HCCHAR10_CHDIS_GET(value)   (((value) & 0x40000000) >> 30)
 
#define ALT_USB_HOST_HCCHAR10_CHDIS_SET(value)   (((value) << 30) & 0x40000000)
 

Field : chena

Channel Enable (ChEna)

When Scatter/Gather mode is enabled

1'b0: Indicates that the descriptor structure is not yet ready.

1'b1: Indicates that the descriptor structure and data buffer with

data is setup and this channel can access the descriptor.

When Scatter/Gather mode is disabled

This field is set by the application and cleared by the OTG host.

1'b0: Channel disabled

1'b1: Channel enabled

Field Enumeration Values:

Enum Value Description
ALT_USB_HOST_HCCHAR10_CHENA_E_INACT 0x0 Indicates that the descriptor structure is not
: yet ready
ALT_USB_HOST_HCCHAR10_CHENA_E_ACT 0x1 Indicates that the descriptor structure and
: data buffer with data is setup and this
: channel can access the descriptor

Field Access Macros:

#define ALT_USB_HOST_HCCHAR10_CHENA_E_INACT   0x0
 
#define ALT_USB_HOST_HCCHAR10_CHENA_E_ACT   0x1
 
#define ALT_USB_HOST_HCCHAR10_CHENA_LSB   31
 
#define ALT_USB_HOST_HCCHAR10_CHENA_MSB   31
 
#define ALT_USB_HOST_HCCHAR10_CHENA_WIDTH   1
 
#define ALT_USB_HOST_HCCHAR10_CHENA_SET_MSK   0x80000000
 
#define ALT_USB_HOST_HCCHAR10_CHENA_CLR_MSK   0x7fffffff
 
#define ALT_USB_HOST_HCCHAR10_CHENA_RESET   0x0
 
#define ALT_USB_HOST_HCCHAR10_CHENA_GET(value)   (((value) & 0x80000000) >> 31)
 
#define ALT_USB_HOST_HCCHAR10_CHENA_SET(value)   (((value) << 31) & 0x80000000)
 

Data Structures

struct  ALT_USB_HOST_HCCHAR10_s
 

Macros

#define ALT_USB_HOST_HCCHAR10_RESET   0x00000000
 
#define ALT_USB_HOST_HCCHAR10_OFST   0x240
 
#define ALT_USB_HOST_HCCHAR10_ADDR(base)   ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_HOST_HCCHAR10_OFST))
 

Typedefs

typedef struct
ALT_USB_HOST_HCCHAR10_s 
ALT_USB_HOST_HCCHAR10_t
 

Data Structure Documentation

struct ALT_USB_HOST_HCCHAR10_s

WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.

The struct declaration for register ALT_USB_HOST_HCCHAR10.

Data Fields
uint32_t mps: 11 ALT_USB_HOST_HCCHAR10_MPS
uint32_t epnum: 4 ALT_USB_HOST_HCCHAR10_EPNUM
uint32_t epdir: 1 ALT_USB_HOST_HCCHAR10_EPDIR
uint32_t __pad0__: 1 UNDEFINED
uint32_t lspddev: 1 ALT_USB_HOST_HCCHAR10_LSPDDEV
uint32_t eptype: 2 ALT_USB_HOST_HCCHAR10_EPTYPE
uint32_t ec: 2 ALT_USB_HOST_HCCHAR10_EC
uint32_t devaddr: 7 ALT_USB_HOST_HCCHAR10_DEVADDR
uint32_t oddfrm: 1 ALT_USB_HOST_HCCHAR10_ODDFRM
uint32_t chdis: 1 ALT_USB_HOST_HCCHAR10_CHDIS
uint32_t chena: 1 ALT_USB_HOST_HCCHAR10_CHENA

Macro Definitions

#define ALT_USB_HOST_HCCHAR10_MPS_LSB   0

The Least Significant Bit (LSB) position of the ALT_USB_HOST_HCCHAR10_MPS register field.

#define ALT_USB_HOST_HCCHAR10_MPS_MSB   10

The Most Significant Bit (MSB) position of the ALT_USB_HOST_HCCHAR10_MPS register field.

#define ALT_USB_HOST_HCCHAR10_MPS_WIDTH   11

The width in bits of the ALT_USB_HOST_HCCHAR10_MPS register field.

#define ALT_USB_HOST_HCCHAR10_MPS_SET_MSK   0x000007ff

The mask used to set the ALT_USB_HOST_HCCHAR10_MPS register field value.

#define ALT_USB_HOST_HCCHAR10_MPS_CLR_MSK   0xfffff800

The mask used to clear the ALT_USB_HOST_HCCHAR10_MPS register field value.

#define ALT_USB_HOST_HCCHAR10_MPS_RESET   0x0

The reset value of the ALT_USB_HOST_HCCHAR10_MPS register field.

#define ALT_USB_HOST_HCCHAR10_MPS_GET (   value)    (((value) & 0x000007ff) >> 0)

Extracts the ALT_USB_HOST_HCCHAR10_MPS field value from a register.

#define ALT_USB_HOST_HCCHAR10_MPS_SET (   value)    (((value) << 0) & 0x000007ff)

Produces a ALT_USB_HOST_HCCHAR10_MPS register field value suitable for setting the register.

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT0   0x0

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 0

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT1   0x1

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 1

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT2   0x2

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 2

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT3   0x3

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 3

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT4   0x4

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 4

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT5   0x5

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 5

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT6   0x6

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 6

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT7   0x7

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 7

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT8   0x8

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 8

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT9   0x9

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 9

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT10   0xa

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 10

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT11   0xb

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 11

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT12   0xc

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 12

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT13   0xd

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 13

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT14   0xe

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 14

#define ALT_USB_HOST_HCCHAR10_EPNUM_E_ENDPT15   0xf

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPNUM

End point 15

#define ALT_USB_HOST_HCCHAR10_EPNUM_LSB   11

The Least Significant Bit (LSB) position of the ALT_USB_HOST_HCCHAR10_EPNUM register field.

#define ALT_USB_HOST_HCCHAR10_EPNUM_MSB   14

The Most Significant Bit (MSB) position of the ALT_USB_HOST_HCCHAR10_EPNUM register field.

#define ALT_USB_HOST_HCCHAR10_EPNUM_WIDTH   4

The width in bits of the ALT_USB_HOST_HCCHAR10_EPNUM register field.

#define ALT_USB_HOST_HCCHAR10_EPNUM_SET_MSK   0x00007800

The mask used to set the ALT_USB_HOST_HCCHAR10_EPNUM register field value.

#define ALT_USB_HOST_HCCHAR10_EPNUM_CLR_MSK   0xffff87ff

The mask used to clear the ALT_USB_HOST_HCCHAR10_EPNUM register field value.

#define ALT_USB_HOST_HCCHAR10_EPNUM_RESET   0x0

The reset value of the ALT_USB_HOST_HCCHAR10_EPNUM register field.

#define ALT_USB_HOST_HCCHAR10_EPNUM_GET (   value)    (((value) & 0x00007800) >> 11)

Extracts the ALT_USB_HOST_HCCHAR10_EPNUM field value from a register.

#define ALT_USB_HOST_HCCHAR10_EPNUM_SET (   value)    (((value) << 11) & 0x00007800)

Produces a ALT_USB_HOST_HCCHAR10_EPNUM register field value suitable for setting the register.

#define ALT_USB_HOST_HCCHAR10_EPDIR_E_OUT   0x0

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPDIR

OUT Direction

#define ALT_USB_HOST_HCCHAR10_EPDIR_E_IN   0x1

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPDIR

IN Direction

#define ALT_USB_HOST_HCCHAR10_EPDIR_LSB   15

The Least Significant Bit (LSB) position of the ALT_USB_HOST_HCCHAR10_EPDIR register field.

#define ALT_USB_HOST_HCCHAR10_EPDIR_MSB   15

The Most Significant Bit (MSB) position of the ALT_USB_HOST_HCCHAR10_EPDIR register field.

#define ALT_USB_HOST_HCCHAR10_EPDIR_WIDTH   1

The width in bits of the ALT_USB_HOST_HCCHAR10_EPDIR register field.

#define ALT_USB_HOST_HCCHAR10_EPDIR_SET_MSK   0x00008000

The mask used to set the ALT_USB_HOST_HCCHAR10_EPDIR register field value.

#define ALT_USB_HOST_HCCHAR10_EPDIR_CLR_MSK   0xffff7fff

The mask used to clear the ALT_USB_HOST_HCCHAR10_EPDIR register field value.

#define ALT_USB_HOST_HCCHAR10_EPDIR_RESET   0x0

The reset value of the ALT_USB_HOST_HCCHAR10_EPDIR register field.

#define ALT_USB_HOST_HCCHAR10_EPDIR_GET (   value)    (((value) & 0x00008000) >> 15)

Extracts the ALT_USB_HOST_HCCHAR10_EPDIR field value from a register.

#define ALT_USB_HOST_HCCHAR10_EPDIR_SET (   value)    (((value) << 15) & 0x00008000)

Produces a ALT_USB_HOST_HCCHAR10_EPDIR register field value suitable for setting the register.

#define ALT_USB_HOST_HCCHAR10_LSPDDEV_E_DISD   0x0

Enumerated value for register field ALT_USB_HOST_HCCHAR10_LSPDDEV

Not Communicating with low speed device

#define ALT_USB_HOST_HCCHAR10_LSPDDEV_E_END   0x1

Enumerated value for register field ALT_USB_HOST_HCCHAR10_LSPDDEV

Communicating with low speed device

#define ALT_USB_HOST_HCCHAR10_LSPDDEV_LSB   17

The Least Significant Bit (LSB) position of the ALT_USB_HOST_HCCHAR10_LSPDDEV register field.

#define ALT_USB_HOST_HCCHAR10_LSPDDEV_MSB   17

The Most Significant Bit (MSB) position of the ALT_USB_HOST_HCCHAR10_LSPDDEV register field.

#define ALT_USB_HOST_HCCHAR10_LSPDDEV_WIDTH   1

The width in bits of the ALT_USB_HOST_HCCHAR10_LSPDDEV register field.

#define ALT_USB_HOST_HCCHAR10_LSPDDEV_SET_MSK   0x00020000

The mask used to set the ALT_USB_HOST_HCCHAR10_LSPDDEV register field value.

#define ALT_USB_HOST_HCCHAR10_LSPDDEV_CLR_MSK   0xfffdffff

The mask used to clear the ALT_USB_HOST_HCCHAR10_LSPDDEV register field value.

#define ALT_USB_HOST_HCCHAR10_LSPDDEV_RESET   0x0

The reset value of the ALT_USB_HOST_HCCHAR10_LSPDDEV register field.

#define ALT_USB_HOST_HCCHAR10_LSPDDEV_GET (   value)    (((value) & 0x00020000) >> 17)

Extracts the ALT_USB_HOST_HCCHAR10_LSPDDEV field value from a register.

#define ALT_USB_HOST_HCCHAR10_LSPDDEV_SET (   value)    (((value) << 17) & 0x00020000)

Produces a ALT_USB_HOST_HCCHAR10_LSPDDEV register field value suitable for setting the register.

#define ALT_USB_HOST_HCCHAR10_EPTYPE_E_CTL   0x0

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPTYPE

Control

#define ALT_USB_HOST_HCCHAR10_EPTYPE_E_ISOC   0x1

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPTYPE

Isochronous

#define ALT_USB_HOST_HCCHAR10_EPTYPE_E_BULK   0x2

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPTYPE

Bulk

#define ALT_USB_HOST_HCCHAR10_EPTYPE_E_INTERR   0x3

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EPTYPE

Interrupt

#define ALT_USB_HOST_HCCHAR10_EPTYPE_LSB   18

The Least Significant Bit (LSB) position of the ALT_USB_HOST_HCCHAR10_EPTYPE register field.

#define ALT_USB_HOST_HCCHAR10_EPTYPE_MSB   19

The Most Significant Bit (MSB) position of the ALT_USB_HOST_HCCHAR10_EPTYPE register field.

#define ALT_USB_HOST_HCCHAR10_EPTYPE_WIDTH   2

The width in bits of the ALT_USB_HOST_HCCHAR10_EPTYPE register field.

#define ALT_USB_HOST_HCCHAR10_EPTYPE_SET_MSK   0x000c0000

The mask used to set the ALT_USB_HOST_HCCHAR10_EPTYPE register field value.

#define ALT_USB_HOST_HCCHAR10_EPTYPE_CLR_MSK   0xfff3ffff

The mask used to clear the ALT_USB_HOST_HCCHAR10_EPTYPE register field value.

#define ALT_USB_HOST_HCCHAR10_EPTYPE_RESET   0x0

The reset value of the ALT_USB_HOST_HCCHAR10_EPTYPE register field.

#define ALT_USB_HOST_HCCHAR10_EPTYPE_GET (   value)    (((value) & 0x000c0000) >> 18)

Extracts the ALT_USB_HOST_HCCHAR10_EPTYPE field value from a register.

#define ALT_USB_HOST_HCCHAR10_EPTYPE_SET (   value)    (((value) << 18) & 0x000c0000)

Produces a ALT_USB_HOST_HCCHAR10_EPTYPE register field value suitable for setting the register.

#define ALT_USB_HOST_HCCHAR10_EC_E_RSVD   0x0

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EC

Reserved This field yields undefined result

#define ALT_USB_HOST_HCCHAR10_EC_E_TRANSONE   0x1

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EC

1 transaction

#define ALT_USB_HOST_HCCHAR10_EC_E_TRANSTWO   0x2

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EC

2 transactions to be issued for this endpoint per microframe

#define ALT_USB_HOST_HCCHAR10_EC_E_TRANSTHREE   0x3

Enumerated value for register field ALT_USB_HOST_HCCHAR10_EC

3 transactions to be issued for this endpoint per microframe

#define ALT_USB_HOST_HCCHAR10_EC_LSB   20

The Least Significant Bit (LSB) position of the ALT_USB_HOST_HCCHAR10_EC register field.

#define ALT_USB_HOST_HCCHAR10_EC_MSB   21

The Most Significant Bit (MSB) position of the ALT_USB_HOST_HCCHAR10_EC register field.

#define ALT_USB_HOST_HCCHAR10_EC_WIDTH   2

The width in bits of the ALT_USB_HOST_HCCHAR10_EC register field.

#define ALT_USB_HOST_HCCHAR10_EC_SET_MSK   0x00300000

The mask used to set the ALT_USB_HOST_HCCHAR10_EC register field value.

#define ALT_USB_HOST_HCCHAR10_EC_CLR_MSK   0xffcfffff

The mask used to clear the ALT_USB_HOST_HCCHAR10_EC register field value.

#define ALT_USB_HOST_HCCHAR10_EC_RESET   0x0

The reset value of the ALT_USB_HOST_HCCHAR10_EC register field.

#define ALT_USB_HOST_HCCHAR10_EC_GET (   value)    (((value) & 0x00300000) >> 20)

Extracts the ALT_USB_HOST_HCCHAR10_EC field value from a register.

#define ALT_USB_HOST_HCCHAR10_EC_SET (   value)    (((value) << 20) & 0x00300000)

Produces a ALT_USB_HOST_HCCHAR10_EC register field value suitable for setting the register.

#define ALT_USB_HOST_HCCHAR10_DEVADDR_LSB   22

The Least Significant Bit (LSB) position of the ALT_USB_HOST_HCCHAR10_DEVADDR register field.

#define ALT_USB_HOST_HCCHAR10_DEVADDR_MSB   28

The Most Significant Bit (MSB) position of the ALT_USB_HOST_HCCHAR10_DEVADDR register field.

#define ALT_USB_HOST_HCCHAR10_DEVADDR_WIDTH   7

The width in bits of the ALT_USB_HOST_HCCHAR10_DEVADDR register field.

#define ALT_USB_HOST_HCCHAR10_DEVADDR_SET_MSK   0x1fc00000

The mask used to set the ALT_USB_HOST_HCCHAR10_DEVADDR register field value.

#define ALT_USB_HOST_HCCHAR10_DEVADDR_CLR_MSK   0xe03fffff

The mask used to clear the ALT_USB_HOST_HCCHAR10_DEVADDR register field value.

#define ALT_USB_HOST_HCCHAR10_DEVADDR_RESET   0x0

The reset value of the ALT_USB_HOST_HCCHAR10_DEVADDR register field.

#define ALT_USB_HOST_HCCHAR10_DEVADDR_GET (   value)    (((value) & 0x1fc00000) >> 22)

Extracts the ALT_USB_HOST_HCCHAR10_DEVADDR field value from a register.

#define ALT_USB_HOST_HCCHAR10_DEVADDR_SET (   value)    (((value) << 22) & 0x1fc00000)

Produces a ALT_USB_HOST_HCCHAR10_DEVADDR register field value suitable for setting the register.

#define ALT_USB_HOST_HCCHAR10_ODDFRM_LSB   29

The Least Significant Bit (LSB) position of the ALT_USB_HOST_HCCHAR10_ODDFRM register field.

#define ALT_USB_HOST_HCCHAR10_ODDFRM_MSB   29

The Most Significant Bit (MSB) position of the ALT_USB_HOST_HCCHAR10_ODDFRM register field.

#define ALT_USB_HOST_HCCHAR10_ODDFRM_WIDTH   1

The width in bits of the ALT_USB_HOST_HCCHAR10_ODDFRM register field.

#define ALT_USB_HOST_HCCHAR10_ODDFRM_SET_MSK   0x20000000

The mask used to set the ALT_USB_HOST_HCCHAR10_ODDFRM register field value.

#define ALT_USB_HOST_HCCHAR10_ODDFRM_CLR_MSK   0xdfffffff

The mask used to clear the ALT_USB_HOST_HCCHAR10_ODDFRM register field value.

#define ALT_USB_HOST_HCCHAR10_ODDFRM_RESET   0x0

The reset value of the ALT_USB_HOST_HCCHAR10_ODDFRM register field.

#define ALT_USB_HOST_HCCHAR10_ODDFRM_GET (   value)    (((value) & 0x20000000) >> 29)

Extracts the ALT_USB_HOST_HCCHAR10_ODDFRM field value from a register.

#define ALT_USB_HOST_HCCHAR10_ODDFRM_SET (   value)    (((value) << 29) & 0x20000000)

Produces a ALT_USB_HOST_HCCHAR10_ODDFRM register field value suitable for setting the register.

#define ALT_USB_HOST_HCCHAR10_CHDIS_E_INACT   0x0

Enumerated value for register field ALT_USB_HOST_HCCHAR10_CHDIS

Transmit/Recieve normal

#define ALT_USB_HOST_HCCHAR10_CHDIS_E_ACT   0x1

Enumerated value for register field ALT_USB_HOST_HCCHAR10_CHDIS

Stop transmitting/receiving

#define ALT_USB_HOST_HCCHAR10_CHDIS_LSB   30

The Least Significant Bit (LSB) position of the ALT_USB_HOST_HCCHAR10_CHDIS register field.

#define ALT_USB_HOST_HCCHAR10_CHDIS_MSB   30

The Most Significant Bit (MSB) position of the ALT_USB_HOST_HCCHAR10_CHDIS register field.

#define ALT_USB_HOST_HCCHAR10_CHDIS_WIDTH   1

The width in bits of the ALT_USB_HOST_HCCHAR10_CHDIS register field.

#define ALT_USB_HOST_HCCHAR10_CHDIS_SET_MSK   0x40000000

The mask used to set the ALT_USB_HOST_HCCHAR10_CHDIS register field value.

#define ALT_USB_HOST_HCCHAR10_CHDIS_CLR_MSK   0xbfffffff

The mask used to clear the ALT_USB_HOST_HCCHAR10_CHDIS register field value.

#define ALT_USB_HOST_HCCHAR10_CHDIS_RESET   0x0

The reset value of the ALT_USB_HOST_HCCHAR10_CHDIS register field.

#define ALT_USB_HOST_HCCHAR10_CHDIS_GET (   value)    (((value) & 0x40000000) >> 30)

Extracts the ALT_USB_HOST_HCCHAR10_CHDIS field value from a register.

#define ALT_USB_HOST_HCCHAR10_CHDIS_SET (   value)    (((value) << 30) & 0x40000000)

Produces a ALT_USB_HOST_HCCHAR10_CHDIS register field value suitable for setting the register.

#define ALT_USB_HOST_HCCHAR10_CHENA_E_INACT   0x0

Enumerated value for register field ALT_USB_HOST_HCCHAR10_CHENA

Indicates that the descriptor structure is not yet ready

#define ALT_USB_HOST_HCCHAR10_CHENA_E_ACT   0x1

Enumerated value for register field ALT_USB_HOST_HCCHAR10_CHENA

Indicates that the descriptor structure and data buffer with data is setup and this channel can access the descriptor

#define ALT_USB_HOST_HCCHAR10_CHENA_LSB   31

The Least Significant Bit (LSB) position of the ALT_USB_HOST_HCCHAR10_CHENA register field.

#define ALT_USB_HOST_HCCHAR10_CHENA_MSB   31

The Most Significant Bit (MSB) position of the ALT_USB_HOST_HCCHAR10_CHENA register field.

#define ALT_USB_HOST_HCCHAR10_CHENA_WIDTH   1

The width in bits of the ALT_USB_HOST_HCCHAR10_CHENA register field.

#define ALT_USB_HOST_HCCHAR10_CHENA_SET_MSK   0x80000000

The mask used to set the ALT_USB_HOST_HCCHAR10_CHENA register field value.

#define ALT_USB_HOST_HCCHAR10_CHENA_CLR_MSK   0x7fffffff

The mask used to clear the ALT_USB_HOST_HCCHAR10_CHENA register field value.

#define ALT_USB_HOST_HCCHAR10_CHENA_RESET   0x0

The reset value of the ALT_USB_HOST_HCCHAR10_CHENA register field.

#define ALT_USB_HOST_HCCHAR10_CHENA_GET (   value)    (((value) & 0x80000000) >> 31)

Extracts the ALT_USB_HOST_HCCHAR10_CHENA field value from a register.

#define ALT_USB_HOST_HCCHAR10_CHENA_SET (   value)    (((value) << 31) & 0x80000000)

Produces a ALT_USB_HOST_HCCHAR10_CHENA register field value suitable for setting the register.

#define ALT_USB_HOST_HCCHAR10_RESET   0x00000000

The reset value of the ALT_USB_HOST_HCCHAR10 register.

#define ALT_USB_HOST_HCCHAR10_OFST   0x240

The byte offset of the ALT_USB_HOST_HCCHAR10 register from the beginning of the component.

#define ALT_USB_HOST_HCCHAR10_ADDR (   base)    ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_HOST_HCCHAR10_OFST))

The address of the ALT_USB_HOST_HCCHAR10 register.

Typedef Documentation

The typedef declaration for register ALT_USB_HOST_HCCHAR10.