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
vector_realmonitor.c
00001 /* mbed Microcontroller Library - RealMonitor 00002 * Copyright (c) 2006-2009 ARM Limited. All rights reserved. 00003 */ 00004 #include "vector_defns.h" 00005 00006 extern void __mbed_dcc_irq(void); 00007 00008 /* Function: __mbed_init_realmonitor 00009 * Setup the RealMonitor DCC Interrupt Handlers 00010 */ 00011 void __mbed_init_realmonitor(void) __attribute__((weak)); 00012 void __mbed_init_realmonitor() { 00013 // Disable all interrupts 00014 VICIntEnClr = 0xffffffff; 00015 00016 // Set DCC interrupt vector addresses 00017 VICVectAddr2 = (unsigned)&__mbed_dcc_irq; 00018 VICVectAddr3 = (unsigned)&__mbed_dcc_irq; 00019 00020 // Initialise RealMonitor 00021 ((void (*)(void))rm_init_entry)(); 00022 }
Generated on Tue Jul 12 2022 13:47:02 by
1.7.2
