Skip to content
Snippets Groups Projects
Commit 6d085671 authored by agdl's avatar agdl Committed by Cristian Maglie
Browse files

Added DTR pin HW 2.0

parent 2e2e2ed0
No related branches found
No related tags found
No related merge requests found
......@@ -142,7 +142,9 @@ const PinDescription g_APinDescription[] = {
| 33 | | PA00 | XIN32 | 00 | | | | | | 1/00 | TCC2/0 | | | |
| 34 | | PA01 | XOUT32 | 01 | | | | | | 1/01 | TCC2/1 | | | |
+------------+------------------+--------+-----------------+--------+-----+-----+-----+-----+---------+---------+--------+--------+----------+----------+
*/
| 35 | | PA28 | GSM_DTR | 01 | | | | | | 1/01 | TCC2/1 | | | |
+------------+------------------+--------+-----------------+--------+-----+-----+-----+-----+---------+---------+--------+--------+----------+----------+
*/
// DIPO=3 DOPO=0
{ PORTA, 12, PIO_SERCOM, (PIN_ATTR_NONE ), No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_NONE }, // MOSI: SERCOM2/PAD[0]
{ PORTA, 13, PIO_SERCOM, (PIN_ATTR_NONE ), No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_NONE }, // SCK: SERCOM2/PAD[1]
......@@ -155,6 +157,8 @@ const PinDescription g_APinDescription[] = {
{ PORTA, 0, PIO_DIGITAL, (PIN_ATTR_NONE ), No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_NONE },
{ PORTA, 1, PIO_DIGITAL, (PIN_ATTR_NONE ), No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_NONE },
{ PORTA, 28, PIO_DIGITAL, (PIN_ATTR_NONE ), No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_NONE },
};
const void* g_apTCInstances[TCC_INST_NUM + TC_INST_NUM]={ TCC0, TCC1, TCC2, TC3, TC4, TC5 };
......
......@@ -67,6 +67,7 @@
#define GSM_RTS (28u)
#define GSM_CTS (29u)
#define GSM_RESETN (31u)
#define GSM_DTR (35u)
// LEDs
// ----
......@@ -164,6 +165,7 @@ extern Uart Serial2;
#define PAD_SERIAL2_RX (SERCOM_RX_PAD_1)
#define PIN_SERIAL2_RTS (28u)
#define PIN_SERIAL2_CTS (29u)
#define PIN_SERIAL2_DTR (35u)
#endif // __cplusplus
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment