Skip to content

Commit

Permalink
usb_device.rst incorrect UVM for REG_INTERRUPT
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmiles committed Aug 25, 2023
1 parent c549d23 commit fa08ad0
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions source/SpinalHDL/Libraries/Com/usb_device.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,23 +81,24 @@ finalise the SET_ADDRESS sequance. The controller will then automaticaly turn on
INTERRUPT (0xFF08)
**********************

All bits of this register can be cleared by writing '1' in them.

+--------------+------+-----------+------------------------------------------------------------------+
| Name | Type | Bits | Description |
+==============+======+===========+==================================================================+
| endpoints | RC | 15-0 | Raised when an endpoint generates an interrupt |
+--------------+------+-----------+------------------------------------------------------------------+
| reset | RC | 16 | Raised when a USB reset occurs |
+--------------+------+-----------+------------------------------------------------------------------+
| ep0Setup | RC | 17 | Raised when endpoint 0 receives a setup transaction |
+--------------+------+-----------+------------------------------------------------------------------+
| suspend | RC | 18 | Raised when a USB suspend occurs |
+--------------+------+-----------+------------------------------------------------------------------+
| resume | RC | 19 | Raised when a USB resume occurs |
+--------------+------+-----------+------------------------------------------------------------------+
| disconnect | RC | 20 | Raised when a USB disconnect occurs |
+--------------+------+-----------+------------------------------------------------------------------+
Individual bits of this register can be cleared by writing '1' in them.
Reading this register returns the current interrupt status.

+--------------+-------+-----------+------------------------------------------------------------------+
| Name | Type | Bits | Description |
+==============+=======+===========+==================================================================+
| endpoints | W1C | 15-0 | Raised when an endpoint generates an interrupt |
+--------------+-------+-----------+------------------------------------------------------------------+
| reset | W1C | 16 | Raised when a USB reset occurs |
+--------------+-------+-----------+------------------------------------------------------------------+
| ep0Setup | W1C | 17 | Raised when endpoint 0 receives a setup transaction |
+--------------+-------+-----------+------------------------------------------------------------------+
| suspend | W1C | 18 | Raised when a USB suspend occurs |
+--------------+-------+-----------+------------------------------------------------------------------+
| resume | W1C | 19 | Raised when a USB resume occurs |
+--------------+-------+-----------+------------------------------------------------------------------+
| disconnect | W1C | 20 | Raised when a USB disconnect occurs |
+--------------+-------+-----------+------------------------------------------------------------------+

HALT (0xFF0C)
**********************
Expand Down

0 comments on commit fa08ad0

Please sign in to comment.