GEVNTCOUNT_0 (USB3_XHCI) Register

Zynq UltraScale+ Devices Register Reference (UG1087)

Document ID
UG1087
Release Date
2024-03-13
Revision
1.10

GEVNTCOUNT_0 (USB3_XHCI) Register Description

Register NameGEVNTCOUNT_0
Offset Address0x000000C40C
Absolute Address 0x00FE20C40C (USB3_0_XHCI)
0x00FE30C40C (USB3_1_XHCI)
Width32
TypemixedMixed types. See bit-field details.
Reset Value0x00000000
DescriptionGlobal Event Buffer Count Register
This register holds the number of valid bytes in the Event Buffer. During initialization, software must initialize the count by writing 0 to the Event Count field. Each time the hardware writes a new event to the Event Buffer, it increments this count. Most events are four bytes, but some events may span over multiple four byte entries. Whenever the count is greater than zero, the hardware raises the corresponding interrupt line (depending on the EvntIntMask bit in the GEVNTSIZn register). On an interrupt, software processes one or more events out of the Event Buffer. Afterwards, software must write the Event Count field with the number of bytes it processed.
Clock crossing delays may result in the interrupts continual assertion after software acknowledges the last event. Therefore, when the interrupt line is asserted, software must read the GEVNTCOUNT register and only process events if the GEVNTCOUNT is greater than 0. Instance 0 of an array of 4.

GEVNTCOUNT_0 (USB3_XHCI) Register Bit-Field Summary

Field NameBitsTypeReset ValueDescription
Reserved31:16roRead-only0x0Reserved
EVNTCOUNT15:0rwNormal read/write0x0Event Count (EVNTCount)
When read, returns the number of valid events in the Event Buffer (in bytes).
When written, hardware decrements the count by the value written.
The interrupt line remains high when count is not 0.