Functions

C:/AVR32/ASF2.0.0/avr32/applications/uc3l-ek-SleepWalking-demo/SleepWalking_demo.c File Reference

SleepWalking demo application using the ADCIFB and AST interface on AVR32 devices. More...

#include "compiler.h"
#include "preprocessor.h"
#include "board.h"
#include "power_clocks_lib.h"
#include "gpio.h"
#include "ast.h"
#include "adcifb.h"

Defines

Preset value used by ADCIFB analog comparator to compare with sampled value from Accelerometer X channel, this value will change according to the ADC resolution used (8/10/12 bit)

#define SENSOR_PRESET_VALUE   0xF9
Target frequency

#define EXAMPLE_USART_CLOCK_MASK   AVR32_USART3_CLK_PBA
#define EXAMPLE_TARGET_DFLL_FREQ_HZ   96000000
#define EXAMPLE_TARGET_MCUCLK_FREQ_HZ   12000000
#define EXAMPLE_TARGET_PBACLK_FREQ_HZ   12000000
#define EXAMPLE_TARGET_CLK_ADC_FREQ_HZ   1500000

Functions

void init_ast (void)
void ADCIFB_init (void)
int main (void)
 This is an example showing how to use SleepWalking feature.
Delay routine


Detailed Description

SleepWalking demo application using the ADCIFB and AST interface on AVR32 devices.

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

Function Documentation

void ADCIFB_init ( void   ) 

ADCIFB_init.

void init_ast ( void   ) 

AST Init.

 All Files Functions