Tca9548A Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tca9548A - 8-Channel I2C Switch/Multiplexer
[System.Device.Model.Interface("Tca9548A - 8-Channel I2C Switch/Multiplexer")]
public class Tca9548A : IDisposable, System.Collections.Generic.ICollection<System.Device.I2c.I2cBus>, System.Collections.Generic.IEnumerable<System.Device.I2c.I2cBus>, System.Collections.Generic.IList<System.Device.I2c.I2cBus>
[<System.Device.Model.Interface("Tca9548A - 8-Channel I2C Switch/Multiplexer")>]
type Tca9548A = class
interface IList<I2cBus>
interface ICollection<I2cBus>
interface seq<I2cBus>
interface IEnumerable
interface IDisposable
Public Class Tca9548A
Implements ICollection(Of I2cBus), IDisposable, IEnumerable(Of I2cBus), IList(Of I2cBus)
- Inheritance
-
Tca9548A
- Attributes
- Implements
Constructors
Tca9548A(I2cDevice, I2cBus, Boolean) |
Creates a Multiplexer Instance |
Fields
DefaultI2cAddress |
The default I2C Address, page 15 of the main documentation https://www.ti.com/lit/ds/symlink/tca9548a.pdf |
Properties
Count | Gets the number of elements contained in the ICollection<T>. |
IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. |
Item[Int32] |
Gets Channel busses of the multiplexer |
Methods
Add(I2cBus) | Adds an item to the ICollection<T>. |
Clear() | Removes all items from the ICollection<T>. |
Contains(I2cBus) | Determines whether the ICollection<T> contains a specific value. |
CopyTo(I2cBus[], Int32) | Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
GetEnumerator() | Returns an enumerator that iterates through the collection. |
IndexOf(I2cBus) | Determines the index of a specific item in the IList<T>. |
Insert(Int32, I2cBus) | Inserts an item to the IList<T> at the specified index. |
Remove(I2cBus) | Removes the first occurrence of a specific object from the ICollection<T>. |
RemoveAt(Int32) | Removes the IList<T> item at the specified index. |
SelectChannel(MultiplexerChannel) |
Select a group of multiplexer channels. |
TryGetSelectedChannel(MultiplexerChannel) |
Try getting the selected channel on Multiplexer |
Explicit Interface Implementations
IEnumerable.GetEnumerator() | Returns an enumerator that iterates through a collection. |
IList<I2cBus>.Item[Int32] |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for