Driver for Enclustra I2C Master Controller
More...
Driver for Enclustra I2C Master Controller
◆ I2CMasterEnclustra()
Constructs the I2C Master Controller
- Parameters
-
| registerBank | MmAccess interface |
| registerBankOffset | Base address of IP block |
◆ Connect()
Provides interface for a specific I2C device on a bus
- Parameters
-
| deviceAddress | I2C address of the device in 7-bit notation |
- Returns
- TAP Task
Implements II2CBus.
◆ Detect()
| IEnumerable<uint> Detect |
( |
CancellationToken |
ct | ) |
|
|
inline |
Enumerate all I2C device on a bus
- Returns
- Sequence of detected I2C device addresses
Implements II2CBus.
◆ DetectAsync()
| async IAsyncEnumerable<uint> DetectAsync |
( |
[EnumeratorCancellation] CancellationToken |
ct | ) |
|
|
inline |
Enumerate all I2C device on a bus asynchronously (non-blocking)
- Parameters
-
- Returns
- Sequence of detected I2C device addresses
Implements II2CBus.
◆ Version
Returns the version of the IP core
- Returns
- IP core version
The documentation for this class was generated from the following file:
- C:/Git/Ip/en_mgr_sw/Projects/Win7/CsApi/Drivers/I2C/I2CMaster.cs