Extended MaximInterface
Dependents: mbed_DS28EC20_GPIO
Diff: Devices/DS2413.hpp
- Revision:
- 7:471901a04573
- Parent:
- 6:a8c83a2e6fa4
--- a/Devices/DS2413.hpp Wed Jan 23 13:11:04 2019 -0600 +++ b/Devices/DS2413.hpp Mon Mar 04 08:10:00 2019 -0600 @@ -40,7 +40,7 @@ namespace MaximInterface { -/// DS2413 1-Wire Dual Channel Addressable Switch +/// @brief DS2413 1-Wire Dual Channel Addressable Switch /// @details 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 @@ -88,14 +88,13 @@ OneWireMaster * master; }; -/// @{ -/// Write the output logic state for only a single PIO pin. +/// Write the output logic state for only PIOA. MaximInterface_EXPORT error_code writePioAOutputState(DS2413 & ds2413, bool pioAState); - + +/// Write the output logic state for only PIOB. MaximInterface_EXPORT error_code writePioBOutputState(DS2413 & ds2413, bool pioBState); -/// @} inline error_code make_error_code(DS2413::ErrorValue e) { return error_code(e, DS2413::errorCategory());