cantata
Macros
Peripheral_memory_map
Collaboration diagram for Peripheral_memory_map:

Macros

#define FLASH_BASE   0x08000000UL
 
#define FLASH_BANK1_END   0x0801FFFFUL
 
#define SRAM_BASE   0x20000000UL
 
#define PERIPH_BASE   0x40000000UL
 
#define SRAM_BB_BASE   0x22000000UL
 
#define PERIPH_BB_BASE   0x42000000UL
 
#define APB1PERIPH_BASE   PERIPH_BASE
 
#define APB2PERIPH_BASE   (PERIPH_BASE + 0x00010000UL)
 
#define AHBPERIPH_BASE   (PERIPH_BASE + 0x00020000UL)
 
#define TIM2_BASE   (APB1PERIPH_BASE + 0x00000000UL)
 
#define TIM3_BASE   (APB1PERIPH_BASE + 0x00000400UL)
 
#define TIM4_BASE   (APB1PERIPH_BASE + 0x00000800UL)
 
#define RTC_BASE   (APB1PERIPH_BASE + 0x00002800UL)
 
#define WWDG_BASE   (APB1PERIPH_BASE + 0x00002C00UL)
 
#define IWDG_BASE   (APB1PERIPH_BASE + 0x00003000UL)
 
#define SPI2_BASE   (APB1PERIPH_BASE + 0x00003800UL)
 
#define USART2_BASE   (APB1PERIPH_BASE + 0x00004400UL)
 
#define USART3_BASE   (APB1PERIPH_BASE + 0x00004800UL)
 
#define I2C1_BASE   (APB1PERIPH_BASE + 0x00005400UL)
 
#define I2C2_BASE   (APB1PERIPH_BASE + 0x00005800UL)
 
#define CAN1_BASE   (APB1PERIPH_BASE + 0x00006400UL)
 
#define BKP_BASE   (APB1PERIPH_BASE + 0x00006C00UL)
 
#define PWR_BASE   (APB1PERIPH_BASE + 0x00007000UL)
 
#define AFIO_BASE   (APB2PERIPH_BASE + 0x00000000UL)
 
#define EXTI_BASE   (APB2PERIPH_BASE + 0x00000400UL)
 
#define GPIOA_BASE   (APB2PERIPH_BASE + 0x00000800UL)
 
#define GPIOB_BASE   (APB2PERIPH_BASE + 0x00000C00UL)
 
#define GPIOC_BASE   (APB2PERIPH_BASE + 0x00001000UL)
 
#define GPIOD_BASE   (APB2PERIPH_BASE + 0x00001400UL)
 
#define GPIOE_BASE   (APB2PERIPH_BASE + 0x00001800UL)
 
#define ADC1_BASE   (APB2PERIPH_BASE + 0x00002400UL)
 
#define ADC2_BASE   (APB2PERIPH_BASE + 0x00002800UL)
 
#define TIM1_BASE   (APB2PERIPH_BASE + 0x00002C00UL)
 
#define SPI1_BASE   (APB2PERIPH_BASE + 0x00003000UL)
 
#define USART1_BASE   (APB2PERIPH_BASE + 0x00003800UL)
 
#define DMA1_BASE   (AHBPERIPH_BASE + 0x00000000UL)
 
#define DMA1_Channel1_BASE   (AHBPERIPH_BASE + 0x00000008UL)
 
#define DMA1_Channel2_BASE   (AHBPERIPH_BASE + 0x0000001CUL)
 
#define DMA1_Channel3_BASE   (AHBPERIPH_BASE + 0x00000030UL)
 
#define DMA1_Channel4_BASE   (AHBPERIPH_BASE + 0x00000044UL)
 
#define DMA1_Channel5_BASE   (AHBPERIPH_BASE + 0x00000058UL)
 
#define DMA1_Channel6_BASE   (AHBPERIPH_BASE + 0x0000006CUL)
 
#define DMA1_Channel7_BASE   (AHBPERIPH_BASE + 0x00000080UL)
 
#define RCC_BASE   (AHBPERIPH_BASE + 0x00001000UL)
 
#define CRC_BASE   (AHBPERIPH_BASE + 0x00003000UL)
 
#define FLASH_R_BASE   (AHBPERIPH_BASE + 0x00002000UL)
 
#define FLASHSIZE_BASE   0x1FFFF7E0UL
 
#define UID_BASE   0x1FFFF7E8UL
 
#define OB_BASE   0x1FFFF800UL
 
#define DBGMCU_BASE   0xE0042000UL
 
#define USB_BASE   (APB1PERIPH_BASE + 0x00005C00UL)
 
#define USB_PMAADDR   (APB1PERIPH_BASE + 0x00006000UL)
 

Detailed Description

Macro Definition Documentation

◆ DBGMCU_BASE

#define DBGMCU_BASE   0xE0042000UL

Debug MCU registers base address

◆ FLASH_BANK1_END

#define FLASH_BANK1_END   0x0801FFFFUL

FLASH END address of bank1

◆ FLASH_BASE

#define FLASH_BASE   0x08000000UL

FLASH base address in the alias region

◆ FLASH_R_BASE

#define FLASH_R_BASE   (AHBPERIPH_BASE + 0x00002000UL)

Flash registers base address

◆ FLASHSIZE_BASE

#define FLASHSIZE_BASE   0x1FFFF7E0UL

FLASH Size register base address

◆ OB_BASE

#define OB_BASE   0x1FFFF800UL

Flash Option Bytes base address

◆ PERIPH_BASE

#define PERIPH_BASE   0x40000000UL

Peripheral base address in the alias region

◆ PERIPH_BB_BASE

#define PERIPH_BB_BASE   0x42000000UL

Peripheral base address in the bit-band region Peripheral memory map

◆ SRAM_BASE

#define SRAM_BASE   0x20000000UL

SRAM base address in the alias region

◆ SRAM_BB_BASE

#define SRAM_BB_BASE   0x22000000UL

SRAM base address in the bit-band region

◆ UID_BASE

#define UID_BASE   0x1FFFF7E8UL

Unique device ID register base address

◆ USB_BASE

#define USB_BASE   (APB1PERIPH_BASE + 0x00005C00UL)

USB_IP Peripheral Registers base address

◆ USB_PMAADDR

#define USB_PMAADDR   (APB1PERIPH_BASE + 0x00006000UL)

USB_IP Packet Memory Area base address