BeRTOS
Data Structures | Typedefs | Enumerations | Functions
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.

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).

Author:
Francesco Sacchi <batt@develer.com>

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 60 of file sysirq_at91.h.


Function Documentation

void sysirq_init ( void  )

Init system IRQ handling.

Note:
all system interrupts are disabled.

Definition at line 125 of file sysirq_at91.c.