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:
- 2:9059b675917e
- Parent:
- 1:a0209f182a64
- Child:
- 5:7d1b124490ed
diff -r a0209f182a64 -r 9059b675917e Latch_FET_Driver.h --- a/Latch_FET_Driver.h Thu Feb 04 14:08:29 2016 +0000 +++ b/Latch_FET_Driver.h Sun Feb 07 18:20:55 2016 +0000 @@ -13,15 +13,17 @@ public: Latch_FET_Driver(PinName set,PinName reset); - int setOutput(); - + void outputHigh(); + void outputLow(); +// int setOutput(); +// int resetOutput(); private: + void initialState(); + - protected: DigitalOut *SetPin; DigitalOut *ResetPin; - }; #endif \ No newline at end of file