sysirq_at91.h File Reference
System irq handler for Atmel AT91 ARM7 processors (interface). More...
#include <cfg/compiler.h>Go to the source code of this file.
Data Structures | |
| struct | SysIrq |
| Structure used to define a system interrupt source. More... | |
Typedefs | |
| typedef void(* | sysirq_handler_t )(void) |
| Type for system irq handler. | |
| typedef void(* | sysirq_setEnable_t )(bool) |
| Type for system irq enable/disable function. | |
| typedef struct SysIrq | SysIrq |
| Structure used to define a system interrupt source. | |
| typedef enum sysirq_t | sysirq_t |
| System IRQ ID list. | |
Enumerations | |
| enum | sysirq_t { SYSIRQ_PIT } |
System IRQ ID list. More... | |
Functions | |
| void | sysirq_init (void) |
| Init system IRQ handling. | |
| void | sysirq_setHandler (sysirq_t irq, sysirq_handler_t handler) |
| Helper function used to set handler for system IRQ irq. | |
| void | sysirq_setEnable (sysirq_t irq, bool enable) |
| Helper function used to enable/disable system IRQ irq. | |
| bool | sysirq_enabled (sysirq_t irq) |
| Helper function used to get system IRQ irq state. | |
Detailed Description
System irq handler for Atmel AT91 ARM7 processors (interface).
- Version:
- Id
- sysirq_at91.h 846 2007-10-11 14:08:10Z batt
Definition in file sysirq_at91.h.
Enumeration Type Documentation
| enum sysirq_t |
System IRQ ID list.
- Enumerator:
SYSIRQ_PIT Periodic Interval Timer.
Definition at line 61 of file sysirq_at91.h.
Function Documentation
| void sysirq_init | ( | void | ) |
Init system IRQ handling.
- Note:
- all system interrupts are disabled.
Definition at line 126 of file sysirq_at91.c.
