Apple Mbed Studio ready 15 Nov 2022

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Pindef1114.h Source File

Pindef1114.h

00001 /************************************ Pinfef1114.h *******************************/
00002 /****************** for the RC5 preamplifier copntroller program  ****************/
00003 DigitalOut FWD1(dp1);       // these are the motor 'H' bridge drive signals
00004 DigitalOut REV1(dp2);       // when the volume controll motor is not being driven
00005                             // they are all OFF
00006 
00007 DigitalOut muteout(dp13);    // drives the mute relay via a mosfet or transistor
00008 //DigitalOut muteind(dp18);
00009 InterruptIn mute_int(dp11);  // mute p/button interrupt
00010 DigitalIn mute(dp11);         // mute input from associated pushbutton
00011 
00012 DigitalOut stby_pa(dp25);    //   power amplifier standby control which follows the premap
00013                             // but with suitable delays                       
00014                             
00015 InterruptIn rc5int(dp17);    // this is the R/C interrupt triggered by the IRx data out
00016 DigitalIn rc5dat(dp17);      // data is read in from here - its coming from the IRx data out
00017 
00018 
00019 InterruptIn select_int(dp28); // select rotary encoder interrupt - we use the 'A' O/P to generate the interrupt
00020 DigitalIn sela(dp28);         // select input rotary enc input A
00021 DigitalIn selb(dp27);         // select input rotary enc input B
00022 
00023 DigitalIn stdby(dp26);       // standby function p/button input
00024 InterruptIn stdby_int(dp26); // standby p/button interrupt in
00025 
00026 
00027 //InterruptIn tone_pb(dp15);
00028 //DigitalIn tone(dp15);
00029 //DigitalOut tone(dp25);     // can only be turned on and off at this stage by the r/control
00030 
00031 DigitalOut muteLED (dp14);   //illumionates whn output is muted
00032 DigitalIn recloop_in(dp14);      // record loop p/button input
00033 DigitalOut recloop_out(dp16);    // drives record loop LED
00034 DigitalOut recloop_rly(dp10); 
00035 
00036 BusOut select_drv(dp11, dp4, dp5, dp6, dp9, dp10);  //these are the select relay drivers
00037 // note that we do not explicitly define the input select output ports because we just move the active
00038 // output port bit around in  a continuos loop with each depress of the select button.  Drive the associated
00039 // input relays via a mosfet or transistor
00040 
00041 // DigitalOut myled(LED1); // for test purposes only - on the mbed module - comment out when not used
00042 // DigitalOut myled2(LED2);
00043 // DigitalOut sync(p29); //this is a sync pin that is toggled during IR read - used for debug only
00044 
00045 
00046 
00047 
00048