原创 HcInterruptStatus Register

2010-11-29 13:53 1209 5 5 分类: MCU/ 嵌入式

This register provides status on various events that cause hardware interrupts.  When an event occurs, Host Controller sets the corresponding bit in this register.  When a bit becomes set, a hardware interrupt is generated if the interrupt is enabled in the HcInterruptEnable register (see Section 7.1.5) and the MasterInterruptEnable bit is set.  The Host Controller Driver may clear specific bits in this register by writing ‘1’ to bit positions to be cleared.  The Host Controller Driver may not set any of these bits.  The Host Controller will never clear the bit.



 


 




3


3


2


 


 


0


0


0


0


0


0


0


0


1


0


9


 


 


7


6


5


4


3


2


1


0


0


O


C


reserved



 


R


H


S


C


F


N


O


U


E


R


D


S


F


W


D


H


S


O


Figure 7-4: HcInterruptStatus Register


 




 


 


Read/Write


 


Key


Reset


HCD


HC


Description


SO


0b


R/W


R/W


SchedulingOverrun


This bit is set when the USB schedule for the current Frame overruns and after the update of HccaFrameNumber.  A scheduling overrun will also cause the SchedulingOverrunCount of HcCommandStatus to be incremented.


WDH


0b


R/W


R/W


WritebackDoneHead


This bit is set immediately after HC has written HcDoneHead to HccaDoneHead.  Further updates of the HccaDoneHead will not occur until this bit has been cleared.  HCD should only clear this bit after it has saved the content of HccaDoneHead.


SF


0b


R/W


R/W


StartofFrame


This bit is set by HC at each start of a frame and after the update of HccaFrameNumber.  HC also generates a SOF token at the same time.


RD


0b


R/W


R/W


ResumeDetected


This bit is set when HC detects that a device on the USB is asserting resume signaling.  It is the transition from no resume signaling to resume signaling causing this bit to be set.  This bit is not set when HCD sets the UsbResume state.


UE


0b


R/W


R/W


UnrecoverableError


This bit is set when HC detects a system error not related to USB.  HC should not proceed with any processing nor signaling before the system error has been corrected.  HCD clears this bit after HC has been reset.


FNO


0b


R/W


R/W


FrameNumberOverflow


This bit is set when the MSb of HcFmNumber (bit 15) changes value, from 0 to 1 or from 1 to 0, and after HccaFrameNumber has been updated.


RHSC


0b


R/W


R/W


RootHubStatusChange


This bit is set when the content of HcRhStatus or the content of any of HcRhPortStatus[NumberofDownstreamPort] has changed.


OC


0b


R/W


R/W


OwnershipChange


This bit is set by HC when HCD sets the OwnershipChangeRequest field in HcCommandStatus.  This event, when unmasked, will always generate an System Management Interrupt (SMI) immediately.


This bit is tied to 0b when the SMI pin is not implemented.

PARTNER CONTENT

文章评论0条评论)

登录后参与讨论
EE直播间
更多
我要评论
0
5
关闭 站长推荐上一条 /3 下一条