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

Description

PHY Vendor Control Register

Register Layout

Bits Access Reset Description
[7:0] RW 0x0 ALT_USB_GLOB_GPVNDCTL_REGDATA
[15:8] RW 0x0 ALT_USB_GLOB_GPVNDCTL_VCTL
[21:16] RW 0x0 ALT_USB_GLOB_GPVNDCTL_REGADDR
[22] RW 0x0 ALT_USB_GLOB_GPVNDCTL_REGWR
[24:23] ??? 0x0 UNDEFINED
[25] R-W once 0x0 ALT_USB_GLOB_GPVNDCTL_NEWREGREQ
[26] R 0x0 ALT_USB_GLOB_GPVNDCTL_VSTSBSY
[27] RW 0x0 ALT_USB_GLOB_GPVNDCTL_VSTSDONE
[30:28] ??? 0x0 UNDEFINED
[31] R-W once 0x0 ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR

Field : regdata

Register Data (RegData)

Contains the write data For register write. Read data For

register read, valid when VStatus Done is Set.

Field Access Macros:

#define ALT_USB_GLOB_GPVNDCTL_REGDATA_LSB   0
 
#define ALT_USB_GLOB_GPVNDCTL_REGDATA_MSB   7
 
#define ALT_USB_GLOB_GPVNDCTL_REGDATA_WIDTH   8
 
#define ALT_USB_GLOB_GPVNDCTL_REGDATA_SET_MSK   0x000000ff
 
#define ALT_USB_GLOB_GPVNDCTL_REGDATA_CLR_MSK   0xffffff00
 
#define ALT_USB_GLOB_GPVNDCTL_REGDATA_RESET   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_REGDATA_GET(value)   (((value) & 0x000000ff) >> 0)
 
#define ALT_USB_GLOB_GPVNDCTL_REGDATA_SET(value)   (((value) << 0) & 0x000000ff)
 

Field : vctrl

UTMI+ Vendor Control Register Address (VCtrl)

The 4-bit register address a vendor defined 4-bit parallel

output bus. Bits 11:8 of this field are placed on

utmi_vcontrol[3:0].

ULPI Extended Register Address (ExtRegAddr)

The 6-bit PHY extended register address.

Field Access Macros:

#define ALT_USB_GLOB_GPVNDCTL_VCTL_LSB   8
 
#define ALT_USB_GLOB_GPVNDCTL_VCTL_MSB   15
 
#define ALT_USB_GLOB_GPVNDCTL_VCTL_WIDTH   8
 
#define ALT_USB_GLOB_GPVNDCTL_VCTL_SET_MSK   0x0000ff00
 
#define ALT_USB_GLOB_GPVNDCTL_VCTL_CLR_MSK   0xffff00ff
 
#define ALT_USB_GLOB_GPVNDCTL_VCTL_RESET   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_VCTL_GET(value)   (((value) & 0x0000ff00) >> 8)
 
#define ALT_USB_GLOB_GPVNDCTL_VCTL_SET(value)   (((value) << 8) & 0x0000ff00)
 

Field : regaddr

Register Address (RegAddr)

The 6-bit PHY register address For immediate PHY Register

Set access. Set to 6'h2F For Extended PHY Register Set

access.

Field Access Macros:

#define ALT_USB_GLOB_GPVNDCTL_REGADDR_LSB   16
 
#define ALT_USB_GLOB_GPVNDCTL_REGADDR_MSB   21
 
#define ALT_USB_GLOB_GPVNDCTL_REGADDR_WIDTH   6
 
#define ALT_USB_GLOB_GPVNDCTL_REGADDR_SET_MSK   0x003f0000
 
#define ALT_USB_GLOB_GPVNDCTL_REGADDR_CLR_MSK   0xffc0ffff
 
#define ALT_USB_GLOB_GPVNDCTL_REGADDR_RESET   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_REGADDR_GET(value)   (((value) & 0x003f0000) >> 16)
 
#define ALT_USB_GLOB_GPVNDCTL_REGADDR_SET(value)   (((value) << 16) & 0x003f0000)
 

Field : regwr

Register Write (RegWr)

Set this bit For register writes, and clear it For register reads.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GPVNDCTL_REGWR_E_RD 0x0 Register Write
ALT_USB_GLOB_GPVNDCTL_REGWR_E_WR 0x1 Register Write

Field Access Macros:

#define ALT_USB_GLOB_GPVNDCTL_REGWR_E_RD   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_REGWR_E_WR   0x1
 
#define ALT_USB_GLOB_GPVNDCTL_REGWR_LSB   22
 
#define ALT_USB_GLOB_GPVNDCTL_REGWR_MSB   22
 
#define ALT_USB_GLOB_GPVNDCTL_REGWR_WIDTH   1
 
#define ALT_USB_GLOB_GPVNDCTL_REGWR_SET_MSK   0x00400000
 
#define ALT_USB_GLOB_GPVNDCTL_REGWR_CLR_MSK   0xffbfffff
 
#define ALT_USB_GLOB_GPVNDCTL_REGWR_RESET   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_REGWR_GET(value)   (((value) & 0x00400000) >> 22)
 
#define ALT_USB_GLOB_GPVNDCTL_REGWR_SET(value)   (((value) << 22) & 0x00400000)
 

Field : newregreq

New Register Request (NewRegReq)

The application sets this bit For a new vendor control

access.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_E_INACT 0x0 New Register Request not active
ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_E_ACT 0x1 New Register Request active

Field Access Macros:

#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_E_INACT   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_E_ACT   0x1
 
#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_LSB   25
 
#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_MSB   25
 
#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_WIDTH   1
 
#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_SET_MSK   0x02000000
 
#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_CLR_MSK   0xfdffffff
 
#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_RESET   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_GET(value)   (((value) & 0x02000000) >> 25)
 
#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_SET(value)   (((value) << 25) & 0x02000000)
 

Field : vstsbsy

VStatus Busy (VStsBsy)

The core sets this bit when the vendor control access is in

progress and clears this bit when done.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GPVNDCTL_VSTSBSY_E_INACT 0x0 VStatus Busy inactive
ALT_USB_GLOB_GPVNDCTL_VSTSBSY_E_ACT 0x1 VStatus Busy active

Field Access Macros:

#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_E_INACT   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_E_ACT   0x1
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_LSB   26
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_MSB   26
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_WIDTH   1
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_SET_MSK   0x04000000
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_CLR_MSK   0xfbffffff
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_RESET   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_GET(value)   (((value) & 0x04000000) >> 26)
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_SET(value)   (((value) << 26) & 0x04000000)
 

Field : vstsdone

VStatus Done (VStsDone)

The core sets this bit when the vendor control access is

done.

This bit is cleared by the core when the application sets the

New Register Request bit (bit 25).

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GPVNDCTL_VSTSDONE_E_INACT 0x0 VStatus Done inactive
ALT_USB_GLOB_GPVNDCTL_VSTSDONE_E_ACT 0x1 VStatus Done active

Field Access Macros:

#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_E_INACT   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_E_ACT   0x1
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_LSB   27
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_MSB   27
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_WIDTH   1
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_SET_MSK   0x08000000
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_CLR_MSK   0xf7ffffff
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_RESET   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_GET(value)   (((value) & 0x08000000) >> 27)
 
#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_SET(value)   (((value) << 27) & 0x08000000)
 

Field : disulpidrvr

Disable ULPI Drivers (DisUlpiDrvr)

The application sets this bit when it has finished processing

the ULPI Carkit Interrupt (GINTSTS.ULPICKINT). When

Set, the DWC_otg core disables drivers For output signals

and masks input signal For the ULPI interface. DWC_otg

clears this bit before enabling the ULPI interface.

Field Enumeration Values:

Enum Value Description
ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_E_END 0x0 ULPI ouput signals
ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_E_DISD 0x1 Disable ULPI ouput signals

Field Access Macros:

#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_E_END   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_E_DISD   0x1
 
#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_LSB   31
 
#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_MSB   31
 
#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_WIDTH   1
 
#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_SET_MSK   0x80000000
 
#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_CLR_MSK   0x7fffffff
 
#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_RESET   0x0
 
#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_GET(value)   (((value) & 0x80000000) >> 31)
 
#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_SET(value)   (((value) << 31) & 0x80000000)
 

Data Structures

struct  ALT_USB_GLOB_GPVNDCTL_s
 

Macros

#define ALT_USB_GLOB_GPVNDCTL_RESET   0x00000000
 
#define ALT_USB_GLOB_GPVNDCTL_OFST   0x34
 
#define ALT_USB_GLOB_GPVNDCTL_ADDR(base)   ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GPVNDCTL_OFST))
 

Typedefs

typedef struct
ALT_USB_GLOB_GPVNDCTL_s 
ALT_USB_GLOB_GPVNDCTL_t
 

Data Structure Documentation

struct ALT_USB_GLOB_GPVNDCTL_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_GLOB_GPVNDCTL.

Data Fields
uint32_t regdata: 8 ALT_USB_GLOB_GPVNDCTL_REGDATA
uint32_t vctrl: 8 ALT_USB_GLOB_GPVNDCTL_VCTL
uint32_t regaddr: 6 ALT_USB_GLOB_GPVNDCTL_REGADDR
uint32_t regwr: 1 ALT_USB_GLOB_GPVNDCTL_REGWR
uint32_t __pad0__: 2 UNDEFINED
uint32_t newregreq: 1 ALT_USB_GLOB_GPVNDCTL_NEWREGREQ
const uint32_t vstsbsy: 1 ALT_USB_GLOB_GPVNDCTL_VSTSBSY
uint32_t vstsdone: 1 ALT_USB_GLOB_GPVNDCTL_VSTSDONE
uint32_t __pad1__: 3 UNDEFINED
uint32_t disulpidrvr: 1 ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR

Macro Definitions

#define ALT_USB_GLOB_GPVNDCTL_REGDATA_LSB   0

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

#define ALT_USB_GLOB_GPVNDCTL_REGDATA_MSB   7

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

#define ALT_USB_GLOB_GPVNDCTL_REGDATA_WIDTH   8

The width in bits of the ALT_USB_GLOB_GPVNDCTL_REGDATA register field.

#define ALT_USB_GLOB_GPVNDCTL_REGDATA_SET_MSK   0x000000ff

The mask used to set the ALT_USB_GLOB_GPVNDCTL_REGDATA register field value.

#define ALT_USB_GLOB_GPVNDCTL_REGDATA_CLR_MSK   0xffffff00

The mask used to clear the ALT_USB_GLOB_GPVNDCTL_REGDATA register field value.

#define ALT_USB_GLOB_GPVNDCTL_REGDATA_RESET   0x0

The reset value of the ALT_USB_GLOB_GPVNDCTL_REGDATA register field.

#define ALT_USB_GLOB_GPVNDCTL_REGDATA_GET (   value)    (((value) & 0x000000ff) >> 0)

Extracts the ALT_USB_GLOB_GPVNDCTL_REGDATA field value from a register.

#define ALT_USB_GLOB_GPVNDCTL_REGDATA_SET (   value)    (((value) << 0) & 0x000000ff)

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

#define ALT_USB_GLOB_GPVNDCTL_VCTL_LSB   8

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

#define ALT_USB_GLOB_GPVNDCTL_VCTL_MSB   15

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

#define ALT_USB_GLOB_GPVNDCTL_VCTL_WIDTH   8

The width in bits of the ALT_USB_GLOB_GPVNDCTL_VCTL register field.

#define ALT_USB_GLOB_GPVNDCTL_VCTL_SET_MSK   0x0000ff00

The mask used to set the ALT_USB_GLOB_GPVNDCTL_VCTL register field value.

#define ALT_USB_GLOB_GPVNDCTL_VCTL_CLR_MSK   0xffff00ff

The mask used to clear the ALT_USB_GLOB_GPVNDCTL_VCTL register field value.

#define ALT_USB_GLOB_GPVNDCTL_VCTL_RESET   0x0

The reset value of the ALT_USB_GLOB_GPVNDCTL_VCTL register field.

#define ALT_USB_GLOB_GPVNDCTL_VCTL_GET (   value)    (((value) & 0x0000ff00) >> 8)

Extracts the ALT_USB_GLOB_GPVNDCTL_VCTL field value from a register.

#define ALT_USB_GLOB_GPVNDCTL_VCTL_SET (   value)    (((value) << 8) & 0x0000ff00)

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

#define ALT_USB_GLOB_GPVNDCTL_REGADDR_LSB   16

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

#define ALT_USB_GLOB_GPVNDCTL_REGADDR_MSB   21

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

#define ALT_USB_GLOB_GPVNDCTL_REGADDR_WIDTH   6

The width in bits of the ALT_USB_GLOB_GPVNDCTL_REGADDR register field.

#define ALT_USB_GLOB_GPVNDCTL_REGADDR_SET_MSK   0x003f0000

The mask used to set the ALT_USB_GLOB_GPVNDCTL_REGADDR register field value.

#define ALT_USB_GLOB_GPVNDCTL_REGADDR_CLR_MSK   0xffc0ffff

The mask used to clear the ALT_USB_GLOB_GPVNDCTL_REGADDR register field value.

#define ALT_USB_GLOB_GPVNDCTL_REGADDR_RESET   0x0

The reset value of the ALT_USB_GLOB_GPVNDCTL_REGADDR register field.

#define ALT_USB_GLOB_GPVNDCTL_REGADDR_GET (   value)    (((value) & 0x003f0000) >> 16)

Extracts the ALT_USB_GLOB_GPVNDCTL_REGADDR field value from a register.

#define ALT_USB_GLOB_GPVNDCTL_REGADDR_SET (   value)    (((value) << 16) & 0x003f0000)

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

#define ALT_USB_GLOB_GPVNDCTL_REGWR_E_RD   0x0

Enumerated value for register field ALT_USB_GLOB_GPVNDCTL_REGWR

Register Write

#define ALT_USB_GLOB_GPVNDCTL_REGWR_E_WR   0x1

Enumerated value for register field ALT_USB_GLOB_GPVNDCTL_REGWR

Register Write

#define ALT_USB_GLOB_GPVNDCTL_REGWR_LSB   22

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

#define ALT_USB_GLOB_GPVNDCTL_REGWR_MSB   22

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

#define ALT_USB_GLOB_GPVNDCTL_REGWR_WIDTH   1

The width in bits of the ALT_USB_GLOB_GPVNDCTL_REGWR register field.

#define ALT_USB_GLOB_GPVNDCTL_REGWR_SET_MSK   0x00400000

The mask used to set the ALT_USB_GLOB_GPVNDCTL_REGWR register field value.

#define ALT_USB_GLOB_GPVNDCTL_REGWR_CLR_MSK   0xffbfffff

The mask used to clear the ALT_USB_GLOB_GPVNDCTL_REGWR register field value.

#define ALT_USB_GLOB_GPVNDCTL_REGWR_RESET   0x0

The reset value of the ALT_USB_GLOB_GPVNDCTL_REGWR register field.

#define ALT_USB_GLOB_GPVNDCTL_REGWR_GET (   value)    (((value) & 0x00400000) >> 22)

Extracts the ALT_USB_GLOB_GPVNDCTL_REGWR field value from a register.

#define ALT_USB_GLOB_GPVNDCTL_REGWR_SET (   value)    (((value) << 22) & 0x00400000)

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

#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GPVNDCTL_NEWREGREQ

New Register Request not active

#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GPVNDCTL_NEWREGREQ

New Register Request active

#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_LSB   25

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

#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_MSB   25

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

#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_WIDTH   1

The width in bits of the ALT_USB_GLOB_GPVNDCTL_NEWREGREQ register field.

#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_SET_MSK   0x02000000

The mask used to set the ALT_USB_GLOB_GPVNDCTL_NEWREGREQ register field value.

#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_CLR_MSK   0xfdffffff

The mask used to clear the ALT_USB_GLOB_GPVNDCTL_NEWREGREQ register field value.

#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_RESET   0x0

The reset value of the ALT_USB_GLOB_GPVNDCTL_NEWREGREQ register field.

#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_GET (   value)    (((value) & 0x02000000) >> 25)

Extracts the ALT_USB_GLOB_GPVNDCTL_NEWREGREQ field value from a register.

#define ALT_USB_GLOB_GPVNDCTL_NEWREGREQ_SET (   value)    (((value) << 25) & 0x02000000)

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

#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GPVNDCTL_VSTSBSY

VStatus Busy inactive

#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GPVNDCTL_VSTSBSY

VStatus Busy active

#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_LSB   26

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

#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_MSB   26

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

#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_WIDTH   1

The width in bits of the ALT_USB_GLOB_GPVNDCTL_VSTSBSY register field.

#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_SET_MSK   0x04000000

The mask used to set the ALT_USB_GLOB_GPVNDCTL_VSTSBSY register field value.

#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_CLR_MSK   0xfbffffff

The mask used to clear the ALT_USB_GLOB_GPVNDCTL_VSTSBSY register field value.

#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_RESET   0x0

The reset value of the ALT_USB_GLOB_GPVNDCTL_VSTSBSY register field.

#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_GET (   value)    (((value) & 0x04000000) >> 26)

Extracts the ALT_USB_GLOB_GPVNDCTL_VSTSBSY field value from a register.

#define ALT_USB_GLOB_GPVNDCTL_VSTSBSY_SET (   value)    (((value) << 26) & 0x04000000)

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

#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_E_INACT   0x0

Enumerated value for register field ALT_USB_GLOB_GPVNDCTL_VSTSDONE

VStatus Done inactive

#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_E_ACT   0x1

Enumerated value for register field ALT_USB_GLOB_GPVNDCTL_VSTSDONE

VStatus Done active

#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_LSB   27

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

#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_MSB   27

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

#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_WIDTH   1

The width in bits of the ALT_USB_GLOB_GPVNDCTL_VSTSDONE register field.

#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_SET_MSK   0x08000000

The mask used to set the ALT_USB_GLOB_GPVNDCTL_VSTSDONE register field value.

#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_CLR_MSK   0xf7ffffff

The mask used to clear the ALT_USB_GLOB_GPVNDCTL_VSTSDONE register field value.

#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_RESET   0x0

The reset value of the ALT_USB_GLOB_GPVNDCTL_VSTSDONE register field.

#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_GET (   value)    (((value) & 0x08000000) >> 27)

Extracts the ALT_USB_GLOB_GPVNDCTL_VSTSDONE field value from a register.

#define ALT_USB_GLOB_GPVNDCTL_VSTSDONE_SET (   value)    (((value) << 27) & 0x08000000)

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

#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_E_END   0x0

Enumerated value for register field ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR

ULPI ouput signals

#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_E_DISD   0x1

Enumerated value for register field ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR

Disable ULPI ouput signals

#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_LSB   31

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

#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_MSB   31

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

#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_WIDTH   1

The width in bits of the ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR register field.

#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_SET_MSK   0x80000000

The mask used to set the ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR register field value.

#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_CLR_MSK   0x7fffffff

The mask used to clear the ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR register field value.

#define ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR_RESET   0x0

The reset value of the ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR register field.

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

Extracts the ALT_USB_GLOB_GPVNDCTL_DISULPIDRVR field value from a register.

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

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

#define ALT_USB_GLOB_GPVNDCTL_RESET   0x00000000

The reset value of the ALT_USB_GLOB_GPVNDCTL register.

#define ALT_USB_GLOB_GPVNDCTL_OFST   0x34

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

#define ALT_USB_GLOB_GPVNDCTL_ADDR (   base)    ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_USB_GLOB_GPVNDCTL_OFST))

The address of the ALT_USB_GLOB_GPVNDCTL register.

Typedef Documentation

The typedef declaration for register ALT_USB_GLOB_GPVNDCTL.