Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#
DS2413 Class Reference
DS2413 1-Wire Dual Channel Addressable Switch. More...
#include <DS2413.hpp>
Public Member Functions | |
| MaximInterfaceDevices_EXPORT Core::Result< Status > | readStatus () const |
| Read the input and output logic states for all PIO pins. | |
| MaximInterfaceDevices_EXPORT Core::Result< void > | writeOutputState (bool pioAState, bool pioBState) |
| Write the output logic states for all PIO pins. | |
Detailed Description
DS2413 1-Wire Dual Channel Addressable Switch.
The DS2413 is a dual-channel programmable I/O 1-Wire® chip. The PIO outputs are configured as open-drain and provide up to 20mA continuous sink capability and off-state operating voltage up to 28V. Control and sensing of the PIO pins is performed with a dedicated device-level command protocol. To provide a high level of fault tolerance in the end application, the 1-Wire I/O and PIO pins are all capable of withstanding continuous application of voltages up to 28V max. Communication and operation of the DS2413 is performed with the single contact Maxim 1-Wire serial interface.
Definition at line 53 of file DS2413.hpp.
Member Function Documentation
| Result< DS2413::Status > readStatus | ( | ) | const |
Read the input and output logic states for all PIO pins.
Definition at line 44 of file DS2413.cpp.
| Result< void > writeOutputState | ( | bool | pioAState, |
| bool | pioBState | ||
| ) |
Write the output logic states for all PIO pins.
Definition at line 48 of file DS2413.cpp.
Generated on Tue Jul 12 2022 11:13:20 by
1.7.2