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

- Compiler: IAR EWAVR32 and GNU GCC for AVR32
- Supported devices: AT32UC3A3
- AppNote:

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.