osal_irq.h
Overview
Related Modules:
Description:
Declares interrupt request (IRQ) interfaces and common IRQ trigger modes.
Since:
1.0
Version:
1.0
Summary
Typedefs
| Typedef Name | Description |
|---|---|
| OsalIRQHandle) (uint32_t irqId, void dev) | typedef uint32_t( Defines an IRQ type. |
Enumerations
| Enumeration Name | Description |
|---|---|
| OSAL_IRQ_TRIGGER_MODE { OSAL_IRQF_TRIGGER_NONE = 0, OSAL_IRQF_TRIGGER_RISING = 1, OSAL_IRQF_TRIGGER_FALLING = 2, OSAL_IRQF_TRIGGER_HIGH = 4, OSAL_IRQF_TRIGGER_LOW = 8 } | Enumerates interrupt trigger modes. |
Functions
| Function Name | Description |
|---|---|
| OsalRegisterIrq (uint32_t irqId, uint32_t config, OsalIRQHandle handle, const char name, void dev) | int32_t Registers an IRQ. |
| OsalUnregisterIrq (uint32_t irqId) | int32_t Unregisters an IRQ. |
| OsalEnableIrq (uint32_t irqId) | int32_t Enables an IRQ. |
| OsalDisableIrq (uint32_t irqId) | int32_t Disables an IRQ. |
