mirror of https://github.com/ARMmbed/mbed-os.git
Move GPIO_AF_NONE from PeripheralPins.h to PinNamesTypes.h
parent
fcef50fcd2
commit
e3a34a57e1
|
@ -34,8 +34,6 @@
|
|||
#include "pinmap.h"
|
||||
#include "PeripheralNames.h"
|
||||
|
||||
#define GPIO_AF_NONE 0
|
||||
|
||||
//*** ADC ***
|
||||
#if DEVICE_ANALOGIN
|
||||
extern const PinMap PinMap_ADC[];
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
#ifndef MBED_PERIPHERALPINMAPS_H
|
||||
#define MBED_PERIPHERALPINMAPS_H
|
||||
|
||||
#include "PinNamesTypes.h"
|
||||
#include <mstd_cstddef>
|
||||
|
||||
//*** ADC ***
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
#ifndef MBED_PERIPHERALPINMAPS_H
|
||||
#define MBED_PERIPHERALPINMAPS_H
|
||||
|
||||
#include "PinNamesTypes.h"
|
||||
#include <mstd_cstddef>
|
||||
|
||||
//*** ADC ***
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
#ifndef MBED_PERIPHERALPINMAPS_H
|
||||
#define MBED_PERIPHERALPINMAPS_H
|
||||
|
||||
#include "PinNamesTypes.h"
|
||||
#include <mstd_cstddef>
|
||||
|
||||
//*** ADC ***
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
#ifndef MBED_PERIPHERALPINMAPS_H
|
||||
#define MBED_PERIPHERALPINMAPS_H
|
||||
|
||||
#include "PinNamesTypes.h"
|
||||
#include <mstd_cstddef>
|
||||
|
||||
//*** ADC ***
|
||||
|
|
Loading…
Reference in New Issue