-
Notifications
You must be signed in to change notification settings - Fork 0
/
MonCtrl_r1.pinmux
136 lines (134 loc) · 5.46 KB
/
MonCtrl_r1.pinmux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/**
* These arguments were used when this file was generated. They will be automatically applied on subsequent loads
* via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments.
* @cliArgs --device "TM4C129x" --package "128 Pin QFP|32x32" --part "TM4C1294NCPDT"
* @versions {"data":"2020052512","timestamp":"2020052512","tool":"1.5.0+1397","templates":"2020052512"}
*/
/**
* These are the peripherals and settings in this configuration
*/
const iETHERNET1 = scripting.addPeripheral("ETHERNET");
iETHERNET1.$name = "MyETHERNET1";
iETHERNET1.EN0LED0.$assign = "PF0";
iETHERNET1.EN0LED1.$assign = "PF4";
const iGPIO1 = scripting.addPeripheral("GPIO");
iGPIO1.$numPins = 2;
iGPIO1["0"].pu_pd = "pu";
iGPIO1["0"].$assign = "PJ0";
iGPIO1["1"].pu_pd = "pu";
iGPIO1["1"].$assign = "PJ1";
iGPIO1.$name = "Switches";
const iGPIO2 = scripting.addPeripheral("GPIO");
iGPIO2.$numPins = 2;
iGPIO2["0"].io = "output";
iGPIO2["0"].$assign = "PN1";
iGPIO2["1"].io = "output";
iGPIO2["1"].$assign = "PN0";
iGPIO2.$name = "LEDs";
const iGPIO3 = scripting.addPeripheral("GPIO");
iGPIO3.$numPins = 8;
iGPIO3["0"].io = "output";
iGPIO3["0"].$assign = "PM0";
iGPIO3["1"].io = "output";
iGPIO3["1"].$assign = "PM1";
iGPIO3["2"].io = "output";
iGPIO3["2"].$assign = "PM2";
iGPIO3["3"].io = "output";
iGPIO3["3"].$assign = "PM3";
iGPIO3["4"].io = "output";
iGPIO3["4"].$assign = "PM4";
iGPIO3["5"].io = "output";
iGPIO3["5"].$assign = "PM5";
iGPIO3["6"].io = "output";
iGPIO3["6"].$assign = "PM6";
iGPIO3["7"].io = "output";
iGPIO3["7"].$assign = "PM7";
iGPIO3.$name = "LCD_IF";
const iGPIO4 = scripting.addPeripheral("GPIO");
iGPIO4["0"].io = "output";
iGPIO4["0"].$assign = "PL3";
iGPIO4.$name = "QETimerExpired";
const iGPIO5 = scripting.addPeripheral("GPIO");
iGPIO5["0"].io = "output";
iGPIO5["0"].$assign = "PE4";
iGPIO5.$name = "LCD_PWR";
const iGPIO6 = scripting.addPeripheral("GPIO");
iGPIO6["0"].io = "output";
iGPIO6["0"].$assign = "PC6";
iGPIO6.$name = "LCD_DISP";
const iGPIO7 = scripting.addPeripheral("GPIO");
iGPIO7["0"].io = "output";
iGPIO7["0"].$assign = "PE5";
iGPIO7.$name = "LCD_CS";
const iQEI1 = scripting.addPeripheral("QEI");
iQEI1.$name = "MyQEI";
iQEI1.$assign = "QEI0";
iQEI1.PHB.$assign = "PL2";
iQEI1.IDX.$assign = "PL3";
iQEI1.IDX.$used = false;
iQEI1.PHA.$assign = "PL1";
const iSSI1 = scripting.addPeripheral("SSI");
iSSI1.$name = "LCDIF";
iSSI1.$assign = "SSI2";
iSSI1.XDAT0.$assign = "PD1";
iSSI1.XDAT3.$used = false;
iSSI1.XDAT1.$assign = "PD0";
iSSI1.FSS.$used = false;
iSSI1.XDAT2.$used = false;
iSSI1.CLK.$assign = "PD3";
const iTimer1 = scripting.addPeripheral("Timer");
iTimer1.$name = "TestTimer";
iTimer1.$assign = "Timer1";
iTimer1.CCP0.$assign = "PD2";
iTimer1.CCP1.$used = false;
const iUART1 = scripting.addPeripheral("UART");
iUART1.$name = "VCom";
iUART1.RX.$assign = "PA0";
iUART1.TX.$assign = "PA1";
iUART1.DCD.$used = false;
iUART1.DTR.$used = false;
iUART1.CTS.$used = false;
iUART1.DSR.$used = false;
iUART1.RTS.$used = false;
iUART1.RI.$used = false;
const iUART2 = scripting.addPeripheral("UART");
iUART2.$name = "MIDI";
iUART2.$assign = "UART7";
iUART2.RX.$assign = "PC4";
iUART2.TX.$assign = "PC5";
iUART2.DCD.$used = false;
iUART2.DTR.$used = false;
iUART2.CTS.$used = false;
iUART2.DSR.$used = false;
iUART2.RTS.$used = false;
iUART2.RI.$used = false;
const iUSB1 = scripting.addPeripheral("USB");
iUSB1.$name = "MyUSB1";
iUSB1.$assign = "USB0";
iUSB1.D4.$used = false;
iUSB1.D0.$used = false;
iUSB1.EPEN.$assign = "PD6";
iUSB1.DIR.$used = false;
iUSB1.STP.$used = false;
iUSB1.DP.$assign = "PL6";
iUSB1.PFLT.$used = false;
iUSB1.DM.$assign = "PL7";
iUSB1.D3.$used = false;
iUSB1.D7.$used = false;
iUSB1.CLK.$used = false;
iUSB1.ID.$assign = "PB0";
iUSB1.NXT.$used = false;
iUSB1.VBUS.$assign = "PB1";
iUSB1.D1.$used = false;
iUSB1.D6.$used = false;
iUSB1.D5.$used = false;
iUSB1.D2.$used = false;
/**
* Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future
* version of the tool will not impact the pinmux you originally saw. These lines can be completely deleted in order to
* re-solve from scratch.
*/
iETHERNET1.$suggestSolution = "ETHERNET0";
iETHERNET1.EN0PPS.$suggestSolution = "PG0";
iETHERNET1.EN0LED2.$suggestSolution = "PF1";
iUART1.$suggestSolution = "UART0";