| Xmega IEC60730 Class B Library 1.0 |

All Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
analog/UserApplication.c File Reference

## Detailed Description

This in an demo application for the ADC and DAC tests.

Application note:
  AVR1610: Guide to IEC60730 Class B compliance with XMEGA

Documentation
  For comprehensive code documentation, supported compilers, compiler settings and supported devices see readme.html

Author:
  Atmel Corporation: http://www.atmel.com
  Support email: avr@a.nosp@m.tmel.nosp@m..com

Copyright (C) 2012 Atmel Corporation. All rights reserved.

Definition in file analog/UserApplication.c.

`#include "avr_compiler.h"`
`#include "classb_analog.h"`
Include dependency graph for analog/UserApplication.c:

Go to the source code of this file.

## Macros
Board configuration
#define | LEDPORT PORTR
#define | SWITCHPORT0 PORTE
#define | SWITCHPORT1 PORTF
#define | SWITCH0_INT0_vect PORTE_INT0_vect
#define | SWITCH1_INT0_vect PORTF_INT0_vect
#define | XPLAIN_PULLUP 0x00

## Functions
void | setup_led_switches_pmic ()
| Setup LEDs and button.
| ISR (SWITCH0_INT0_vect)
| Interrupt for SW0 press.

## Variables
NO_INIT volatile uint8_t | classb_error
| Global error flag.

## Function Documentation

ISR | ( | SWITCH0_INT0_vect |  | ) |

Interrupt for SW0 press.

Definition at line 119 of file analog/UserApplication.c.

References classb_analog_io_test().

Here is the call graph for this function: