Treehopper C# API
|
A parallel interface that can read and write data More...
Public Member Functions | |
Task< ushort[]> | ReadCommandAsync (uint command, int length) |
Read one or more words from the command register More... | |
Task< ushort[]> | ReadDataAsync (int length) |
Read one or more words from the data register More... | |
Task | WriteCommandAsync (uint[] command) |
Write one or more bytes to the command register More... | |
Task | WriteDataAsync (uint[] data) |
Write one or more bytes to the data register More... | |
Properties | |
bool | Enabled [get, set] |
Gets or sets whether the bus is enabled More... | |
int | DelayMicroseconds [get, set] |
The minimum number of microseconds to delay between each word write. More... | |
int | Width [get] |
Gets the width of the bus More... | |
A parallel interface that can read and write data
Task<ushort[]> ReadCommandAsync | ( | uint | command, |
int | length | ||
) |
Read one or more words from the command register
command | The command to write before reading |
length | The number of words to read |
Implemented in ParallelInterface.
Task<ushort[]> ReadDataAsync | ( | int | length | ) |
Read one or more words from the data register
length | The number of words to read |
Implemented in ParallelInterface.
|
inherited |
Write one or more bytes to the command register
command | The command data to write |
Implemented in FlushableParallelInterface< T >, and ParallelInterface.
|
inherited |
Write one or more bytes to the data register
data | The data to write |
Implemented in FlushableParallelInterface< T >, and ParallelInterface.
|
getsetinherited |
Gets or sets whether the bus is enabled
|
getsetinherited |
The minimum number of microseconds to delay between each word write.
|
getinherited |
Gets the width of the bus