Power control and management

Dependencies:   mbed

Pindef1114.h

Committer:
andrewcrussell
Date:
18 months ago
Revision:
3:92148e16d530

File content as of revision 3:92148e16d530:

/************************************ 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