Extended MaximInterface
Dependents: mbed_DS28EC20_GPIO
Diff: Devices/DS9400.hpp
- Revision:
- 3:f818ea5172ed
- Parent:
- 0:f77ad7f72d04
- Child:
- 6:a8c83a2e6fa4
--- a/Devices/DS9400.hpp Mon Nov 06 17:46:41 2017 -0600 +++ b/Devices/DS9400.hpp Thu Jan 11 13:50:39 2018 -0600 @@ -45,6 +45,8 @@ void setUart(Uart & uart) { this->uart = &uart; } + MaximInterface_EXPORT error_code waitAwake(); + MaximInterface_EXPORT error_code start(); MaximInterface_EXPORT virtual error_code start(uint_least8_t address); MaximInterface_EXPORT virtual error_code stop(); @@ -52,6 +54,9 @@ MaximInterface_EXPORT virtual error_code readByte(AckStatus status, uint_least8_t & data); +protected: + MaximInterface_EXPORT error_code configure(uint_least8_t config); + private: Uart * uart; };