mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 11:27:08 +08:00
This filename conflicts with the 'mbedtls' package. They are renamed in the name of the corresponding chips and included in 'board.h'. Files that rely on this file should include 'board.h' instead.
33 lines
726 B
C
33 lines
726 B
C
/*
|
|
* Copyright (c) 2006-2018, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2013-07-06 Bernard first version
|
|
*/
|
|
|
|
#ifndef __INTERRUPT_H__
|
|
#define __INTERRUPT_H__
|
|
|
|
#include <rthw.h>
|
|
#include <board.h>
|
|
|
|
#define INT_IRQ 0x00
|
|
#define INT_FIQ 0x01
|
|
|
|
void rt_hw_interrupt_control(int vector, int priority, int route);
|
|
|
|
void rt_hw_interrupt_init(void);
|
|
void rt_hw_interrupt_mask(int vector);
|
|
void rt_hw_interrupt_umask(int vector);
|
|
|
|
int rt_hw_interrupt_get_irq(void);
|
|
void rt_hw_interrupt_ack(int vector);
|
|
|
|
rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler,
|
|
void *param, const char *name);
|
|
|
|
#endif
|