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 "pinmap.h"
|
||||||
#include "PeripheralNames.h"
|
#include "PeripheralNames.h"
|
||||||
|
|
||||||
#define GPIO_AF_NONE 0
|
|
||||||
|
|
||||||
//*** ADC ***
|
//*** ADC ***
|
||||||
#if DEVICE_ANALOGIN
|
#if DEVICE_ANALOGIN
|
||||||
extern const PinMap PinMap_ADC[];
|
extern const PinMap PinMap_ADC[];
|
||||||
|
|
|
@ -36,6 +36,8 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define GPIO_AF_NONE 0
|
||||||
|
|
||||||
/* STM PIN data as used in pin_function is coded on 32 bits as below
|
/* 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
|
* [2:0] Function (like in MODER reg) : Input / Output / Alt / Analog
|
||||||
* [3] Output Push-Pull / Open Drain (as in OTYPER reg)
|
* [3] Output Push-Pull / Open Drain (as in OTYPER reg)
|
||||||
|
@ -170,4 +172,3 @@ typedef enum {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
#ifndef MBED_PERIPHERALPINMAPS_H
|
#ifndef MBED_PERIPHERALPINMAPS_H
|
||||||
#define MBED_PERIPHERALPINMAPS_H
|
#define MBED_PERIPHERALPINMAPS_H
|
||||||
|
|
||||||
|
#include "PinNamesTypes.h"
|
||||||
#include <mstd_cstddef>
|
#include <mstd_cstddef>
|
||||||
|
|
||||||
//*** ADC ***
|
//*** ADC ***
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
#ifndef MBED_PERIPHERALPINMAPS_H
|
#ifndef MBED_PERIPHERALPINMAPS_H
|
||||||
#define MBED_PERIPHERALPINMAPS_H
|
#define MBED_PERIPHERALPINMAPS_H
|
||||||
|
|
||||||
|
#include "PinNamesTypes.h"
|
||||||
#include <mstd_cstddef>
|
#include <mstd_cstddef>
|
||||||
|
|
||||||
//*** ADC ***
|
//*** ADC ***
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
#ifndef MBED_PERIPHERALPINMAPS_H
|
#ifndef MBED_PERIPHERALPINMAPS_H
|
||||||
#define MBED_PERIPHERALPINMAPS_H
|
#define MBED_PERIPHERALPINMAPS_H
|
||||||
|
|
||||||
|
#include "PinNamesTypes.h"
|
||||||
#include <mstd_cstddef>
|
#include <mstd_cstddef>
|
||||||
|
|
||||||
//*** ADC ***
|
//*** ADC ***
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
#ifndef MBED_PERIPHERALPINMAPS_H
|
#ifndef MBED_PERIPHERALPINMAPS_H
|
||||||
#define MBED_PERIPHERALPINMAPS_H
|
#define MBED_PERIPHERALPINMAPS_H
|
||||||
|
|
||||||
|
#include "PinNamesTypes.h"
|
||||||
#include <mstd_cstddef>
|
#include <mstd_cstddef>
|
||||||
|
|
||||||
//*** ADC ***
|
//*** ADC ***
|
||||||
|
|
Loading…
Reference in New Issue