STM MATLAB Simulator
Loading...
Searching...
No Matches
Topics | Data Structures | Macros | Typedefs | Variables
Core Definitions

Definitions for base addresses, unions, and structures. More...

+ Collaboration diagram for Core Definitions:

Topics

 Peripheral Memory Map
 

Data Structures

struct  _cortex_memory
 

Macros

#define SCS_BASE_SHIFT   (0x0000E000UL)
 
#define ITM_BASE_SHIFT   (0x00000000UL)
 
#define DWT_BASE_SHIFT   (0x00001000UL)
 
#define TPI_BASE_SHIFT   (0x00040000UL)
 
#define CoreDebug_BASE_SHIFT   (0x0000EDF0UL)
 
#define SCS_BASE   (MCU_CORTEX_MEM.CORTEX_PERIPH_BASE) + SCS_BASE_SHIFT
 
#define ITM_BASE   (MCU_CORTEX_MEM.CORTEX_PERIPH_BASE) + SCS_BASE_SHIFT
 
#define DWT_BASE   (MCU_CORTEX_MEM.CORTEX_PERIPH_BASE) + SCS_BASE_SHIFT
 
#define TPI_BASE   (MCU_CORTEX_MEM.CORTEX_PERIPH_BASE) + SCS_BASE_SHIFT
 
#define CoreDebug_BASE   (MCU_CORTEX_MEM.CORTEX_PERIPH_BASE) + SCS_BASE_SHIFT
 
#define SysTick_BASE   (SCS_BASE + 0x0010UL)
 
#define NVIC_BASE   (SCS_BASE + 0x0100UL)
 
#define SCB_BASE   (SCS_BASE + 0x0D00UL)
 
#define SCnSCB   ((SCnSCB_Type *) SCS_BASE )
 
#define SCB   ((SCB_Type *) SCB_BASE )
 
#define SysTick   ((SysTick_Type *) SysTick_BASE )
 
#define NVIC   ((NVIC_Type *) NVIC_BASE )
 
#define ITM   ((ITM_Type *) ITM_BASE )
 
#define DWT   ((DWT_Type *) DWT_BASE )
 
#define TPI   ((TPI_Type *) TPI_BASE )
 
#define FPU_BASE   (SCS_BASE + 0x0F30UL)
 
#define FPU   ((FPU_Type *) FPU_BASE )
 

Typedefs

typedef struct _cortex_memory MCU_CortexMemoryTypeDef
 

Variables

MCU_CortexMemoryTypeDef MCU_CORTEX_MEM
 

Detailed Description

Definitions for base addresses, unions, and structures.

Macro Definition Documentation

◆ SCS_BASE_SHIFT

#define SCS_BASE_SHIFT   (0x0000E000UL)

System Control Space Base Address

Definition at line 20 of file stm32f407xx_matlab_memory.h.

◆ ITM_BASE_SHIFT

#define ITM_BASE_SHIFT   (0x00000000UL)

ITM Base Address

Definition at line 21 of file stm32f407xx_matlab_memory.h.

◆ DWT_BASE_SHIFT

#define DWT_BASE_SHIFT   (0x00001000UL)

DWT Base Address

Definition at line 22 of file stm32f407xx_matlab_memory.h.

◆ TPI_BASE_SHIFT

#define TPI_BASE_SHIFT   (0x00040000UL)

TPI Base Address

Definition at line 23 of file stm32f407xx_matlab_memory.h.

◆ CoreDebug_BASE_SHIFT

#define CoreDebug_BASE_SHIFT   (0x0000EDF0UL)

Core Debug Base Address

Definition at line 24 of file stm32f407xx_matlab_memory.h.

◆ SCS_BASE

#define SCS_BASE   (MCU_CORTEX_MEM.CORTEX_PERIPH_BASE) + SCS_BASE_SHIFT

System Control Space Base Address

Definition at line 32 of file stm32f407xx_matlab_memory.h.

◆ ITM_BASE

#define ITM_BASE   (MCU_CORTEX_MEM.CORTEX_PERIPH_BASE) + SCS_BASE_SHIFT

ITM Base Address

Definition at line 33 of file stm32f407xx_matlab_memory.h.

◆ DWT_BASE

#define DWT_BASE   (MCU_CORTEX_MEM.CORTEX_PERIPH_BASE) + SCS_BASE_SHIFT

DWT Base Address

Definition at line 34 of file stm32f407xx_matlab_memory.h.

◆ TPI_BASE

#define TPI_BASE   (MCU_CORTEX_MEM.CORTEX_PERIPH_BASE) + SCS_BASE_SHIFT

TPI Base Address

Definition at line 35 of file stm32f407xx_matlab_memory.h.

◆ CoreDebug_BASE

#define CoreDebug_BASE   (MCU_CORTEX_MEM.CORTEX_PERIPH_BASE) + SCS_BASE_SHIFT

Core Debug Base Address

Definition at line 36 of file stm32f407xx_matlab_memory.h.

◆ SysTick_BASE

#define SysTick_BASE   (SCS_BASE + 0x0010UL)

SysTick Base Address

Definition at line 37 of file stm32f407xx_matlab_memory.h.

◆ NVIC_BASE

#define NVIC_BASE   (SCS_BASE + 0x0100UL)

NVIC Base Address

Definition at line 38 of file stm32f407xx_matlab_memory.h.

◆ SCB_BASE

#define SCB_BASE   (SCS_BASE + 0x0D00UL)

System Control Block Base Address

Definition at line 39 of file stm32f407xx_matlab_memory.h.

◆ SCnSCB

#define SCnSCB   ((SCnSCB_Type *) SCS_BASE )

System control Register not in SCB

Definition at line 41 of file stm32f407xx_matlab_memory.h.

◆ SCB

#define SCB   ((SCB_Type *) SCB_BASE )

SCB configuration struct

Definition at line 42 of file stm32f407xx_matlab_memory.h.

◆ SysTick

#define SysTick   ((SysTick_Type *) SysTick_BASE )

SysTick configuration struct

Definition at line 43 of file stm32f407xx_matlab_memory.h.

◆ NVIC

#define NVIC   ((NVIC_Type *) NVIC_BASE )

NVIC configuration struct

Definition at line 44 of file stm32f407xx_matlab_memory.h.

◆ ITM

#define ITM   ((ITM_Type *) ITM_BASE )

ITM configuration struct

Definition at line 45 of file stm32f407xx_matlab_memory.h.

◆ DWT

#define DWT   ((DWT_Type *) DWT_BASE )

DWT configuration struct

Definition at line 46 of file stm32f407xx_matlab_memory.h.

◆ TPI

#define TPI   ((TPI_Type *) TPI_BASE )

TPI configuration struct

Definition at line 47 of file stm32f407xx_matlab_memory.h.

◆ FPU_BASE

#define FPU_BASE   (SCS_BASE + 0x0F30UL)

Floating Point Unit

Definition at line 54 of file stm32f407xx_matlab_memory.h.

◆ FPU

#define FPU   ((FPU_Type *) FPU_BASE )

Floating Point Unit

Definition at line 55 of file stm32f407xx_matlab_memory.h.

Typedef Documentation

◆ MCU_CortexMemoryTypeDef

Variable Documentation

◆ MCU_CORTEX_MEM

MCU_CortexMemoryTypeDef MCU_CORTEX_MEM
extern

Definition at line 14 of file stm32f4xx_matlab_conf.c.