Driver to control a peripheral circuit being controlled by the operation of a FET. Inbetween the mbed and FET is a single D type latch, used to latch a signal to the driver.
Diff: Latch_FET_Driver.h
- Revision:
- 6:073ee2fd1245
- Parent:
- 5:7d1b124490ed
diff -r 7d1b124490ed -r 073ee2fd1245 Latch_FET_Driver.h --- a/Latch_FET_Driver.h Sat Feb 20 13:22:50 2016 +0000 +++ b/Latch_FET_Driver.h Fri Mar 04 17:53:29 2016 +0000 @@ -62,6 +62,10 @@ ============================================================= */ Latch_FET_Driver(PinName D,PinName CLK); + + void changeOutputState(bool state); + +private: /* ============================================================= outputHigh public method @@ -92,8 +96,6 @@ ============================================================= */ void outputLow(); -private: - protected: // DigitalOut types used for assignment of PinName data types DigitalOut *_D;