Aardvark#
- class Aardvark(serial_number: str | None = None)[source]#
Bases:
I2CDriverBaseTotal Phase Aardvark I2C/SPI host adapter. Connection params captured in
__init__; USB opens onopen().serial_number(e.g."2239-764425");Noneletspyaardvarkpick the first available adapter.
Methods
Close the adapter handle. |
|
Open the adapter (typically a USB host adapter) and prepare it for transactions. |
|
Read |
|
Set the master clock rate in kHz. |
|
Enable or disable target-power output on the adapter (where supported). |
|
Enable or disable the adapter's internal bus pull-ups (typical: ~10 kΩ to VCC). |
|
Write |
|
Write |