CMSIS2000  0.0.7
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
startup_ARMCM0.s File Reference

Go to the source code of this file.

Functions

Reset Handler Reset_Handler
PROC EXPORT Reset_Handler[WEAK]
IMPORT SystemInit IMPORT
__main LDR Dummy Exception 
Handlers (infinite loops which can be modified) NMI_Handler PROC EXPORT NMI_Handler[WEAK] B.ENDP HardFault_Handler PROC EXPORT HardFault_Handler[WEAK] B.ENDP SVC_Handler PROC EXPORT SVC_Handler[WEAK] B.ENDP PendSV_Handler PROC EXPORT PendSV_Handler[WEAK] B.ENDP SysTick_Handler PROC EXPORT SysTick_Handler[WEAK] B.ENDP Default_Handler PROC EXPORT WDT_IRQHandler[WEAK] EXPORT RTC_IRQHandler[WEAK] EXPORT TIM0_IRQHandler[WEAK] EXPORT TIM2_IRQHandler[WEAK] EXPORT MCIA_IRQHandler[WEAK] EXPORT MCIB_IRQHandler[WEAK] EXPORT UART0_IRQHandler[WEAK] EXPORT UART1_IRQHandler[WEAK] EXPORT UART2_IRQHandler[WEAK] EXPORT UART3_IRQHandler[WEAK] EXPORT UART4_IRQHandler[WEAK] EXPORT AACI_IRQHandler[WEAK] EXPORT CLCD_IRQHandler[WEAK] EXPORT ENET_IRQHandler[WEAK] EXPORT USBDC_IRQHandler[WEAK] EXPORT USBHC_IRQHandler[WEAK] EXPORT CHLCD_IRQHandler[WEAK] EXPORT FLEXRAY_IRQHandler[WEAK] EXPORT CAN_IRQHandler[WEAK] EXPORT LIN_IRQHandler[WEAK] EXPORT I2C_IRQHandler[WEAK] EXPORT CPU_CLCD_IRQHandler[WEAK] EXPORT SPI_IRQHandler[WEAK] WDT_IRQHandler RTC_IRQHandler TIM0_IRQHandler TIM2_IRQHandler MCIA_IRQHandler MCIB_IRQHandler UART0_IRQHandler UART1_IRQHandler UART2_IRQHandler UART3_IRQHandler UART4_IRQHandler AACI_IRQHandler CLCD_IRQHandler ENET_IRQHandler USBDC_IRQHandler USBHC_IRQHandler CHLCD_IRQHandler FLEXRAY_IRQHandler CAN_IRQHandler LIN_IRQHandler I2C_IRQHandler CPU_CLCD_IRQHandler SPI_IRQHandler B.ENDP ALIGN

Variables

Vector Table Mapped to Address
at Reset AREA READONLY EXPORT
__Vectors EXPORT __Vectors_End
EXPORT __Vectors_Size
__Vectors DCD 
__initial_sp
 __pad0__
 __pad10__
 __pad11__
 __pad12__
 __pad13__
 __pad14__
 __pad15__
 __pad16__
 __pad17__
 __pad18__
 __pad19__
 __pad1__
 __pad20__
 __pad21__
 __pad22__
 __pad23__
 __pad24__
 __pad25__
 __pad26__
 __pad27__
 __pad28__
 __pad29__
 __pad2__
 __pad30__
 __pad31__
 __pad3__
 __pad4__
 __pad5__
 __pad6__
 __pad7__
 __pad8__
 __pad9__
< o > Stack Size(in Bytes)< 0x0-0xFFFFFFFF</h > Stack_Size EQU AREA ALIGN
 CODE
< h > Stack Configuration
Vector Table Mapped to Address
at Reset AREA 
DATA
Hard Fault Handler DCD
SysTick Handler
NMI Handler DCD HardFault_Handler
< o > Heap Size(in Bytes)< 0x0-0xFFFFFFFF</h > Heap_Size EQU AREA HEAP
User Initial Stack &Heap IF
Reset Handler DCD NMI_Handler
< o > Stack Size(in Bytes)< 0x0-0xFFFFFFFF</h > Stack_Size EQU AREA NOINIT
Reserved DCD PendSV_Handler
Reset Handler Reset_Handler
PROC EXPORT Reset_Handler[WEAK]
IMPORT SystemInit IMPORT
__main LDR 
R0
 READONLY
< o > Stack Size(in Bytes)< 0x0-0xFFFFFFFF</h > Stack_Size EQU AREA READWRITE
Vector Table Mapped to Address
at Reset AREA 
RESET
Top of Stack DCD Reset_Handler
 Setup the operating modes & stack.
< o > Stack Size(in Bytes)< 0x0-0xFFFFFFFF</h > Stack_Size EQU AREA STACK
Reserved DCD SVC_Handler
PendSV Handler DCD SysTick_Handler
External Interrupts DCD WDT_IRQHandler

Function Documentation

Reset Handler Reset_Handler PROC EXPORT Reset_Handler [WEAK] IMPORT SystemInit IMPORT __main LDR Dummy Exception Handlers ( infinite loops which can be  modified)

Variable Documentation

Vector Table Mapped to Address at Reset AREA READONLY EXPORT __Vectors EXPORT __Vectors_End EXPORT __Vectors_Size __Vectors DCD __initial_sp

Definition at line 58 of file startup_ARMCM0.s.

__pad0__

Definition at line 82 of file startup_ARMCM0.s.

__pad10__

Definition at line 92 of file startup_ARMCM0.s.

__pad11__

Definition at line 93 of file startup_ARMCM0.s.

__pad12__

Definition at line 94 of file startup_ARMCM0.s.

__pad13__

Definition at line 95 of file startup_ARMCM0.s.

__pad14__

Definition at line 96 of file startup_ARMCM0.s.

__pad15__

Definition at line 97 of file startup_ARMCM0.s.

__pad16__

Definition at line 98 of file startup_ARMCM0.s.

__pad17__

Definition at line 99 of file startup_ARMCM0.s.

__pad18__

Definition at line 100 of file startup_ARMCM0.s.

__pad19__

Definition at line 101 of file startup_ARMCM0.s.

__pad1__

Definition at line 83 of file startup_ARMCM0.s.

__pad20__

Definition at line 102 of file startup_ARMCM0.s.

__pad21__

Definition at line 103 of file startup_ARMCM0.s.

__pad22__

Definition at line 104 of file startup_ARMCM0.s.

__pad23__

Definition at line 105 of file startup_ARMCM0.s.

__pad24__

Definition at line 106 of file startup_ARMCM0.s.

__pad25__

Definition at line 107 of file startup_ARMCM0.s.

__pad26__

Definition at line 108 of file startup_ARMCM0.s.

__pad27__

Definition at line 109 of file startup_ARMCM0.s.

__pad28__

Definition at line 110 of file startup_ARMCM0.s.

__pad29__

Definition at line 111 of file startup_ARMCM0.s.

__pad2__

Definition at line 84 of file startup_ARMCM0.s.

__pad30__

Definition at line 112 of file startup_ARMCM0.s.

__pad31__

Definition at line 117 of file startup_ARMCM0.s.

__pad3__

Definition at line 85 of file startup_ARMCM0.s.

__pad4__

Definition at line 86 of file startup_ARMCM0.s.

__pad5__

Definition at line 87 of file startup_ARMCM0.s.

__pad6__

Definition at line 88 of file startup_ARMCM0.s.

__pad7__

Definition at line 89 of file startup_ARMCM0.s.

__pad8__

Definition at line 90 of file startup_ARMCM0.s.

__pad9__

Definition at line 91 of file startup_ARMCM0.s.

<o> Heap Size (in Bytes) <0x0-0xFFFFFFFF</h> Heap_Size EQU AREA ALIGN
Initial value:
3
Stack_Mem SPACE Stack_Size

Definition at line 35 of file startup_ARMCM0.s.

READONLY CRP_Key DCD ENDIF AREA CODE

Definition at line 117 of file startup_ARMCM0.s.

< h > Heap Configuration

Definition at line 24 of file startup_ARMCM0.s.

Vector Table Mapped to Address at Reset AREA DATA

Definition at line 58 of file startup_ARMCM0.s.

Debug Monitor Handler DCD

Definition at line 67 of file startup_ARMCM0.s.

SysTick Handler

Definition at line 80 of file startup_ARMCM0.s.

global _Reset_Handler type function global Reset_Handler type function syntax unified arch armv6 m section w align globl __StackTop globl __StackLimit __StackLimit __StackTop section heap align globl __HeapBase globl __HeapLimit __HeapBase __HeapLimit section isr_vector align globl __isr_vector type object globl __cs3_interrupt_vector_cortex_m type object __isr_vector text thumb thumb_func align global _Reset_Handler type function global Reset_Handler type function global __cs3_reset_cortex_m type function r2 ble flash_to_ram_loop_end movs str adds cmp r3 blt flash_to_ram_loop LDR R2 BEQ BSSIsEmpty R2 BHS BSSIsEmpty STR adds BLO LoopZI Reset_Handler weak NMI_Handler type function NMI_Handler weak HardFault_Handler type function HardFault_Handler

Definition at line 66 of file startup_ARMCM0.s.

<o> Heap Size (in Bytes) <0x0-0xFFFFFFFF</h> Heap_Size EQU AREA HEAP

Definition at line 41 of file startup_ARMCM0.s.

User Initial Stack& Heap IF

Definition at line 228 of file startup_ARMCM0.s.

global _Reset_Handler type function global Reset_Handler type function syntax unified arch armv6 m section w align globl __StackTop globl __StackLimit __StackLimit __StackTop section heap align globl __HeapBase globl __HeapLimit __HeapBase __HeapLimit section isr_vector align globl __isr_vector type object globl __cs3_interrupt_vector_cortex_m type object __isr_vector text thumb thumb_func align global _Reset_Handler type function global Reset_Handler type function global __cs3_reset_cortex_m type function r2 ble flash_to_ram_loop_end movs str adds cmp r3 blt flash_to_ram_loop LDR R2 BEQ BSSIsEmpty R2 BHS BSSIsEmpty STR adds BLO LoopZI Reset_Handler weak NMI_Handler type function NMI_Handler

Definition at line 65 of file startup_ARMCM0.s.

<o> Heap Size (in Bytes) <0x0-0xFFFFFFFF</h> Heap_Size EQU AREA NOINIT

Definition at line 30 of file startup_ARMCM0.s.

global _Reset_Handler type function global Reset_Handler type function syntax unified arch armv6 m section w align globl __StackTop globl __StackLimit __StackLimit __StackTop section heap align globl __HeapBase globl __HeapLimit __HeapBase __HeapLimit section isr_vector align globl __isr_vector type object globl __cs3_interrupt_vector_cortex_m type object __isr_vector text thumb thumb_func align global _Reset_Handler type function global Reset_Handler type function global __cs3_reset_cortex_m type function r2 ble flash_to_ram_loop_end movs str adds cmp r3 blt flash_to_ram_loop LDR R2 BEQ BSSIsEmpty R2 BHS BSSIsEmpty STR adds BLO LoopZI Reset_Handler weak NMI_Handler type function NMI_Handler weak HardFault_Handler type function HardFault_Handler weak MemManage_Handler type function MemManage_Handler weak BusFault_Handler type function BusFault_Handler weak UsageFault_Handler type function UsageFault_Handler weak SVC_Handler type function SVC_Handler weak DebugMon_Handler type function DebugMon_Handler weak PendSV_Handler type function PendSV_Handler

Definition at line 77 of file startup_ARMCM0.s.

PC MOV PC BX R4 ADDNE R14 CMP R6 R7 LDRLO STRLO BLO l1 MOV R10 STRLO BLO l2 SUB MSR MOV R0 MSR MOV R0 MSR MOV R0 MSR MOV R0 MSR SUB R0

Definition at line 126 of file startup_ARMCM0.s.

READONLY

Definition at line 117 of file startup_ARMCM0.s.

<o> Heap Size (in Bytes) <0x0-0xFFFFFFFF</h> Heap_Size EQU AREA READWRITE

Definition at line 30 of file startup_ARMCM0.s.

Vector Table Mapped to Address at Reset AREA RESET

Definition at line 58 of file startup_ARMCM0.s.

Referenced by USARTy_IRQHandler(), and USARTz_IRQHandler().

LSR ADD STR void Reset_Handler

Setup the operating modes & stack.

  • Initialize Interrupt System
  • Set stack location for each mode
  • Leave in System Mode with Interrupts Disabled ——————————————————————————

Definition at line 64 of file startup_ARMCM0.s.

<o> Stack Size (in Bytes) <0x0-0xFFFFFFFF</h> Stack_Size EQU AREA STACK

Definition at line 30 of file startup_ARMCM0.s.

global _Reset_Handler type function global Reset_Handler type function syntax unified arch armv6 m section w align globl __StackTop globl __StackLimit __StackLimit __StackTop section heap align globl __HeapBase globl __HeapLimit __HeapBase __HeapLimit section isr_vector align globl __isr_vector type object globl __cs3_interrupt_vector_cortex_m type object __isr_vector text thumb thumb_func align global _Reset_Handler type function global Reset_Handler type function global __cs3_reset_cortex_m type function r2 ble flash_to_ram_loop_end movs str adds cmp r3 blt flash_to_ram_loop LDR R2 BEQ BSSIsEmpty R2 BHS BSSIsEmpty STR adds BLO LoopZI Reset_Handler weak NMI_Handler type function NMI_Handler weak HardFault_Handler type function HardFault_Handler weak MemManage_Handler type function MemManage_Handler weak BusFault_Handler type function BusFault_Handler weak UsageFault_Handler type function UsageFault_Handler weak SVC_Handler type function SVC_Handler

Definition at line 74 of file startup_ARMCM0.s.

global _Reset_Handler type function global Reset_Handler type function syntax unified arch armv6 m section w align globl __StackTop globl __StackLimit __StackLimit __StackTop section heap align globl __HeapBase globl __HeapLimit __HeapBase __HeapLimit section isr_vector align globl __isr_vector type object globl __cs3_interrupt_vector_cortex_m type object __isr_vector text thumb thumb_func align global _Reset_Handler type function global Reset_Handler type function global __cs3_reset_cortex_m type function r2 ble flash_to_ram_loop_end movs str adds cmp r3 blt flash_to_ram_loop LDR R2 BEQ BSSIsEmpty R2 BHS BSSIsEmpty STR adds BLO LoopZI Reset_Handler weak NMI_Handler type function NMI_Handler weak HardFault_Handler type function HardFault_Handler weak MemManage_Handler type function MemManage_Handler weak BusFault_Handler type function BusFault_Handler weak UsageFault_Handler type function UsageFault_Handler weak SVC_Handler type function SVC_Handler weak DebugMon_Handler type function DebugMon_Handler weak PendSV_Handler type function PendSV_Handler weak SysTick_Handler type function SysTick_Handler

Definition at line 78 of file startup_ARMCM0.s.

External Interrupts DCD WDT_IRQHandler

Definition at line 81 of file startup_ARMCM0.s.