yotaro morizumi / Mbed 2 deprecated zoomy_customLibrary

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers F446RE_NewConfig.h Source File

F446RE_NewConfig.h

00001 #include <mbed.h>
00002 #include <portSet.hpp>
00003 
00004 Port com[17] = {
00005 //--F446REの基板にプリントされたポート番号と合わせるためにcom[0]はNCとしている-//
00006     {NC,NC},
00007 //--pwmPort--//
00008     {PA_7,PC_7},    //1
00009     {PC_9,PB_0},    //2
00010     {PB_10,PA_10},  //3
00011     {PB_2,PA_11},   //4
00012     {PA_1,PA_0},    //5
00013     {PC_6,PC_8},    //6
00014 //--encorderPort--//
00015     {PC_10,PB_7},   //7
00016     {PC_2,PC_3},    //8
00017     {PC_11 ,PB_8},  //9
00018     {PC_0 ,PC_1},   //10
00019     {PB_14 ,PB_15}, //11
00020     {PB_9,PA_6},    //12
00021     {PB_12,PC_5},   //13
00022     {PC_4 ,PB_13},  //14
00023 //--I2CPort--//
00024     {PB_4,PA_8},    //15
00025 //--CANPort--//
00026     {PB_5,PB_6}     //16/*rd,td*/
00027 };
00028 
00029 /*
00030  1 2
00031  3 4   5
00032  7 8
00033  9 10
00034 11 12  6
00035 13 14*/