Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
Diff: targets/hal/TARGET_Atmel/TARGET_SAM21/PeripheralPins.h
- Revision:
- 592:a274ee790e56
- Parent:
- 579:53297373a894
--- a/targets/hal/TARGET_Atmel/TARGET_SAM21/PeripheralPins.h Wed Jul 15 08:15:08 2015 +0100 +++ b/targets/hal/TARGET_Atmel/TARGET_SAM21/PeripheralPins.h Fri Jul 17 09:15:10 2015 +0100 @@ -20,34 +20,21 @@ #include "pinmap.h" #include "PeripheralNames.h" -void find_pin_settings (PinName output, PinName input, PinName clock, PinName chipsel, uint32_t* pad_pinmuxes); // clock also for RTS and chipsel for CTS -uint32_t find_mux_setting (PinName output, PinName input, PinName clock, PinName chipsel); /************RTC***************/ //extern const PinMap PinMap_RTC[]; /************ADC***************/ -//extern const PinMap PinMap_ADC[]; - -/************DAC***************/ -//extern const PinMap PinMap_DAC[]; - -/************I2C***************/ -//extern const PinMap PinMap_I2C_SDA[]; -//extern const PinMap PinMap_I2C_SCL[]; +extern const PinMap PinMap_ADC[]; -/************UART***************/ -extern const PinMap PinMap_UART_TX[]; -extern const PinMap PinMap_UART_RX[]; - -/************SPI***************/ -//extern const PinMap PinMap_SPI_SCLK[]; -//extern const PinMap PinMap_SPI_MOSI[]; -//extern const PinMap PinMap_SPI_MISO[]; -//extern const PinMap PinMap_SPI_SSEL[]; +//*********SERCOM*************/ +extern const PinMap PinMap_SERCOM_PAD[]; +extern const PinMap PinMap_SERCOM_PADEx[]; /************PWM***************/ //extern const PinMap PinMap_PWM[]; +/**********EXTINT*************/ +extern const PinMap PinMap_EXTINT[]; #endif
