libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
Collaboration diagram for SCB_CPUID Values:

Macros

#define SCB_CPUID_IMPLEMENTER_LSB   24
 Implementer[31:24]: Implementer code. More...
 
#define SCB_CPUID_IMPLEMENTER   (0xFF << SCB_CPUID_IMPLEMENTER_LSB)
 
#define SCB_CPUID_VARIANT_LSB   20
 Variant[23:20]: Variant number. More...
 
#define SCB_CPUID_VARIANT   (0xF << SCB_CPUID_VARIANT_LSB)
 
#define SCB_CPUID_CONSTANT_LSB   16
 Constant[19:16] Reads as 0xF (ARMv7-M) M3, M4 Reads as 0xC (ARMv6-M) M0, M0+. More...
 
#define SCB_CPUID_CONSTANT   (0xF << SCB_CPUID_CONSTANT_LSB)
 
#define SCB_CPUID_CONSTANT_ARMV6   (0xC << SCB_CPUID_CONSTANT_LSB)
 
#define SCB_CPUID_CONSTANT_ARMV7   (0xF << SCB_CPUID_CONSTANT_LSB)
 
#define SCB_CPUID_PARTNO_LSB   4
 PartNo[15:4]: Part number of the processor. More...
 
#define SCB_CPUID_PARTNO   (0xFFF << SCB_CPUID_PARTNO_LSB)
 
#define SCB_CPUID_REVISION_LSB   0
 Revision[3:0]: Revision number. More...
 
#define SCB_CPUID_REVISION   (0xF << SCB_CPUID_REVISION_LSB)
 

Detailed Description

Macro Definition Documentation

◆ SCB_CPUID_CONSTANT

#define SCB_CPUID_CONSTANT   (0xF << SCB_CPUID_CONSTANT_LSB)

Definition at line 216 of file scb.h.

◆ SCB_CPUID_CONSTANT_ARMV6

#define SCB_CPUID_CONSTANT_ARMV6   (0xC << SCB_CPUID_CONSTANT_LSB)

Definition at line 217 of file scb.h.

◆ SCB_CPUID_CONSTANT_ARMV7

#define SCB_CPUID_CONSTANT_ARMV7   (0xF << SCB_CPUID_CONSTANT_LSB)

Definition at line 218 of file scb.h.

◆ SCB_CPUID_CONSTANT_LSB

#define SCB_CPUID_CONSTANT_LSB   16

Constant[19:16] Reads as 0xF (ARMv7-M) M3, M4 Reads as 0xC (ARMv6-M) M0, M0+.

Definition at line 215 of file scb.h.

◆ SCB_CPUID_IMPLEMENTER

#define SCB_CPUID_IMPLEMENTER   (0xFF << SCB_CPUID_IMPLEMENTER_LSB)

Definition at line 207 of file scb.h.

◆ SCB_CPUID_IMPLEMENTER_LSB

#define SCB_CPUID_IMPLEMENTER_LSB   24

Implementer[31:24]: Implementer code.

Definition at line 206 of file scb.h.

◆ SCB_CPUID_PARTNO

#define SCB_CPUID_PARTNO   (0xFFF << SCB_CPUID_PARTNO_LSB)

Definition at line 222 of file scb.h.

◆ SCB_CPUID_PARTNO_LSB

#define SCB_CPUID_PARTNO_LSB   4

PartNo[15:4]: Part number of the processor.

Definition at line 221 of file scb.h.

◆ SCB_CPUID_REVISION

#define SCB_CPUID_REVISION   (0xF << SCB_CPUID_REVISION_LSB)

Definition at line 225 of file scb.h.

◆ SCB_CPUID_REVISION_LSB

#define SCB_CPUID_REVISION_LSB   0

Revision[3:0]: Revision number.

Definition at line 224 of file scb.h.

◆ SCB_CPUID_VARIANT

#define SCB_CPUID_VARIANT   (0xF << SCB_CPUID_VARIANT_LSB)

Definition at line 210 of file scb.h.

◆ SCB_CPUID_VARIANT_LSB

#define SCB_CPUID_VARIANT_LSB   20

Variant[23:20]: Variant number.

Definition at line 209 of file scb.h.