picolibrary

TCA9548A Facilities

Texas Instruments TCA9548A facilities are defined in the include/picolibrary/texas_instruments/tca9548a.h/source/picolibrary/texas_instruments/tca9548a.cc header/source file pair.

Table of Contents

  1. Register Information
  2. Device Addressing
  3. Driver
  4. Bus Multiplexer Aligner

Register Information

Texas Instruments TCA9548A register information is defined in the following structures:

The following constants are defined in register information structures:

Device Addressing

The ::picolibrary::Texas_Instruments::TCA9548A::Address_Numeric type alias is used to store a Texas Instruments TCA9548A device address in numeric (right justified) format. See the ::picolibrary::I2C::Device_Address_Numeric documentation for more information.

The ::picolibrary::Texas_Instruments::TCA9548A::Address_Transmitted type alias is used to store a Texas Instruments TCA9548A device address in transmitted (left shifted) format. See the ::picolibrary::I2C::Device_Address_Transmitted documentation for more information.

Driver

The ::picolibrary::Texas_Instruments::TCA9548A::Driver Texas Instruments TCA9548A driver template class is used to interact with a Texas Instruments TCA9548A.

::picolibrary::Texas_Instruments::TCA9548A::Driver automated tests are defined in the test/automated/picolibrary/texas_instruments/tca9548a/driver/main.cc source file.

The ::picolibrary::Testing::Automated::Texas_Instruments::TCA9548A::Mock_Driver mock Texas Instruments TCA9548A driver class is available if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The mock is defined in the include/picolibrary/testing/automated/texas_instruments/tca9548a.h/source/picolibrary/testing/automated/texas_instruments/tca9548a.cc header/source file pair.

The ::picolibrary::Testing::Interactive::Texas_Instruments::TCA9548A::scan() interactive test helper is available if the PICOLIBRARY_ENABLE_INTERACTIVE_TESTING project configuration option is ON. The interactive test helper is defined in the include/picolibrary/testing/interactive/texas_instruments/tca9548a.h/source/picolibrary/testing/interactive/texas_instruments/tca9548a.cc header/source file pair.

The ::picolibrary::Texas_Instruments::TCA9548A::Caching_Driver Texas Instruments TCA9548A caching driver template class adds register caching to ::picolibrary::Texas_Instruments::TCA9548A::Driver.

::picolibrary::Texas_Instruments::TCA9548A::Caching_Driver automated tests are defined in the test/automated/picolibrary/texas_instruments/tca9548a/caching_driver/main.cc source file.

The ::picolibrary::Testing::Automated::Texas_Instruments::TCA9548A::Mock_Caching_Driver mock Texas Instruments TCA9548A caching driver class is available if the PICOLIBRARY_ENABLE_AUTOMATED_TESTING project configuration option is ON. The mock is defined in the include/picolibrary/testing/automated/texas_instruments/tca9548a.h/source/picolibrary/testing/automated/texas_instruments/tca9548a.cc header/source file pair.

Bus Multiplexer Aligner

The ::picolibrary::Texas_Instruments::TCA9548A::Bus_Multiplexer_Aligner template class is a nullary functor that is intended to be used as a ::picolibrary::I2C::Device instance’s bus multiplexer aligner. ::picolibrary::Texas_Instruments::TCA9548A::Bus_Multiplexer_Aligner automated tests are defined in the test/automated/picolibrary/texas_instruments/tca9548a/bus_multiplexer_aligner/main.cc source file.