You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ The services are DIM RPC services. Every RPC is called with a string and expects
79
79
* Sequence of SCA operations as follows:
80
80
* Operations may be:
81
81
* An SCA command and data pair (e.g. `0x0000f00d,0x0000cafe`)
82
-
* A wait operation (e.g. `30,wait`)
82
+
* A wait operation (e.g. `30,wait`) in ms, defaults to 3
83
83
* An instruction to execute the sequence atomically (`lock` - needs to lead the sequence)
84
84
* Returns:
85
85
* Sequence of SCA command and SCA read pairs, and wait confirmations
@@ -97,12 +97,14 @@ The services are DIM RPC services. Every RPC is called with a string and expects
97
97
*`write` with SWT prefix (e.g. `0x0000f00d,write`)
98
98
*`reset` (without SWT word)
99
99
*`read` with optional TimeOut prefix (e.g. `2,read`)
100
+
*`wait` with optional WaitTime prefix in ms (e.g. `5,wait`), defaults to 3
100
101
*`lock` which instructs ALF to execute the sequence atomically (needs to lead the sequence)
101
102
* Returns:
102
103
* Sequence of SWT output as follows:
103
104
*`write` always retuns `0`
104
105
*`read` returns the SWT words present in the CRU SWT FIFO
105
106
*`reset` returns nothing
107
+
*`wait` returns time waited
106
108
*`lock` returns nothing
107
109
108
110
* Example:
@@ -218,7 +220,7 @@ All the above offer **no implicit locking** and should be manually locked throug
218
220
### Sequences of operations
219
221
All SC classes offer a function to execute a sequence of their respective operations. This function receives an `std::vector`, consisting of an `std::pair` made up of the compatible SC operation and SC data, as these are defined in their headers.
220
222
221
-
For example, `SWT` offers `Read, Writeand Reset` operations which expect a `TimeOut`, an `SwtWord` and no argument, respectively.
223
+
For example, `SWT` offers `Read, Write, Wait, and Reset` operations which expect a `TimeOut`, an `SwtWord`, a `WaitTime`, and no argument, respectively.
0 commit comments