Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
targets/cmsis/TARGET_NXP/TARGET_LPC2460/vector_realmonitor.c@554:edd95c0879f8, 2015-06-01 (annotated)
- Committer:
- mbed_official
- Date:
- Mon Jun 01 11:00:11 2015 +0100
- Revision:
- 554:edd95c0879f8
Synchronized with git revision 7a1d25e3dfbe5bc1457774d4af3c73383a0ff81d
Full URL: https://github.com/mbedmicro/mbed/commit/7a1d25e3dfbe5bc1457774d4af3c73383a0ff81d/
Silicon Labs - Initial test framework pin definitions for EFM32 platforms
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 554:edd95c0879f8 | 1 | /* mbed Microcontroller Library - RealMonitor |
mbed_official | 554:edd95c0879f8 | 2 | * Copyright (c) 2006-2015 ARM Limited. All rights reserved. |
mbed_official | 554:edd95c0879f8 | 3 | */ |
mbed_official | 554:edd95c0879f8 | 4 | #include "vector_defns.h" |
mbed_official | 554:edd95c0879f8 | 5 | |
mbed_official | 554:edd95c0879f8 | 6 | extern void __mbed_dcc_irq(void); |
mbed_official | 554:edd95c0879f8 | 7 | |
mbed_official | 554:edd95c0879f8 | 8 | /* Function: __mbed_init_realmonitor |
mbed_official | 554:edd95c0879f8 | 9 | * Setup the RealMonitor DCC Interrupt Handlers |
mbed_official | 554:edd95c0879f8 | 10 | */ |
mbed_official | 554:edd95c0879f8 | 11 | void __mbed_init_realmonitor(void) __attribute__((weak)); |
mbed_official | 554:edd95c0879f8 | 12 | void __mbed_init_realmonitor() { |
mbed_official | 554:edd95c0879f8 | 13 | // Disable all interrupts |
mbed_official | 554:edd95c0879f8 | 14 | VICIntEnClr = 0xffffffff; |
mbed_official | 554:edd95c0879f8 | 15 | |
mbed_official | 554:edd95c0879f8 | 16 | // Set DCC interrupt vector addresses |
mbed_official | 554:edd95c0879f8 | 17 | VICVectAddr2 = (unsigned)&__mbed_dcc_irq; |
mbed_official | 554:edd95c0879f8 | 18 | VICVectAddr3 = (unsigned)&__mbed_dcc_irq; |
mbed_official | 554:edd95c0879f8 | 19 | |
mbed_official | 554:edd95c0879f8 | 20 | // Initialise RealMonitor |
mbed_official | 554:edd95c0879f8 | 21 | ((void (*)(void))rm_init_entry)(); |
mbed_official | 554:edd95c0879f8 | 22 | } |