Adafruit_TCA9548A
¶
CircuitPython driver for the TCA9548A I2C Multiplexer.
- Author(s): Carter Nelson
Implementation Notes¶
Hardware:
- TCA9548A I2C Multiplexer: https://www.adafruit.com/product/2717
Software and Dependencies:
- Adafruit CircuitPython firmware for the supported boards: https://github.com/adafruit/circuitpython/releases
- Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
-
class
adafruit_tca9548a.
TCA9548A
(i2c, address=112)¶ Class which provides interface to TCA9548A I2C multiplexer.
-
class
adafruit_tca9548a.
TCA9548A_Channel
(tca, channel)¶ Helper class to represent an output channel on the TCA9548A and take care of the necessary I2C commands for channel switching. This class needs to behave like an I2CDevice.
-
readfrom_into
(address, buffer, **kwargs)¶ Pass thru for readfrom_into.
-
try_lock
()¶ Pass thru for try_lock.
-
unlock
()¶ Pass thru for unlock.
-
writeto
(address, buffer, **kwargs)¶ Pass thru for writeto.
-
writeto_then_readfrom
(address, buffer_out, buffer_in, **kwargs)¶ Pass thru for writeto_then_readfrom.
-