my new gear...

Dependencies:   mbed

config/F446RE_NewConfig.h

Committer:
yootee
Date:
23 months ago
Revision:
19:00374676dada
Parent:
18:feb8116f64a6

File content as of revision 19:00374676dada:

#include <mbed.h>
#include <portSet.hpp>

Port com[17] = {
//--F446REの基板にプリントされたポート番号と合わせるためにcom[0]はNCとしている-//
    {NC,NC},
//--pwmPort--//
    {PA_7,PC_7},    //1
    {PC_9,PB_0},    //2
    {PB_10,PA_10},  //3
    {PB_2,PA_11},   //4
    {PA_1,PA_0},    //5
    {PC_6,PC_8},    //6
//--encorderPort--//
    {PC_10,PB_7},   //7
    {PC_2,PC_3},    //8
    {PC_11 ,PB_8},  //9
    {PC_0 ,PC_1},   //10
    {PB_14 ,PB_15}, //11
    {PB_9,PA_6},    //12
    {PB_12,PC_5},   //13
    {PC_4 ,PB_13},  //14
//--I2CPort--//
    {PB_4,PA_8},    //15
//--CANPort--//
    {PB_5,PB_6}     //16/*rd,td*/
};

/*
 1 2
 3 4   5
 7 8
 9 10
11 12  6
13 14*/