Loading...
Searching...
No Matches
Peripheral Memory Map
Core Definitions
Collaboration diagram for Peripheral Memory Map:

## Data Structures

struct | _memory

## Macros

#define | FLASH_BASE_SHIFT 0x08000000UL
#define | FLASH_END_SHIFT 0x080FFFFFUL
#define | CCMDATARAM_BASE_SHIFT 0x10000000UL
#define | CCMDATARAM_END_SHIFT 0x1000FFFFUL
#define | FLASH_OTP_BASE_SHIFT 0x1FFF7800UL
#define | FLASH_OTP_END_SHIFT 0x1FFF7A0FUL
#define | SRAM1_BASE_SHIFT 0x20000000UL
#define | SRAM2_BASE_SHIFT 0x2001C000UL
#define | SRAM1_BB_BASE_SHIFT 0x22000000UL
#define | SRAM2_BB_BASE_SHIFT 0x22380000UL
#define | PERIPH_BASE_SHIFT 0x40000000UL
#define | BKPSRAM_BASE_SHIFT 0x40024000UL
#define | PERIPH_BB_BASE_SHIFT 0x42000000UL
#define | BKPSRAM_BB_BASE_SHIFT 0x42480000UL
#define | FSMC_R_BASE_SHIFT 0xA0000000UL
#define | MCU_MEM_END 0xA0000FFFUL
#define | CCMDATARAM_SIZE 0x10000UL /* (64 KB) */
#define | SRAM1_SIZE 0x1C000UL /* (112 KB) */
#define | SRAM2_SIZE 0x4000UL /* (16 KB) */
#define | BKPSRAM_SIZE 0x1000UL /* (4 KB) */
#define | FLASH_SIZE (CCMDATARAM_BASE_SHIFT - FLASH_BASE_SHIFT)
#define | FLASH_OTP_SIZE (SRAM1_BASE_SHIFT - FLASH_OTP_BASE_SHIFT)
#define | SRAM1_BB_SIZE (SRAM2_BB_BASE_SHIFT - SRAM1_BB_BASE_SHIFT)
#define | SRAM2_BB_SIZE (PERIPH_BASE_SHIFT - SRAM2_BB_BASE_SHIFT)
#define | PERIPH_SIZE (BKPSRAM_BASE_SHIFT - PERIPH_BASE_SHIFT)
#define | PERIPH_BB_SIZE (BKPSRAM_BB_BASE_SHIFT - PERIPH_BB_BASE_SHIFT)
#define | FSMC_R_SIZE (MCU_MEM_END - FSMC_R_BASE_SHIFT)
#define | DEBUG_MCU_SIZE (2)
#define | FLASH_BASE (MCU_MEM.CCMDATARAM_BASE)
#define | CCMDATARAM_BASE (MCU_MEM.CCMDATARAM_BASE)
#define | SRAM1_BASE (MCU_MEM.SRAM1_BASE)
#define | SRAM2_BASE (MCU_MEM.SRAM2_BASE)
#define | PERIPH_BASE (MCU_MEM.PERIPH_BASE)
#define | BKPSRAM_BASE (MCU_MEM.BKPSRAM_BASE)
#define | FSMC_R_BASE (MCU_MEM.FSMC_R_BASE)
#define | SRAM1_BB_BASE (MCU_MEM.SRAM1_BB_BASE)
#define | SRAM2_BB_BASE (MCU_MEM.SRAM2_BB_BASE)
#define | PERIPH_BB_BASE (MCU_MEM.PERIPH_BB_BASE)
#define | BKPSRAM_BB_BASE (MCU_MEM.BKPSRAM_BB_BASE)
#define | FLASH_END (MCU_MEM.FLASH_END)
#define | FLASH_OTP_BASE (MCU_MEM.FLASH_OTP_BASE)
#define | FLASH_OTP_END (MCU_MEM.FLASH_OTP_END)
#define | CCMDATARAM_END (MCU_MEM.CCMDATARAM_END)
#define | DBGMCU_BASE (MCU_MEM.DEBUG_MCU_BASE)

## Typedefs

typedef struct _memory | MCU_MemoryTypeDef

## Variables

MCU_MemoryTypeDef | MCU_MEM

## Detailed Description

## Macro Definition Documentation

## FLASH_BASE_SHIFT

#define FLASH_BASE_SHIFT 0x08000000UL

FLASH(up to 1 MB) base address in the alias region

Definition at line 68 of file stm32f407xx_matlab_memory.h.

## FLASH_END_SHIFT

#define FLASH_END_SHIFT 0x080FFFFFUL

FLASH end address

Definition at line 69 of file stm32f407xx_matlab_memory.h.

## CCMDATARAM_BASE_SHIFT

#define CCMDATARAM_BASE_SHIFT 0x10000000UL

CCM(core coupled memory) data RAM(64 KB) base address in the alias region

Definition at line 70 of file stm32f407xx_matlab_memory.h.

## CCMDATARAM_END_SHIFT

#define CCMDATARAM_END_SHIFT 0x1000FFFFUL

CCM data RAM end address

Definition at line 71 of file stm32f407xx_matlab_memory.h.

## FLASH_OTP_BASE_SHIFT

#define FLASH_OTP_BASE_SHIFT 0x1FFF7800UL

Base address of : (up to 528 Bytes) embedded FLASH OTP Area

Definition at line 72 of file stm32f407xx_matlab_memory.h.

## FLASH_OTP_END_SHIFT

#define FLASH_OTP_END_SHIFT 0x1FFF7A0FUL

End address of : (up to 528 Bytes) embedded FLASH OTP Area

Definition at line 73 of file stm32f407xx_matlab_memory.h.

## SRAM1_BASE_SHIFT

#define SRAM1_BASE_SHIFT 0x20000000UL

SRAM1(112 KB) base address in the alias region

Definition at line 74 of file stm32f407xx_matlab_memory.h.

## SRAM2_BASE_SHIFT

#define SRAM2_BASE_SHIFT 0x2001C000UL

SRAM2(16 KB) base address in the alias region

Definition at line 75 of file stm32f407xx_matlab_memory.h.

## SRAM1_BB_BASE_SHIFT

#define SRAM1_BB_BASE_SHIFT 0x22000000UL

SRAM1(112 KB) base address in the bit-band region

Definition at line 76 of file stm32f407xx_matlab_memory.h.

## SRAM2_BB_BASE_SHIFT

#define SRAM2_BB_BASE_SHIFT 0x22380000UL

SRAM2(16 KB) base address in the bit-band region

Definition at line 77 of file stm32f407xx_matlab_memory.h.

## PERIPH_BASE_SHIFT

#define PERIPH_BASE_SHIFT 0x40000000UL

Peripheral base address in the alias region

Definition at line 78 of file stm32f407xx_matlab_memory.h.

## BKPSRAM_BASE_SHIFT

#define BKPSRAM_BASE_SHIFT 0x40024000UL

Backup SRAM(4 KB) base address in the alias region

Definition at line 79 of file stm32f407xx_matlab_memory.h.

## PERIPH_BB_BASE_SHIFT

#define PERIPH_BB_BASE_SHIFT 0x42000000UL

Peripheral base address in the bit-band region

Definition at line 80 of file stm32f407xx_matlab_memory.h.

## BKPSRAM_BB_BASE_SHIFT

#define BKPSRAM_BB_BASE_SHIFT 0x42480000UL

Backup SRAM(4 KB) base address in the bit-band region

Definition at line 81 of file stm32f407xx_matlab_memory.h.

## FSMC_R_BASE_SHIFT

#define FSMC_R_BASE_SHIFT 0xA0000000UL

FSMC registers base address

Definition at line 82 of file stm32f407xx_matlab_memory.h.

## MCU_MEM_END

#define MCU_MEM_END 0xA0000FFFUL

CCM data RAM end address

Definition at line 84 of file stm32f407xx_matlab_memory.h.

## CCMDATARAM_SIZE

#define CCMDATARAM_SIZE 0x10000UL /* (64 KB) */

Definition at line 86 of file stm32f407xx_matlab_memory.h.

## SRAM1_SIZE

#define SRAM1_SIZE 0x1C000UL /* (112 KB) */

Definition at line 87 of file stm32f407xx_matlab_memory.h.

## SRAM2_SIZE

#define SRAM2_SIZE 0x4000UL /* (16 KB) */

Definition at line 88 of file stm32f407xx_matlab_memory.h.

## BKPSRAM_SIZE

#define BKPSRAM_SIZE 0x1000UL /* (4 KB) */

Definition at line 89 of file stm32f407xx_matlab_memory.h.

## FLASH_SIZE

#define FLASH_SIZE (CCMDATARAM_BASE_SHIFT - FLASH_BASE_SHIFT)

Definition at line 91 of file stm32f407xx_matlab_memory.h.

## FLASH_OTP_SIZE

#define FLASH_OTP_SIZE (SRAM1_BASE_SHIFT - FLASH_OTP_BASE_SHIFT)

Definition at line 93 of file stm32f407xx_matlab_memory.h.

## SRAM1_BB_SIZE

#define SRAM1_BB_SIZE (SRAM2_BB_BASE_SHIFT - SRAM1_BB_BASE_SHIFT)

Definition at line 96 of file stm32f407xx_matlab_memory.h.

## SRAM2_BB_SIZE

#define SRAM2_BB_SIZE (PERIPH_BASE_SHIFT - SRAM2_BB_BASE_SHIFT)

Definition at line 97 of file stm32f407xx_matlab_memory.h.

## PERIPH_SIZE

#define PERIPH_SIZE (BKPSRAM_BASE_SHIFT - PERIPH_BASE_SHIFT)

Definition at line 98 of file stm32f407xx_matlab_memory.h.

## PERIPH_BB_SIZE

#define PERIPH_BB_SIZE (BKPSRAM_BB_BASE_SHIFT - PERIPH_BB_BASE_SHIFT)

Definition at line 100 of file stm32f407xx_matlab_memory.h.

## FSMC_R_SIZE

#define FSMC_R_SIZE (MCU_MEM_END - FSMC_R_BASE_SHIFT)

Definition at line 102 of file stm32f407xx_matlab_memory.h.

## DEBUG_MCU_SIZE

#define DEBUG_MCU_SIZE (2)

Definition at line 103 of file stm32f407xx_matlab_memory.h.

## FLASH_BASE

#define FLASH_BASE (MCU_MEM.CCMDATARAM_BASE)

FLASH(up to 1 MB) base address in the alias region

Definition at line 126 of file stm32f407xx_matlab_memory.h.

## CCMDATARAM_BASE

#define CCMDATARAM_BASE (MCU_MEM.CCMDATARAM_BASE)

CCM(core coupled memory) data RAM(64 KB) base address in the alias region

Definition at line 127 of file stm32f407xx_matlab_memory.h.

## SRAM1_BASE

#define SRAM1_BASE (MCU_MEM.SRAM1_BASE)

SRAM1(112 KB) base address in the alias region

Definition at line 128 of file stm32f407xx_matlab_memory.h.

## SRAM2_BASE

#define SRAM2_BASE (MCU_MEM.SRAM2_BASE)

SRAM2(16 KB) base address in the alias region

Definition at line 129 of file stm32f407xx_matlab_memory.h.

## PERIPH_BASE

#define PERIPH_BASE (MCU_MEM.PERIPH_BASE)

Peripheral base address in the alias region

Definition at line 130 of file stm32f407xx_matlab_memory.h.

## BKPSRAM_BASE

#define BKPSRAM_BASE (MCU_MEM.BKPSRAM_BASE)

Backup SRAM(4 KB) base address in the alias region

Definition at line 131 of file stm32f407xx_matlab_memory.h.

## FSMC_R_BASE

#define FSMC_R_BASE (MCU_MEM.FSMC_R_BASE)

FSMC registers base address

Definition at line 132 of file stm32f407xx_matlab_memory.h.

## SRAM1_BB_BASE

#define SRAM1_BB_BASE (MCU_MEM.SRAM1_BB_BASE)

SRAM1(112 KB) base address in the bit-band region

Definition at line 133 of file stm32f407xx_matlab_memory.h.

## SRAM2_BB_BASE

#define SRAM2_BB_BASE (MCU_MEM.SRAM2_BB_BASE)

SRAM2(16 KB) base address in the bit-band region

Definition at line 134 of file stm32f407xx_matlab_memory.h.

## PERIPH_BB_BASE

#define PERIPH_BB_BASE (MCU_MEM.PERIPH_BB_BASE)

Peripheral base address in the bit-band region

Definition at line 135 of file stm32f407xx_matlab_memory.h.

## BKPSRAM_BB_BASE

#define BKPSRAM_BB_BASE (MCU_MEM.BKPSRAM_BB_BASE)

Backup SRAM(4 KB) base address in the bit-band region

Definition at line 136 of file stm32f407xx_matlab_memory.h.

## FLASH_END

#define FLASH_END (MCU_MEM.FLASH_END)

FLASH end address

Definition at line 137 of file stm32f407xx_matlab_memory.h.

## FLASH_OTP_BASE

#define FLASH_OTP_BASE (MCU_MEM.FLASH_OTP_BASE)

Base address of : (up to 528 Bytes) embedded FLASH OTP Area

Definition at line 138 of file stm32f407xx_matlab_memory.h.

## FLASH_OTP_END

#define FLASH_OTP_END (MCU_MEM.FLASH_OTP_END)

End address of : (up to 528 Bytes) embedded FLASH OTP Area

Definition at line 139 of file stm32f407xx_matlab_memory.h.

## CCMDATARAM_END

#define CCMDATARAM_END (MCU_MEM.CCMDATARAM_END)

CCM data RAM end address
Debug MCU registers base address

Definition at line 140 of file stm32f407xx_matlab_memory.h.

## DBGMCU_BASE

#define DBGMCU_BASE (MCU_MEM.DEBUG_MCU_BASE)

Definition at line 143 of file stm32f407xx_matlab_memory.h.

## Typedef Documentation

## MCU_MemoryTypeDef

typedef struct _memory MCU_MemoryTypeDef

## Variable Documentation

## MCU_MEM

MCU_MemoryTypeDef MCU_MEM

extern

Definition at line 13 of file stm32f4xx_matlab_conf.c.