25 lines
677 B
Plaintext
25 lines
677 B
Plaintext
/*
|
|
* File : interrupt.h
|
|
* This file is part of RT-Thread RTOS
|
|
* COPYRIGHT (C) 2011, 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
|
|
* 2013-07-06 Bernard first version
|
|
*/
|
|
|
|
#ifndef __INTERRUPT_H__
|
|
#define __INTERRUPT_H__
|
|
|
|
void rt_hw_interrupt_control(int vector, int priority, int route);
|
|
int rt_hw_interrupt_get_active(int fiq_irq);
|
|
void rt_hw_interrupt_ack(int fiq_irq);
|
|
void rt_hw_interrupt_trigger(int vector);
|
|
void rt_hw_interrupt_clear(int vector);
|
|
|
|
#endif
|