20 lines
		
	
	
		
			553 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			553 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * File      : interrupt.c
 | |
|  * This file is part of RT-Thread RTOS
 | |
|  * COPYRIGHT (C) 2010, RT-Thread Development Team
 | |
|  *
 | |
|  * The license and distribution terms for this file may be
 | |
|  * found in the file LICENSE in this distribution or at
 | |
|  * http://www.rt-thread.org/license/LICENSE
 | |
|  *
 | |
|  * Change Logs:
 | |
|  * Date           Author       Notes
 | |
|  * 2010-03-30     Kyle         Ported from STM32 to AVR32.
 | |
|  */
 | |
| 
 | |
| #include <rtthread.h>
 | |
| #include "compiler.h"
 | |
| 
 | |
| rt_uint32_t rt_interrupt_from_thread, rt_interrupt_to_thread;
 | |
| rt_uint32_t rt_thread_switch_interrupt_flag;
 |