config.h File Reference


Detailed Description

This file contains the function declarations.

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

Definition in file config.h.

#include "TinyX61_macros.h"

Include dependency graph for config.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ADC_MUX_SPEED_REF   ADMUX_PA2
 ADC multiplexer selection for channel Speed Reference sampling.
#define ADC_MUX_U   ADMUX_PA1
 ADC multiplexer selection for channel U sampling.
#define ADC_MUX_V   ADMUX_PA4
 ADC multiplexer selection for channel V sampling.
#define ADC_MUX_W   ADMUX_PA5
 ADC multiplexer selection for channel W sampling.
#define ADC_REF_CHANNEL   ((0 << REFS1) | (1 << REFS0))
 ADC reference channel selection.
#define DIRECTION_OF_ROTATION   CW
 Direction of rotation. Set to either CW or CCW for.
#define FOSC   8000
 CPU core frequency in kHz.
#define UH   PB1
#define UL   PB0
 Driver stage pin mapping.
#define VH   PB3
#define VL   PB2
#define WH   PB5
#define WL   PB4


Define Documentation

#define ADC_MUX_SPEED_REF   ADMUX_PA2

ADC multiplexer selection for channel Speed Reference sampling.

Definition at line 76 of file config.h.

#define ADC_MUX_U   ADMUX_PA1

ADC multiplexer selection for channel U sampling.

Definition at line 67 of file config.h.

#define ADC_MUX_V   ADMUX_PA4

ADC multiplexer selection for channel V sampling.

Definition at line 70 of file config.h.

#define ADC_MUX_W   ADMUX_PA5

ADC multiplexer selection for channel W sampling.

Definition at line 73 of file config.h.

#define ADC_REF_CHANNEL   ((0 << REFS1) | (1 << REFS0))

ADC reference channel selection.

Definition at line 79 of file config.h.

#define DIRECTION_OF_ROTATION   CW

Direction of rotation. Set to either CW or CCW for.

Definition at line 82 of file config.h.

#define FOSC   8000

CPU core frequency in kHz.

Definition at line 54 of file config.h.

Referenced by twi_lib_init().

#define UH   PB1

Definition at line 59 of file config.h.

#define UL   PB0

Driver stage pin mapping.

Definition at line 58 of file config.h.

#define VH   PB3

Definition at line 61 of file config.h.

#define VL   PB2

Definition at line 60 of file config.h.

#define WH   PB5

Definition at line 63 of file config.h.

#define WL   PB4

Definition at line 62 of file config.h.


Generated on Mon Dec 1 11:12:21 2008 for AVR498 : Atmel BLDC control on ATAVRMC301 with ATtiny861 by  doxygen 1.5.4