chip/at32uc3a3/include/chip/twis.h File Reference

AT32UC3A3 chip-specific TWIS definitions. More...

#include <chip/memory-map.h>
#include <chip/irq-map.h>
#include <stddef.h>

Include dependency graph for twis.h:

Go to the source code of this file.

Functions

static void * get_twis_regs (unsigned int id)
 Get a pointer to the TWIS registers.
static unsigned int get_twis_irq (unsigned int id)
 Get the IRQ of a TWIS module.


Detailed Description

AT32UC3A3 chip-specific TWIS definitions.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file twis.h.


Function Documentation

static unsigned int get_twis_irq ( unsigned int  id  )  [inline, static]

Get the IRQ of a TWIS module.

Parameters:
id The ID of the TWIS module.
Returns:
The IRQ of the TWIS module.

Definition at line 78 of file twis.h.

References assert.

static void* get_twis_regs ( unsigned int  id  )  [inline, static]

Get a pointer to the TWIS registers.

Parameters:
id The ID of the TWIS module.
Returns:
A pointer to a virtual address corresponding to the base address of the TWIS id registers.

Definition at line 56 of file twis.h.

References assert, and unhandled_case.


Generated on Tue Sep 15 10:18:44 2009 for libavr32 by  doxygen 1.5.8