Andrew R
/
Power_Sequencer_Nov_10_2022
Power control and management
Embed:
(wiki syntax)
Show/hide line numbers
Pindef1114.h
00001 /************************************ Pinfef1114.h *******************************/ 00002 00003 DigitalOut INRUSH(dp1); // HIGH to bypass the in-rush NTC 00004 DigitalOut SPKR(dp2); // HIGH to enable the speaker relay 00005 DigitalIn ERROR(dp4); // LOW trigger int and disables speaker and flashes PWR LED 00006 InterruptIn ACDET1(dp6); // AC detector input - measure zero crossings here - IRQ 00007 DigitalOut PWR_R(dp28); // Drives the PWR ON/OFF relay - Only used with TRIGGER input facility 00008 DigitalIn PWR_D(dp26); // Pull HIGH to indicate power ON via TRIGGER input connector 00009 DigitalOut INDI(dp5); // open drain - flashes POWER LED to indicate system status 00010 DigitalOut SYNC (dp15); // flips once every main loop is completed 00011 InterruptIn clip_in(dp14); // clip input active LOW 00012 DigitalOut clip(dp25); //clip indicator - flashes high for 200ms 00013 AnalogIn left_temp(dp9); // left and right temperature 00014 AnalogIn right_temp(dp10); 00015 //DigitalIn temp_test(dp17); // if this is held low on power up, print temp continously
Generated on Fri Nov 18 2022 15:57:35 by 1.7.2