Power control and management

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
andrewcrussell
Date:
Fri Nov 18 15:57:25 2022 +0000
Parent:
2:c449cfb7752c
Commit message:
regen;

Changed in this revision

Pindef1114.h Show annotated file Show diff for this revision Revisions of this file
Pindef1114.lib Show diff for this revision Revisions of this file
--- /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
--- a/Pindef1114.lib	Thu Nov 10 11:11:58 2022 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://developer.mbed.org/users/andrewcrussell/code/Pindef1114/#e84a8f21a441