RT-AICHIP-sample
CMSIS CM3 Core Register
CMSIS CM3 Core Register 連携図

モジュール

 CMSIS CM3 NVIC
 
 CMSIS CM3 SCB
 
 CMSIS CM3 SysTick
 
 CMSIS CM3 ITM
 
 CMSIS CM3 Interrupt Type
 
 CMSIS CM3 Core Debug
 

マクロ定義

#define SCS_BASE   (0xE000E000)
 
#define ITM_BASE   (0xE0000000)
 
#define CoreDebug_BASE   (0xE000EDF0)
 
#define SysTick_BASE   (SCS_BASE + 0x0010)
 
#define NVIC_BASE   (SCS_BASE + 0x0100)
 
#define SCB_BASE   (SCS_BASE + 0x0D00)
 
#define InterruptType   ((InterruptType_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 CoreDebug   ((CoreDebug_Type *) CoreDebug_BASE)
 

詳解

マクロ定義詳解

#define CoreDebug   ((CoreDebug_Type *) CoreDebug_BASE)

Core Debug configuration struct

core_cm3.h の 727 行目に定義があります。

#define CoreDebug_BASE   (0xE000EDF0)

Core Debug Base Address

core_cm3.h の 717 行目に定義があります。

#define InterruptType   ((InterruptType_Type *) SCS_BASE)

Interrupt Type Register

core_cm3.h の 722 行目に定義があります。

#define ITM   ((ITM_Type *) ITM_BASE)

ITM configuration struct

core_cm3.h の 726 行目に定義があります。

#define ITM_BASE   (0xE0000000)

ITM Base Address

core_cm3.h の 716 行目に定義があります。

#define NVIC   ((NVIC_Type *) NVIC_BASE)

NVIC configuration struct

core_cm3.h の 725 行目に定義があります。

#define NVIC_BASE   (SCS_BASE + 0x0100)

NVIC Base Address

core_cm3.h の 719 行目に定義があります。

#define SCB   ((SCB_Type *) SCB_BASE)

SCB configuration struct

core_cm3.h の 723 行目に定義があります。

#define SCB_BASE   (SCS_BASE + 0x0D00)

System Control Block Base Address

core_cm3.h の 720 行目に定義があります。

#define SCS_BASE   (0xE000E000)

System Control Space Base Address

core_cm3.h の 715 行目に定義があります。

#define SysTick   ((SysTick_Type *) SysTick_BASE)

SysTick configuration struct

core_cm3.h の 724 行目に定義があります。

#define SysTick_BASE   (SCS_BASE + 0x0010)

SysTick Base Address

core_cm3.h の 718 行目に定義があります。