* arch/arm/src/samd2l2/hardware/samd21_memorymap.h
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
* ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*
****************************************************************************/
* "Atmel SAM D21E / SAM D21G / SAM D21J SMART ARM-Based Microcontroller
* Datasheet", Atmel-42181E-SAM-D21_Datasheet-02/2015
*/
#ifndef __ARCH_ARM_SRC_SAMD2L2_HARDWARE_SAMD21_MEMORYMAP_H
#define __ARCH_ARM_SRC_SAMD2L2_HARDWARE_SAMD21_MEMORYMAP_H
* Included Files
****************************************************************************/
#include <nuttx/config.h>
#include "chip.h"
* Pre-processor Definitions
****************************************************************************/
#define SAM_FLASH_BASE 0x00000000
#define SAM_FLASHRWW_BASE 0x00100000
#define SAM_CALIB_BASE 0x00800000
#define SAM_SRAM_BASE 0x20000000
#define SAM_AHBA_BASE 0x40000000
#define SAM_AHBB_BASE 0x41000000
#define SAM_AHBC_BASE 0x42000000
#define SAM_AUTOCAL_BASE 0x00800000
#define SAM_AUX0_BASE 0x00804000
#define SAM_AUX1_BASE 0x00806000
# define SAM_AUX1_AREA1 0x00806000
# define SAM_AUX1_AREA2 0x00806008
# define SAM_AUX1_AREA3 0x00806010
# define SAM_AUX1_AREA4 0x00806020
#define SAM_NVMCALIB_AREA SAM_AUX1_AREA4
#define SAM_PAC0_BASE 0x40000000
#define SAM_PM_BASE 0x40000400
#define SAM_SYSCTRL_BASE 0x40000800
#define SAM_GCLK_BASE 0x40000c00
#define SAM_WDT_BASE 0x40001000
#define SAM_RTC_BASE 0x40001400
#define SAM_EIC_BASE 0x40001800
#define SAM_PAC1_BASE 0x41000000
#define SAM_DSU_BASE 0x41002000
#define SAM_NVMCTRL_BASE 0x41004000
#define SAM_PORT_BASE 0x41004400
#define SAM_DMAC_BASE 0x41004800
#define SAM_USB_BASE 0x41005000
#define SAM_MTB_BASE 0x41006000
#define SAM_PAC2_BASE 0x42000000
#define SAM_EVSYS_BASE 0x42000400
#define SAM_SERCOM0_BASE 0x42000800
#define SAM_SERCOM1_BASE 0x42000c00
#define SAM_SERCOM2_BASE 0x42001000
#define SAM_SERCOM3_BASE 0x42001400
#define SAM_SERCOM4_BASE 0x42001800
#define SAM_SERCOM5_BASE 0x42001c00
#define SAM_TCC0_BASE 0x42002000
#define SAM_TCC1_BASE 0x42002400
#define SAM_TCC2_BASE 0x42002800
#define SAM_TC3_BASE 0x42002c00
#define SAM_TC4_BASE 0x42003000
#define SAM_TC5_BASE 0x42003400
#define SAM_TC6_BASE 0x42003800
#define SAM_TC7_BASE 0x42003c00
#define SAM_ADC_BASE 0x42004000
#define SAM_AC_BASE 0x42004400
#define SAM_DAC_BASE 0x42004800
#define SAM_PTC_BASE 0x42004c00
#define SAM_I2S_BASE 0x42005000
* Public Types
****************************************************************************/
* Public Data
****************************************************************************/
* Public Functions Prototypes
****************************************************************************/
#endif