RTEMS 6.1-rc4
|
Interrupt support. More...
Modules | |
QorIQ - External Interrupt Sources | |
External interrupt sources. | |
QorIQ - Internal Interrupt Sources | |
Internal interrupt sources. | |
QorIQ - Interprocessor Interrupts | |
Interprocessor interrupts. | |
QorIQ - P1020 Internal Interrupt Sources | |
P1020 internal interrupt sources. | |
QorIQ - P2020 Internal Interrupt Sources | |
P2020 internal interrupt sources. | |
Files | |
file | irq.h |
Interrupt API. | |
Macros | |
#define | QORIQ_PIC_PRIORITY_LOWEST 14 |
#define | QORIQ_PIC_PRIORITY_HIGHEST 0 |
#define | QORIQ_PIC_PRIORITY_DISABLED 15 |
#define | QORIQ_PIC_PRIORITY_INVALID 16 |
#define | QORIQ_PIC_PRIORITY_DEFAULT 13 |
#define | QORIQ_PIC_PRIORITY_IS_VALID(p) (((uint32_t) (p)) <= QORIQ_PIC_PRIORITY_DISABLED) |
Enumerations | |
enum | qoriq_eirq_sense_and_polarity { QORIQ_EIRQ_TRIGGER_EDGE_FALLING , QORIQ_EIRQ_TRIGGER_EDGE_RISING , QORIQ_EIRQ_TRIGGER_LEVEL_LOW , QORIQ_EIRQ_TRIGGER_LEVEL_HIGH } |
Functions | |
rtems_status_code | qoriq_pic_msi_allocate (rtems_vector_number *vector) |
rtems_status_code | qoriq_pic_msi_free (rtems_vector_number vector) |
rtems_status_code | qoriq_pic_msi_map (rtems_vector_number vector, uint64_t *addr, uint32_t *data) |
rtems_status_code | qoriq_pic_set_sense_and_polarity (rtems_vector_number vector, qoriq_eirq_sense_and_polarity new_sense_and_polarity, qoriq_eirq_sense_and_polarity *old_sense_and_polarity) |
Change polarity and sense settings of external interrupts. | |
Interrupt support.
rtems_status_code qoriq_pic_set_sense_and_polarity | ( | rtems_vector_number | vector, |
qoriq_eirq_sense_and_polarity | new_sense_and_polarity, | ||
qoriq_eirq_sense_and_polarity * | old_sense_and_polarity | ||
) |
Change polarity and sense settings of external interrupts.
NOTE: There are only very rare edge cases where you need this function.
vector must be the vector number of an external interrupt.
Use new_sense_and_polarity to select the new setting. If old_sense_and_polarity is not NULL, the old value is returned.