Device interface library for multiple platforms including Mbed.
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 Fri May 29 2020 21:20:50 by
