A program for controlling a switching array circuit using P-N dual MOS FETs . Basically, this controls shift resisters and FET drivers.

Dependents:   Interference_Simple

Files at this revision

API Documentation at this revision

Comitter:
aktk
Date:
Sat Dec 07 03:13:07 2019 +0000
Parent:
49:8af1b775e1dc
Commit message:
Modifed comments; Changed order of PinName arguments of the fully controllable constructor in .h to get the same order of those in .cpp;

Changed in this revision

SwArr16MOSFET.h Show annotated file Show diff for this revision Revisions of this file
diff -r 8af1b775e1dc -r 25de14870b6f SwArr16MOSFET.h
--- a/SwArr16MOSFET.h	Wed Nov 27 23:40:48 2019 +0000
+++ b/SwArr16MOSFET.h	Sat Dec 07 03:13:07 2019 +0000
@@ -77,11 +77,11 @@
     /// Construxtor with full configuration
     SwArr16MOSFET(
         uint8_t arg_num_ch, ///<[in] number of channels to use
+        PinName arg_SER,    ///<[in] pin to insert data
         PinName arg_SCK,    ///<[in] pin of shift registor clock
-        PinName arg_CLR,    ///<[in] pin to clear the shift registor
         PinName arg_RCK,    ///<[in] pin of storage registor (buffer) clock
-        PinName arg_SER,    ///<[in] pin to insert data
-        PinName arg_OUT     ///<[out] pin to receive overflowed bit
+        PinName arg_CLR,    ///<[in] pin to clear the shift registor
+        PinName arg_MD_OE   ///<[in] pin to switch MOSFET Driver ON/OFF
     );
 
     //