RTEMS
5.0.0
|
TMS570 interrupt support functions definitions. More...
#include <bsp.h>
#include <bsp/irq-generic.h>
#include <bsp/tms570-vim.h>
#include <bsp/irq.h>
#include <rtems/score/armv4.h>
Functions | |
void | tms570_irq_set_priority (rtems_vector_number vector, unsigned priority) |
Set priority of the interrupt vector. More... | |
unsigned | tms570_irq_get_priority (rtems_vector_number vector) |
Gets priority of the interrupt vector. More... | |
void | bsp_interrupt_dispatch (void) |
Interrupt dispatch. More... | |
void | bsp_interrupt_vector_enable (rtems_vector_number vector) |
enables interrupt vector in the HW More... | |
void | bsp_interrupt_vector_disable (rtems_vector_number vector) |
disables interrupt vector in the HW More... | |
rtems_status_code | bsp_interrupt_facility_initialize (void) |
Init function of interrupt module. More... | |
Variables | |
unsigned int | priorityTable [BSP_INTERRUPT_VECTOR_MAX+1] |
TMS570 interrupt support functions definitions.
unsigned tms570_irq_get_priority | ( | rtems_vector_number | vector | ) |
Gets priority of the interrupt vector.
This function is here because of compability. It returns priority of the isr vector last set by tms570_irq_set_priority function.
[in] | vector | vector of isr |
0 | vector is invalid. |
priority | priority of the interrupt |
void tms570_irq_set_priority | ( | rtems_vector_number | vector, |
unsigned | priority | ||
) |
Set priority of the interrupt vector.
This function is here because of compability. It should set priority of the interrupt vector.
[in] | vector | vector of isr |
[in] | priority | new priority assigned to the vector |