|
1 | 1 | /* mbed Microcontroller Library
|
2 | 2 | *******************************************************************************
|
3 |
| - * Copyright (c) 2014, STMicroelectronics |
| 3 | + * Copyright (c) 2016, STMicroelectronics |
4 | 4 | * All rights reserved.
|
5 | 5 | *
|
6 | 6 | * Redistribution and use in source and binary forms, with or without
|
@@ -151,6 +151,20 @@ const PinMap PinMap_UART_RX[] = {
|
151 | 151 | {NC, NC, 0}
|
152 | 152 | };
|
153 | 153 |
|
| 154 | +const PinMap PinMap_UART_RTS[] = { |
| 155 | + {PA_1, UART_2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)}, |
| 156 | + {PB_14, UART_3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, |
| 157 | + {PA_12, UART_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)}, |
| 158 | + {NC, NC, 0} |
| 159 | +}; |
| 160 | + |
| 161 | +const PinMap PinMap_UART_CTS[] = { |
| 162 | + {PA_0, UART_2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)}, |
| 163 | + {PB_13, UART_3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)}, |
| 164 | + {PA_11, UART_1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)}, |
| 165 | + {NC, NC, 0} |
| 166 | +}; |
| 167 | + |
154 | 168 | //*** SPI ***
|
155 | 169 |
|
156 | 170 | const PinMap PinMap_SPI_MOSI[] = {
|
|
0 commit comments