Selaa lähdekoodia

cores/usb: Documentation formatting fixes

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Sylvain Munaut 5 vuotta sitten
vanhempi
commit
82324620f8
1 muutettua tiedostoa jossa 30 lisäystä ja 30 poistoa
  1. 30 30
      cores/usb/doc/mem-map.md

+ 30 - 30
cores/usb/doc/mem-map.md

@@ -52,11 +52,11 @@ the core configuration.
 Count mode (`EVENT_DEPTH = 0/1`) :
 
 ```
-,--------------------------------------------------------------,
-| f | e | d | c | b | a | 9 | 8| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
-|--------------------------------------------------------------|
-|      cnt      |                 event                        |
-'--------------------------------------------------------------'
+,---------------------------------------------------------------,
+| f | e | d | c | b | a | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
+|---------------------------------------------------------------|
+|      cnt      |                 event                         |
+'---------------------------------------------------------------'
 ```
 
   * `cnt`: Counter of events since last read
@@ -66,11 +66,11 @@ Count mode (`EVENT_DEPTH = 0/1`) :
 FIFO mode (`EVENT_DEPTH > 1`) :
 
 ```
-,--------------------------------------------------------------,
-| f | e | d | c | b | a | 9 | 8| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
-|--------------------------------------------------------------|
-| v | o |  rsvd |                 event                        |
-'--------------------------------------------------------------'
+,---------------------------------------------------------------,
+| f | e | d | c | b | a | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
+|---------------------------------------------------------------|
+| v | o |  rsvd |                 event                         |
+'---------------------------------------------------------------'
 ```
 
   * `v`: Valid (i.e. FIFO is not empty and `event` is valid)
@@ -81,11 +81,11 @@ FIFO mode (`EVENT_DEPTH > 1`) :
 Event format:
 
 ```
-,----------------------------------------------,
-| b | a | 9 | 8| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
-|----------------------------------------------|
-|     ucnc     |      endp     | d | s | b | / |
-'----------------------------------------------'
+,-----------------------------------------------,
+| b | a | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
+|-----------------------------------------------|
+|     ucnc      |      endp     | d | s | b | / |
+'-----------------------------------------------'
 ```
 
   * `ucnc`: Notification code
@@ -112,11 +112,11 @@ EP Status
 ### Data:
 
 ```
-,--------------------------------------------------------------,
-| f | e | d | c | b | a | 9 | 8| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
-|--------------------------------------------------------------|
-|                              | t | b |  bdm  |   |  EP type  |
-'--------------------------------------------------------------'
+,---------------------------------------------------------------,
+| f | e | d | c | b | a | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
+|---------------------------------------------------------------|
+|                               | t | b |  bdm  |   |  EP type  |
+'---------------------------------------------------------------'
 ```
 
   * `t`: Data Toggle (if relevant for EP type)
@@ -153,11 +153,11 @@ Buffer Descriptor
 ### Word 0:
 
 ```
-,--------------------------------------------------------------,
-| f | e | d | c | b | a | 9 | 8| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
-|--------------------------------------------------------------|
-|   state   | s |  rsvd |          Buffer Length               |
-'--------------------------------------------------------------'
+,---------------------------------------------------------------,
+| f | e | d | c | b | a | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
+|---------------------------------------------------------------|
+|   state   | s |  rsvd |           Buffer Length               |
+'---------------------------------------------------------------'
 ```
 
   * `s`: Transactions was setup
@@ -172,9 +172,9 @@ Buffer Descriptor
 ### Word 1:
 
 ```
-,--------------------------------------------------------------,
-| f | e | d | c | b | a | 9 | 8| 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
-|--------------------------------------------------------------|
-|       (rsvd)      |             Buffer Pointer               |
-'--------------------------------------------------------------'
+,---------------------------------------------------------------,
+| f | e | d | c | b | a | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
+|---------------------------------------------------------------|
+|       (rsvd)      |             Buffer Pointer                |
+'---------------------------------------------------------------'
 ```