mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PinNames.h
- Revision:
- 186:707f6e361f3e
- Parent:
- 181:57724642e740
- Child:
- 187:0387e8f68319
--- a/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PinNames.h Thu Apr 19 17:12:19 2018 +0100 +++ b/targets/TARGET_STM/TARGET_STM32L0/TARGET_NUCLEO_L011K4/PinNames.h Fri Jun 22 16:45:37 2018 +0100 @@ -1,6 +1,6 @@ /* mbed Microcontroller Library ******************************************************************************* - * Copyright (c) 2015, STMicroelectronics + * Copyright (c) 2018, STMicroelectronics * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -27,12 +27,17 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ******************************************************************************* */ + #ifndef MBED_PINNAMES_H #define MBED_PINNAMES_H #include "cmsis.h" #include "PinNamesTypes.h" +#ifdef __cplusplus +extern "C" { +#endif + typedef enum { ALT0 = 0x100, ALT1 = 0x200, @@ -40,10 +45,6 @@ ALT3 = 0x400 } ALTx; -#ifdef __cplusplus -extern "C" { -#endif - typedef enum { PA_0 = 0x00, PA_0_ALT0 = PA_0|ALT0, @@ -138,6 +139,19 @@ SPI_CS = PA_11, PWM_OUT = PB_0, +/**** OSCILLATOR pins ****/ + RCC_OSC32_IN = PC_14, + RCC_OSC32_OUT = PC_15, + +/**** DEBUG pins ****/ + SYS_PVD_IN = PB_7, + SYS_SWCLK = PA_14, + SYS_SWDIO = PA_13, + SYS_VREF_OUT_PB0 = PB_0, + SYS_VREF_OUT_PB1 = PB_1, + SYS_WKUP1 = PA_0, + SYS_WKUP3 = PA_2, + // Not connected NC = (int)0xFFFFFFFF } PinName;