Andrew R
/
Power_Sequencer_Nov_10_2022
Power control and management
Pindef1114.h@3:92148e16d530, 22 months ago (annotated)
- Committer:
- andrewcrussell
- Date:
- Fri Nov 18 15:57:25 2022 +0000
- Revision:
- 3:92148e16d530
regen;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewcrussell | 3:92148e16d530 | 1 | /************************************ Pinfef1114.h *******************************/ |
andrewcrussell | 3:92148e16d530 | 2 | |
andrewcrussell | 3:92148e16d530 | 3 | DigitalOut INRUSH(dp1); // HIGH to bypass the in-rush NTC |
andrewcrussell | 3:92148e16d530 | 4 | DigitalOut SPKR(dp2); // HIGH to enable the speaker relay |
andrewcrussell | 3:92148e16d530 | 5 | DigitalIn ERROR(dp4); // LOW trigger int and disables speaker and flashes PWR LED |
andrewcrussell | 3:92148e16d530 | 6 | InterruptIn ACDET1(dp6); // AC detector input - measure zero crossings here - IRQ |
andrewcrussell | 3:92148e16d530 | 7 | DigitalOut PWR_R(dp28); // Drives the PWR ON/OFF relay - Only used with TRIGGER input facility |
andrewcrussell | 3:92148e16d530 | 8 | DigitalIn PWR_D(dp26); // Pull HIGH to indicate power ON via TRIGGER input connector |
andrewcrussell | 3:92148e16d530 | 9 | DigitalOut INDI(dp5); // open drain - flashes POWER LED to indicate system status |
andrewcrussell | 3:92148e16d530 | 10 | DigitalOut SYNC (dp15); // flips once every main loop is completed |
andrewcrussell | 3:92148e16d530 | 11 | InterruptIn clip_in(dp14); // clip input active LOW |
andrewcrussell | 3:92148e16d530 | 12 | DigitalOut clip(dp25); //clip indicator - flashes high for 200ms |
andrewcrussell | 3:92148e16d530 | 13 | AnalogIn left_temp(dp9); // left and right temperature |
andrewcrussell | 3:92148e16d530 | 14 | AnalogIn right_temp(dp10); |
andrewcrussell | 3:92148e16d530 | 15 | //DigitalIn temp_test(dp17); // if this is held low on power up, print temp continously |