См. документацию.
32 #if defined ( __ICCARM__ )
33 #pragma system_include
40 #ifndef __CORE_7TDMI_H_GENERIC
41 #define __CORE_7TDMI_H_GENERIC
65 #define __CM3_CMSIS_VERSION_MAIN (0x02)
66 #define __CM3_CMSIS_VERSION_SUB (0x00)
67 #define __CM3_CMSIS_VERSION ((__CM3_CMSIS_VERSION_MAIN << 16) | __CM3_CMSIS_VERSION_SUB)
69 #define __CORTEX_M (-1)
71 #if defined ( __CC_ARM )
73 #define __INLINE __inline
74 #define __STATIC_INLINE static __inline
76 #elif defined ( __ICCARM__ )
78 #define __INLINE inline
79 #define __STATIC_INLINE static inline
81 #elif defined ( __TMS470__ )
83 #define __STATIC_INLINE static inline
85 #elif defined ( __GNUC__ )
87 #define __INLINE inline
88 #define __STATIC_INLINE static inline
90 #elif defined ( __TASKING__ )
92 #define __INLINE inline
93 #define __STATIC_INLINE static inline
107 #ifndef __CMSIS_GENERIC
111 #ifndef __CORE_7TDMI_H_DEPENDANT
112 #define __CORE_7TDMI_H_DEPENDANT
118 #define __I volatile const
121 #define __IO volatile
146 #define CPSR_M_USR 0x10
147 #define CPSR_M_FIQ 0x11
148 #define CPSR_M_IRQ 0x12
149 #define CPSR_M_SVC 0x13
150 #define CPSR_M_ABT 0x17
151 #define CPSR_M_UND 0x1B
152 #define CPSR_M_SYS 0x1F