# arch/avr32/exception.c File Reference

Default exception handler for AVR32. More...

`#include <compiler.h>`
`#include <debug.h>`
`#include <types.h>`

Include dependency graph for exception.c:

Go to the source code of this file.

## Functions
void __weak | do_unknown_exception (unsigned int cause, uint32_t *regs)
| Default unknown exception handler for AVR32.

## Detailed Description

Default exception handler for AVR32.

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

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

Definition in file exception.c.

## Function Documentation

void __weak do_unknown_exception | ( | unsigned int | cause,
|  | uint32_t * | regs |
| ) |  |  |

Default unknown exception handler for AVR32.

This function is called when an unexpected exception is triggered. It currently does nothing.

This function can be overridden by the application if it needs to do something special.

Parameters:

  | cause | The value of the Exception Cause Register.
  | regs | A snapshot of the register file at the time when the exception was triggered.

Definition at line 58 of file exception.c.

References dbg_panic.