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 */

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 */