См. документацию.
80 #define __SC300_REV 0x0000
81 #define __MPU_PRESENT 1
82 #define __NVIC_PRIO_BITS 3
83 #define __Vendor_SysTickConfig 0
97 #elif defined(__ICCARM__)
98 #pragma language=extended
99 #elif defined(__GNUC__)
101 #elif defined(__TMS470__)
103 #elif defined(__TASKING__)
106 #warning Not supported compiler type
198 #if defined(__CC_ARM)
200 #elif defined(__ICCARM__)
202 #elif defined(__GNUC__)
204 #elif defined(__TMS470__)
206 #elif defined(__TASKING__)
207 #pragma warning restore
209 #warning Not supported compiler type
219 #define ARM_FLASH_BASE (0x00000000UL)
220 #define ARM_RAM_BASE (0x20000000UL)
221 #define ARM_RAM_FPGA_BASE (0x1EFF0000UL)
222 #define ARM_CPU_CFG_BASE (0xDFFF0000UL)
224 #define ARM_CPU_SYS_BASE (ARM_CPU_CFG_BASE + 0x00000)
225 #define ARM_UART3_BASE (ARM_CPU_CFG_BASE + 0x05000)
228 #define ARM_APB_BASE (0x40000000UL)
229 #define ARM_AHB_BASE (0x4FF00000UL)
230 #define ARM_DMC_BASE (0x60000000UL)
231 #define ARM_SMC_BASE (0xA0000000UL)
233 #define ARM_TIM0_BASE (ARM_APB_BASE + 0x02000)
234 #define ARM_TIM2_BASE (ARM_APB_BASE + 0x03000)
235 #define ARM_DUT_SYS_BASE (ARM_APB_BASE + 0x04000)
236 #define ARM_UART0_BASE (ARM_APB_BASE + 0x06000)
237 #define ARM_UART1_BASE (ARM_APB_BASE + 0x07000)
238 #define ARM_UART2_BASE (ARM_APB_BASE + 0x08000)
239 #define ARM_UART4_BASE (ARM_APB_BASE + 0x09000)
246 #define ARM_CPU_SYS ((ARM_CPU_SYS_TypeDef *) ARM_CPU_SYS_BASE)
247 #define ARM_UART3 (( ARM_UART_TypeDef *) ARM_UART3_BASE)
250 #define ARM_DUT_SYS ((ARM_DUT_SYS_TypeDef *) ARM_DUT_SYS_BASE)
251 #define ARM_TIM0 (( ARM_TIM_TypeDef *) ARM_TIM0_BASE)
252 #define ARM_TIM2 (( ARM_TIM_TypeDef *) ARM_TIM2_BASE)
253 #define ARM_UART0 (( ARM_UART_TypeDef *) ARM_UART0_BASE)
254 #define ARM_UART1 (( ARM_UART_TypeDef *) ARM_UART1_BASE)
255 #define ARM_UART2 (( ARM_UART_TypeDef *) ARM_UART2_BASE)
256 #define ARM_UART4 (( ARM_UART_TypeDef *) ARM_UART4_BASE)