RT-AICHIP-sample
CM3 Core Definitions
CM3 Core Definitions 連携図

モジュール

 CMSIS CM3 Core Register
 
 CMSIS CM3 Core Function Interface
 
 CMSIS CM3 Core Debug Interface
 

マクロ定義

#define __CM3_CMSIS_VERSION_MAIN   (0x01)
 
#define __CM3_CMSIS_VERSION_SUB   (0x30)
 
#define __CM3_CMSIS_VERSION   ((__CM3_CMSIS_VERSION_MAIN << 16) | __CM3_CMSIS_VERSION_SUB)
 
#define __CORTEX_M   (0x03)
 
#define __NVIC_PRIO_BITS   4
 
#define __I   volatile const
 
#define __O   volatile
 
#define __IO   volatile
 

詳解

This file defines all structures and symbols for CMSIS core:

マクロ定義詳解

#define __CM3_CMSIS_VERSION   ((__CM3_CMSIS_VERSION_MAIN << 16) | __CM3_CMSIS_VERSION_SUB)

CMSIS HAL version number

core_cm3.h86 行目に定義があります。

#define __CM3_CMSIS_VERSION_MAIN   (0x01)

[31:16] CMSIS HAL main version

core_cm3.h84 行目に定義があります。

#define __CM3_CMSIS_VERSION_SUB   (0x30)

[15:0] CMSIS HAL sub version

core_cm3.h85 行目に定義があります。

#define __CORTEX_M   (0x03)

Cortex core

core_cm3.h88 行目に定義があります。

#define __I   volatile const

IO definitions

define access restrictions to peripheral registersdefines 'read only' permissions

core_cm3.h113 行目に定義があります。

#define __IO   volatile

defines 'read / write' permissions

core_cm3.h116 行目に定義があります。

#define __NVIC_PRIO_BITS   4

standard definition for NVIC Priority Bits

core_cm3.h98 行目に定義があります。

#define __O   volatile

defines 'write only' permissions

core_cm3.h115 行目に定義があります。