mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

targets/cmsis/TARGET_NXP/TARGET_LPC2460/vector_realmonitor.c

Committer:
mbed_official
Date:
2015-07-31
Revision:
600:7d17ca308cd1
Parent:
554:edd95c0879f8

File content as of revision 600:7d17ca308cd1:

/* mbed Microcontroller Library - RealMonitor
 * Copyright (c) 2006-2015 ARM Limited. All rights reserved. 
 */
#include "vector_defns.h"

extern void __mbed_dcc_irq(void);

/* Function: __mbed_init_realmonitor
 * Setup the RealMonitor DCC Interrupt Handlers
 */
void __mbed_init_realmonitor(void) __attribute__((weak));
void __mbed_init_realmonitor() {
    // Disable all interrupts
    VICIntEnClr = 0xffffffff;
  
    // Set DCC interrupt vector addresses
    VICVectAddr2 = (unsigned)&__mbed_dcc_irq;
    VICVectAddr3 = (unsigned)&__mbed_dcc_irq;  

    // Initialise RealMonitor
    ((void (*)(void))rm_init_entry)();
}