yotaro morizumi
/
zoomy_customLibrary
my new gear...
config/F446RE_NewConfig.h@17:4a0e8d04926c, 2022-09-20 (annotated)
- Committer:
- yootee
- Date:
- Tue Sep 20 06:22:58 2022 +0000
- Revision:
- 17:4a0e8d04926c
- Parent:
- 16:df49a89bd2f9
- Child:
- 18:feb8116f64a6
ok
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yootee | 15:11bb206cc1fc | 1 | #include <mbed.h> |
yootee | 15:11bb206cc1fc | 2 | #include <portSet.hpp> |
yootee | 15:11bb206cc1fc | 3 | |
yootee | 15:11bb206cc1fc | 4 | Port com[17] = { |
yootee | 15:11bb206cc1fc | 5 | //--F446REの基板にプリントされたポート番号と合わせるためにcom[0]はNCとしている-// |
yootee | 15:11bb206cc1fc | 6 | {NC,NC}, |
yootee | 15:11bb206cc1fc | 7 | //--pwmPort--// |
yootee | 15:11bb206cc1fc | 8 | {PA_7,PC_7}, |
yootee | 17:4a0e8d04926c | 9 | {PC_9,PB_0}, |
yootee | 15:11bb206cc1fc | 10 | {PB_10,PA_10}, |
yootee | 15:11bb206cc1fc | 11 | {PB_2,PA_11}, |
yootee | 17:4a0e8d04926c | 12 | {PA_1,PA_0}, |
yootee | 15:11bb206cc1fc | 13 | {PC_6,PC_8}, |
yootee | 15:11bb206cc1fc | 14 | //--encorderPort--// |
yootee | 17:4a0e8d04926c | 15 | {PC_10,PB_7}, |
yootee | 15:11bb206cc1fc | 16 | {PC_2,PC_3}, |
yootee | 17:4a0e8d04926c | 17 | {PC_11 ,PB_8}, |
yootee | 17:4a0e8d04926c | 18 | {PC_0 ,PC_1}, |
yootee | 17:4a0e8d04926c | 19 | {PB_14 ,PB_15}, |
yootee | 15:11bb206cc1fc | 20 | {PB_9,PA_6}, |
yootee | 15:11bb206cc1fc | 21 | {PB_12,PC_5}, |
yootee | 17:4a0e8d04926c | 22 | {PC_4 ,PB_13}, |
yootee | 15:11bb206cc1fc | 23 | //--I2CPort--// |
yootee | 15:11bb206cc1fc | 24 | {PB_4,PA_8}, |
yootee | 15:11bb206cc1fc | 25 | //--CANPort--// |
yootee | 15:11bb206cc1fc | 26 | {PB_5,PB_6}/*rx,tx*/ |
yootee | 16:df49a89bd2f9 | 27 | }; |
yootee | 16:df49a89bd2f9 | 28 | |
yootee | 16:df49a89bd2f9 | 29 | /* |
yootee | 16:df49a89bd2f9 | 30 | 1 2 |
yootee | 16:df49a89bd2f9 | 31 | 3 4 5 |
yootee | 16:df49a89bd2f9 | 32 | 7 8 |
yootee | 16:df49a89bd2f9 | 33 | 9 10 |
yootee | 16:df49a89bd2f9 | 34 | 11 12 6 |
yootee | 16:df49a89bd2f9 | 35 | 13 14 |