Move GPIO_AF_NONE from PeripheralPins.h to PinNamesTypes.h

pull/11892/head
Przemyslaw Stekiel 2019-11-13 10:59:37 +01:00
parent fcef50fcd2
commit e3a34a57e1
6 changed files with 6 additions and 3 deletions

View File

@ -34,8 +34,6 @@
#include "pinmap.h"
#include "PeripheralNames.h"
#define GPIO_AF_NONE 0
//*** ADC ***
#if DEVICE_ANALOGIN
extern const PinMap PinMap_ADC[];

View File

@ -36,6 +36,8 @@
extern "C" {
#endif
#define GPIO_AF_NONE 0
/* STM PIN data as used in pin_function is coded on 32 bits as below
* [2:0] Function (like in MODER reg) : Input / Output / Alt / Analog
* [3] Output Push-Pull / Open Drain (as in OTYPER reg)
@ -170,4 +172,3 @@ typedef enum {
#endif
#endif

View File

@ -49,6 +49,7 @@
#ifndef MBED_PERIPHERALPINMAPS_H
#define MBED_PERIPHERALPINMAPS_H
#include "PinNamesTypes.h"
#include <mstd_cstddef>
//*** ADC ***

View File

@ -49,6 +49,7 @@
#ifndef MBED_PERIPHERALPINMAPS_H
#define MBED_PERIPHERALPINMAPS_H
#include "PinNamesTypes.h"
#include <mstd_cstddef>
//*** ADC ***

View File

@ -49,6 +49,7 @@
#ifndef MBED_PERIPHERALPINMAPS_H
#define MBED_PERIPHERALPINMAPS_H
#include "PinNamesTypes.h"
#include <mstd_cstddef>
//*** ADC ***

View File

@ -49,6 +49,7 @@
#ifndef MBED_PERIPHERALPINMAPS_H
#define MBED_PERIPHERALPINMAPS_H
#include "PinNamesTypes.h"
#include <mstd_cstddef>
//*** ADC ***