Removed pinMode from PIN_MAP

This commit is contained in:
lacklustrlabs 2017-12-01 17:17:28 +01:00
parent aebb14f26c
commit 95dde2ec10
4 changed files with 2 additions and 6 deletions

View File

@ -55,7 +55,6 @@ typedef struct stm32_pin_info {
uint8 gpio_bit; /**< Pin's GPIO port bit. */
uint8 timer_channel; /**< Timer channel, or 0 if none. */
uint8 adc_channel; /**< Pin ADC channel, or ADCx if none. */
uint8 pinMode; /**< mode specific by pinMode call (Roger Clark added to optimize compatibility with Arduino API*/
} stm32_pin_info;
/**

View File

@ -78,7 +78,6 @@ extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS] = {
uint8 gpio_bit; Pin's GPIO port bit.
uint8 timer_channel; Timer channel, or 0 if none.
uint8 adc_channel; Pin ADC channel, or ADCx if none.
uint8 pinMode; mode specific by pinMode call (Roger Clark added to optimize compatibility with Arduino API
*/
{&gpioa, &timer2, &adc1, 0, 1, 0}, /* PA0 */

View File

@ -77,7 +77,6 @@ extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS] = {
uint8 gpio_bit; Pin's GPIO port bit.
uint8 timer_channel; Timer channel, or 0 if none.
uint8 adc_channel; Pin ADC channel, or ADCx if none.
uint8 pinMode; mode specific by pinMode call (Roger Clark added to optimize compatibility with Arduino API
*/
{&gpioa, &timer2, &adc1, 0, 1, 0}, /* PA0 */
@ -231,4 +230,4 @@ extern const uint8 boardUsedPins[BOARD_NR_USED_PINS] __FLASH__ = {
DEFINE_HWSERIAL(Serial2, 3);
DEFINE_HWSERIAL_UART(Serial3, 4);
DEFINE_HWSERIAL_UART(Serial4, 5);
#endif
#endif

View File

@ -77,7 +77,6 @@ extern const stm32_pin_info PIN_MAP[BOARD_NR_GPIO_PINS] = {
uint8 gpio_bit; Pin's GPIO port bit.
uint8 timer_channel; Timer channel, or 0 if none.
uint8 adc_channel; Pin ADC channel, or ADCx if none.
uint8 pinMode; mode specific by pinMode call (Roger Clark added to optimize compatibility with Arduino API
*/
/* Top header */
@ -175,4 +174,4 @@ DEFINE_HWSERIAL(Serial1, 1);
DEFINE_HWSERIAL(Serial2, 2);
DEFINE_HWSERIAL(Serial3, 3);
DEFINE_HWSERIAL_UART(Serial4, 4);
DEFINE_HWSERIAL_UART(Serial5, 5);
DEFINE_HWSERIAL_UART(Serial5, 5);