MacroRat / MouseCode

Dependencies:   ITG3200 QEI

Committer:
sahilmgandhi
Date:
Sun May 14 23:18:57 2017 +0000
Revision:
18:6a4db94011d3
Publishing again

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sahilmgandhi 18:6a4db94011d3 1 ; mbed Microcontroller Library
sahilmgandhi 18:6a4db94011d3 2 ; Copyright (c) 2016 u-blox.
sahilmgandhi 18:6a4db94011d3 3 ;Licensed under the Apache License, Version 2.0 (the "License");
sahilmgandhi 18:6a4db94011d3 4 ;you may not use this file except in compliance with the License.
sahilmgandhi 18:6a4db94011d3 5 ;You may obtain a copy of the License at
sahilmgandhi 18:6a4db94011d3 6 ;http://www.apache.org/licenses/LICENSE-2.0
sahilmgandhi 18:6a4db94011d3 7 ;Unless required by applicable law or agreed to in writing, software
sahilmgandhi 18:6a4db94011d3 8 ;distributed under the License is distributed on an "AS IS" BASIS,
sahilmgandhi 18:6a4db94011d3 9 ;WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
sahilmgandhi 18:6a4db94011d3 10 ;See the License for the specific language governing permissions and
sahilmgandhi 18:6a4db94011d3 11 ;limitations under the License.
sahilmgandhi 18:6a4db94011d3 12
sahilmgandhi 18:6a4db94011d3 13 ; Description message
sahilmgandhi 18:6a4db94011d3 14
sahilmgandhi 18:6a4db94011d3 15 __initial_sp EQU (0x01000000 + 0x5000 - 256)
sahilmgandhi 18:6a4db94011d3 16
sahilmgandhi 18:6a4db94011d3 17 PRESERVE8
sahilmgandhi 18:6a4db94011d3 18 THUMB
sahilmgandhi 18:6a4db94011d3 19
sahilmgandhi 18:6a4db94011d3 20 ; Vector Table Mapped to Address 0 at Reset
sahilmgandhi 18:6a4db94011d3 21
sahilmgandhi 18:6a4db94011d3 22 AREA RESET, DATA, READONLY
sahilmgandhi 18:6a4db94011d3 23 EXPORT __Vectors
sahilmgandhi 18:6a4db94011d3 24 EXPORT __Vectors_End
sahilmgandhi 18:6a4db94011d3 25 EXPORT __Vectors_Size
sahilmgandhi 18:6a4db94011d3 26
sahilmgandhi 18:6a4db94011d3 27 __Vectors DCD __initial_sp ; Top of Stack
sahilmgandhi 18:6a4db94011d3 28 DCD Reset_Handler ; Reset Handler
sahilmgandhi 18:6a4db94011d3 29 DCD NMI_Handler ; NMI Handler
sahilmgandhi 18:6a4db94011d3 30 DCD HardFault_Handler ; Hard Fault Handler
sahilmgandhi 18:6a4db94011d3 31 DCD 0 ; Reserved
sahilmgandhi 18:6a4db94011d3 32 DCD 0 ; Reserved
sahilmgandhi 18:6a4db94011d3 33 DCD 0 ; Reserved
sahilmgandhi 18:6a4db94011d3 34 DCD 0 ; Reserved
sahilmgandhi 18:6a4db94011d3 35 DCD 0 ; Reserved
sahilmgandhi 18:6a4db94011d3 36 DCD 0 ; Reserved
sahilmgandhi 18:6a4db94011d3 37 DCD 0 ; Reserved
sahilmgandhi 18:6a4db94011d3 38 DCD SVC_Handler ; SVCall Handler
sahilmgandhi 18:6a4db94011d3 39 DCD 0 ; Reserved
sahilmgandhi 18:6a4db94011d3 40 DCD 0 ; Reserved
sahilmgandhi 18:6a4db94011d3 41 DCD PendSV_Handler ; PendSV Handler
sahilmgandhi 18:6a4db94011d3 42 DCD SysTick_Handler ; SysTick Handler
sahilmgandhi 18:6a4db94011d3 43
sahilmgandhi 18:6a4db94011d3 44 ; External Interrupts
sahilmgandhi 18:6a4db94011d3 45 DCD IRQ0_RTC_Handler
sahilmgandhi 18:6a4db94011d3 46 DCD IRQ1_TMR0_Handler
sahilmgandhi 18:6a4db94011d3 47 DCD IRQ2_SECURITY_Handler
sahilmgandhi 18:6a4db94011d3 48 DCD IRQ3_PROTOCOL_Handler
sahilmgandhi 18:6a4db94011d3 49 DCD IRQ4_APPS_Handler
sahilmgandhi 18:6a4db94011d3 50 DCD IRQ5_GPIO_Handler
sahilmgandhi 18:6a4db94011d3 51 DCD IRQ6_DMA_Handler
sahilmgandhi 18:6a4db94011d3 52 DCD IRQ7_UART0_Handler
sahilmgandhi 18:6a4db94011d3 53 DCD IRQ8_UART1_Handler
sahilmgandhi 18:6a4db94011d3 54 DCD IRQ9_SSP0_Handler
sahilmgandhi 18:6a4db94011d3 55 DCD IRQ10_SSP1_Handler
sahilmgandhi 18:6a4db94011d3 56 DCD IRQ11_PWM0IN_Handler
sahilmgandhi 18:6a4db94011d3 57 DCD IRQ12_PWM0OUT_Handler
sahilmgandhi 18:6a4db94011d3 58 DCD IRQ13_PWM1IN_Handler
sahilmgandhi 18:6a4db94011d3 59 DCD IRQ14_PWM1OUT_Handler
sahilmgandhi 18:6a4db94011d3 60 DCD IRQ15_I2C_Handler
sahilmgandhi 18:6a4db94011d3 61 DCD IRQ16_LPUART_Handler
sahilmgandhi 18:6a4db94011d3 62 DCD IRQ17_CAP_Handler
sahilmgandhi 18:6a4db94011d3 63 DCD 0
sahilmgandhi 18:6a4db94011d3 64 DCD 0
sahilmgandhi 18:6a4db94011d3 65 DCD 0
sahilmgandhi 18:6a4db94011d3 66 DCD 0
sahilmgandhi 18:6a4db94011d3 67 DCD 0
sahilmgandhi 18:6a4db94011d3 68 DCD 0
sahilmgandhi 18:6a4db94011d3 69 DCD 0
sahilmgandhi 18:6a4db94011d3 70 DCD 0
sahilmgandhi 18:6a4db94011d3 71 DCD 0
sahilmgandhi 18:6a4db94011d3 72 DCD 0
sahilmgandhi 18:6a4db94011d3 73 DCD 0
sahilmgandhi 18:6a4db94011d3 74 DCD 0
sahilmgandhi 18:6a4db94011d3 75 DCD 0
sahilmgandhi 18:6a4db94011d3 76 DCD 0
sahilmgandhi 18:6a4db94011d3 77
sahilmgandhi 18:6a4db94011d3 78 __Vectors_End
sahilmgandhi 18:6a4db94011d3 79
sahilmgandhi 18:6a4db94011d3 80 __Vectors_Size EQU __Vectors_End - __Vectors
sahilmgandhi 18:6a4db94011d3 81
sahilmgandhi 18:6a4db94011d3 82 AREA |.text|, CODE, READONLY
sahilmgandhi 18:6a4db94011d3 83
sahilmgandhi 18:6a4db94011d3 84 ; Reset Handler
sahilmgandhi 18:6a4db94011d3 85
sahilmgandhi 18:6a4db94011d3 86 Reset_Handler PROC
sahilmgandhi 18:6a4db94011d3 87 EXPORT Reset_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 88 IMPORT SystemInit
sahilmgandhi 18:6a4db94011d3 89 IMPORT __main
sahilmgandhi 18:6a4db94011d3 90
sahilmgandhi 18:6a4db94011d3 91 LDR R0, =SystemInit
sahilmgandhi 18:6a4db94011d3 92 BLX R0
sahilmgandhi 18:6a4db94011d3 93 LDR R0, =__main
sahilmgandhi 18:6a4db94011d3 94 BX R0
sahilmgandhi 18:6a4db94011d3 95 ENDP
sahilmgandhi 18:6a4db94011d3 96
sahilmgandhi 18:6a4db94011d3 97 ; Dummy Exception Handlers (infinite loops which can be modified)
sahilmgandhi 18:6a4db94011d3 98
sahilmgandhi 18:6a4db94011d3 99 NMI_Handler PROC
sahilmgandhi 18:6a4db94011d3 100 EXPORT NMI_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 101 B .
sahilmgandhi 18:6a4db94011d3 102 ENDP
sahilmgandhi 18:6a4db94011d3 103 HardFault_Handler\
sahilmgandhi 18:6a4db94011d3 104 PROC
sahilmgandhi 18:6a4db94011d3 105 EXPORT HardFault_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 106 B .
sahilmgandhi 18:6a4db94011d3 107 ENDP
sahilmgandhi 18:6a4db94011d3 108 SVC_Handler PROC
sahilmgandhi 18:6a4db94011d3 109 EXPORT SVC_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 110 B .
sahilmgandhi 18:6a4db94011d3 111 ENDP
sahilmgandhi 18:6a4db94011d3 112 PendSV_Handler PROC
sahilmgandhi 18:6a4db94011d3 113 EXPORT PendSV_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 114 B .
sahilmgandhi 18:6a4db94011d3 115 ENDP
sahilmgandhi 18:6a4db94011d3 116 SysTick_Handler PROC
sahilmgandhi 18:6a4db94011d3 117 EXPORT SysTick_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 118 B .
sahilmgandhi 18:6a4db94011d3 119 ENDP
sahilmgandhi 18:6a4db94011d3 120
sahilmgandhi 18:6a4db94011d3 121 Default_Handler PROC
sahilmgandhi 18:6a4db94011d3 122
sahilmgandhi 18:6a4db94011d3 123 EXPORT IRQ0_RTC_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 124 EXPORT IRQ1_TMR0_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 125 EXPORT IRQ2_SECURITY_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 126 EXPORT IRQ3_PROTOCOL_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 127 EXPORT IRQ4_APPS_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 128 EXPORT IRQ5_GPIO_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 129 EXPORT IRQ6_DMA_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 130 EXPORT IRQ7_UART0_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 131 EXPORT IRQ8_UART1_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 132 EXPORT IRQ9_SSP0_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 133 EXPORT IRQ10_SSP1_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 134 EXPORT IRQ11_PWM0IN_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 135 EXPORT IRQ12_PWM0OUT_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 136 EXPORT IRQ13_PWM1IN_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 137 EXPORT IRQ14_PWM1OUT_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 138 EXPORT IRQ15_I2C_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 139 EXPORT IRQ16_LPUART_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 140 EXPORT IRQ17_CAP_Handler [WEAK]
sahilmgandhi 18:6a4db94011d3 141 IRQ0_RTC_Handler
sahilmgandhi 18:6a4db94011d3 142 IRQ1_TMR0_Handler
sahilmgandhi 18:6a4db94011d3 143 IRQ2_SECURITY_Handler
sahilmgandhi 18:6a4db94011d3 144 IRQ3_PROTOCOL_Handler
sahilmgandhi 18:6a4db94011d3 145 IRQ4_APPS_Handler
sahilmgandhi 18:6a4db94011d3 146 IRQ5_GPIO_Handler
sahilmgandhi 18:6a4db94011d3 147 IRQ6_DMA_Handler
sahilmgandhi 18:6a4db94011d3 148 IRQ7_UART0_Handler
sahilmgandhi 18:6a4db94011d3 149 IRQ8_UART1_Handler
sahilmgandhi 18:6a4db94011d3 150 IRQ9_SSP0_Handler
sahilmgandhi 18:6a4db94011d3 151 IRQ10_SSP1_Handler
sahilmgandhi 18:6a4db94011d3 152 IRQ11_PWM0IN_Handler
sahilmgandhi 18:6a4db94011d3 153 IRQ12_PWM0OUT_Handler
sahilmgandhi 18:6a4db94011d3 154 IRQ13_PWM1IN_Handler
sahilmgandhi 18:6a4db94011d3 155 IRQ14_PWM1OUT_Handler
sahilmgandhi 18:6a4db94011d3 156 IRQ15_I2C_Handler
sahilmgandhi 18:6a4db94011d3 157 IRQ16_LPUART_Handler
sahilmgandhi 18:6a4db94011d3 158 IRQ17_CAP_Handler
sahilmgandhi 18:6a4db94011d3 159
sahilmgandhi 18:6a4db94011d3 160 B .
sahilmgandhi 18:6a4db94011d3 161 ENDP
sahilmgandhi 18:6a4db94011d3 162 ALIGN
sahilmgandhi 18:6a4db94011d3 163 END