Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: src/all_io.cpp
- Revision:
- 44:741ee27c8a34
- Parent:
- 42:3ae73b61f657
- Child:
- 47:d10bf65cb7dc
--- a/src/all_io.cpp Sat Mar 09 21:16:38 2019 +0000
+++ b/src/all_io.cpp Sat Mar 09 22:32:40 2019 +0000
@@ -31,24 +31,7 @@
#include "PortOut.h"
// Digital IO
-//
-// Slots 12 to 0 are activated with the wr_out signals
-// wr_out[13] = slots[12:0]
-// BusOut signals are specified LSB first
-//BusOut wr_out(PA_10, PA_11, PA_12, PA_13, PA_14, PA_15, PC_6, PC_7, PC_8, PC_9, PC_10, PC_11, PC_12); //RK: Need to change ADC inputs to PC_0-PC_5
-// en_out are binary weighted signals that activate groups of DC-DC converters on the slot cards.
-// en_out[6] = {en32, en16, en8, en4, en2, en1}
-//BusOut en_out(PA_9, PA_8, PA_7, PA_6, PC_14, PA_4); //RK: debug 11/26/2018
-//BusOut signals are specified LSB first
-//BusOut en_out(PA_4, PC_13, PA_6, PA_7, PA_8, PA_9);
-//DigitalIn pc14(PC_14);
-I2C i2c(PB_6, PB_7);
-
-
-// Expansion port signals
-// eport[16] = eport[18:3]
-//DigitalIn eport[16] = {PB_15, PB_14, PB_13, PB_12, PC_15, PB_10, PB_9, PB_8, PB_7, PB_6, PB_5, PB_4, PB_3, PB_2, PB_1, PB_0}; //RK 11/24/2018 PB_11 throws an error. Identifier "PB_11" is undefined. PB_11 is connected to VCAP1.
DigitalInOut SWDIO(PA_13);
DigitalOut fan_on(PA_15);
AnalogOut vdac(PA_4);