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
all_io.cpp
00001 //------------------------------------------------------------------------------- 00002 // 00003 // Treehouse Designs Inc. 00004 // Colorado Springs, Colorado 00005 // 00006 // Copyright (c) 2018 by Treehouse Designs Inc. 00007 // Copyright (c) 2018 by Agility Power Systems Inc. 00008 // 00009 // This code is the property of Treehouse Designs, Inc. (Treehouse) and 00010 // Agility Power Systems Inc. (Agility) and may not be redistributed 00011 // in any form without prior written permission from 00012 // both copyright holders, Treehouse and Agility. 00013 // 00014 // The above copyright notice and this permission notice shall be included in 00015 // all copies or substantial portions of the Software. 00016 // 00017 // 00018 //------------------------------------------------------------------------------- 00019 // 00020 // REVISION HISTORY: 00021 // 00022 // $Author: $ 00023 // $Rev: $ 00024 // $Date: $ 00025 // $URL: $ 00026 // 00027 //------------------------------------------------------------------------------- 00028 00029 #include "mbed.h" 00030 #include "all_io.h" 00031 #include "PortOut.h" 00032 00033 // Digital IO 00034 // 00035 DigitalInOut SWDIO(PA_13); 00036 DigitalOut fan_on(PA_15); 00037 DigitalOut vdoc(PA_4); 00038 00039 DigitalOut ec2(PC_0); 00040 DigitalOut ec15(PC_1); 00041 DigitalOut ec28(PC_2); 00042 DigitalOut ec6(PC_3); 00043 DigitalOut ec12(PC_4); 00044 DigitalOut ec25(PC_5); 00045 DigitalOut ec36(PC_6); 00046 DigitalOut ec31(PC_7); 00047 DigitalOut ec9(PC_8); 00048 DigitalOut ec5(PC_9); 00049 DigitalOut ec24(PC_10); 00050 DigitalOut ec11(PC_11); 00051 DigitalOut ec1(PC_12); 00052 DigitalOut ec10(PC_13); 00053 DigitalOut ec23(PC_14); 00054 DigitalOut ec7(PC_15); 00055 DigitalOut ec18(PA_8); 00056 DigitalOut ec14(PA_9); 00057 DigitalOut ec27(PA_10); 00058 DigitalOut ec19(PA_11); 00059 DigitalOut ec32(PA_12); 00060 DigitalOut ec35(PB_0); 00061 DigitalOut ec21(PB_1); 00062 DigitalOut ec30(PB_2); 00063 DigitalOut ec33(PB_4); 00064 DigitalOut ec20(PB_5); 00065 DigitalOut ec34(PB_8); 00066 DigitalOut ec29(PB_9); 00067 DigitalOut ec8(PB_10); 00068 DigitalOut ec4(PB_11); 00069 DigitalOut ec17(PB_12); 00070 DigitalOut ec13(PB_13); 00071 DigitalOut ec26(PB_14); 00072 DigitalOut ec22(PB_15); 00073 00074 // all_on indicates that the load demanded a high amount of current and all DC-DC converters are enabled. 00075 //DigitalIn all_on(PA_0); 00076 DigitalIn ILR_enable(PA_0); 00077 DigitalIn SWDCLK(PA_14); 00078 DigitalIn fan_pwn(PB_3); 00079 DigitalIn MS(PA_1); 00080 00081 // Analog IO 00082 // 00083 AnalogIn Vfilt48(PA_7); 00084 //AnalogIn VIN24(PC_4); 00085 AnalogIn Vfilt12(PA_6); 00086 //AnalogIn IIN48(PC_2); 00087 //AnalogIn IIN24(PC_1); 00088 AnalogIn Ifilt12(PA_5);
Generated on Sat Aug 27 2022 12:36:03 by
1.7.2