Power control and management

Dependencies:   mbed

Revision:
3:92148e16d530
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Pindef1114.h	Fri Nov 18 15:57:25 2022 +0000
@@ -0,0 +1,15 @@
+/************************************ Pinfef1114.h *******************************/
+
+DigitalOut INRUSH(dp1);         // HIGH to bypass the in-rush NTC
+DigitalOut SPKR(dp2);           // HIGH to enable the speaker relay
+DigitalIn ERROR(dp4);           // LOW trigger int and disables speaker and flashes PWR LED
+InterruptIn ACDET1(dp6);        // AC detector input - measure zero crossings here - IRQ 
+DigitalOut PWR_R(dp28);         // Drives the PWR ON/OFF relay - Only used with TRIGGER input facility
+DigitalIn PWR_D(dp26);          // Pull HIGH to indicate power ON via TRIGGER input connector
+DigitalOut INDI(dp5);           // open drain - flashes POWER LED to indicate system status
+DigitalOut SYNC (dp15);         // flips once every main loop is completed
+InterruptIn clip_in(dp14);      // clip input active LOW
+DigitalOut clip(dp25);          //clip indicator - flashes high for 200ms
+AnalogIn left_temp(dp9);        // left and right temperature
+AnalogIn right_temp(dp10);
+//DigitalIn temp_test(dp17);      // if this is held low on power up, print temp continously