uc3l_ek.h File Reference

AT32UC3L-EK board header file. More...

#include "compiler.h"
#include "led.h"

Go to the source code of this file.

Defines

#define LED_COUNT   5
 Number of LEDs.
ADC Connections of the Accelerometer



#define ADC_ACC_X_CHANNEL   6
#define ADC_ACC_X_FUNCTION   AVR32_ADCIFB_AD_6_FUNCTION
#define ADC_ACC_X_PIN   AVR32_ADCIFB_AD_6_PIN
#define ADC_ACC_Y_CHANNEL   7
#define ADC_ACC_Y_FUNCTION   AVR32_ADCIFB_AD_7_FUNCTION
#define ADC_ACC_Y_PIN   AVR32_ADCIFB_AD_7_PIN
#define ADC_ACC_Z_CHANNEL   8
#define ADC_ACC_Z_FUNCTION   AVR32_ADCIFB_AD_8_FUNCTION
#define ADC_ACC_Z_PIN   AVR32_ADCIFB_AD_8_PIN
SPI Connections of the AT45DBX Data Flash Memory



#define AT45DBX_SPI   (&AVR32_SPI)
#define AT45DBX_SPI_MISO_FUNCTION   AVR32_SPI_MISO_0_0_FUNCTION
#define AT45DBX_SPI_MISO_PIN   AVR32_SPI_MISO_0_0_PIN
#define AT45DBX_SPI_MOSI_FUNCTION   AVR32_SPI_MOSI_0_0_FUNCTION
#define AT45DBX_SPI_MOSI_PIN   AVR32_SPI_MOSI_0_0_PIN
#define AT45DBX_SPI_NPCS   0
#define AT45DBX_SPI_NPCS0_FUNCTION   AVR32_SPI_NPCS_0_0_FUNCTION
#define AT45DBX_SPI_NPCS0_PIN   AVR32_SPI_NPCS_0_0_PIN
#define AT45DBX_SPI_SCK_FUNCTION   AVR32_SPI_SCK_0_0_FUNCTION
#define AT45DBX_SPI_SCK_PIN   AVR32_SPI_SCK_0_0_PIN
Oscillator Definitions



#define FOSC0   ((int)"NONE")
 Osc0 frequency: Hz.
#define FOSC32   32768
 Osc32 frequency: Hz.
#define FRCOSC   AVR32_SCIF_RCOSC_FREQUENCY
 RCOsc frequency: Hz.
#define OSC32_STARTUP   AVR32_SCIF_OSCCTRL32_STARTUP_8192_RCOSC
 Osc32 startup time: RCOsc periods.
GPIO Connections of Push Buttons



#define GPIO_WAKE_BUTTON   AVR32_PIN_PA11
#define GPIO_WAKE_BUTTON_PRESSED   0
GPIO Connections of LEDs



#define LED0_GPIO   AVR32_PIN_PA21
#define LED1_GPIO   AVR32_PIN_PB10
#define LED2_GPIO   AVR32_PIN_PB02
#define LED3_GPIO   AVR32_PIN_PB03
#define LED4_GPIO   AVR32_PIN_PB11
PWM Channels of LEDs



#define LED0_PWM   21
#define LED1_PWM   33
#define LED2_PWM   25
#define LED3_PWM   26
#define LED4_PWM   34
PWM Functions of LEDs



#define LED0_PWM_FUNCTION   AVR32_PWMA_21_FUNCTION
 Bit mask for the PWMA channels connected to the LEDs.
#define LED1_PWM_FUNCTION   AVR32_PWMA_33_FUNCTION
 Bit mask for the PWMA channels connected to the LEDs.
#define LED2_PWM_FUNCTION   AVR32_PWMA_25_FUNCTION
 Bit mask for the PWMA channels connected to the LEDs.
#define LED3_PWM_FUNCTION   AVR32_PWMA_26_FUNCTION
 Bit mask for the PWMA channels connected to the LEDs.
#define LED4_PWM_FUNCTION   AVR32_PWMA_34_FUNCTION
 Bit mask for the PWMA channels connected to the LEDs.
#define LED_PWMA_CHANNELS_MASK   0x606200000ULL
 Bit mask for the PWMA channels connected to the LEDs.
QMatrix connections of the touch sensors



#define QMATRIX_BTNS_DOWN_X6_FUNCTION   AVR32_CAT_CSA_6_FUNCTION
 Buttons X connections.
#define QMATRIX_BTNS_DOWN_X6_PIN   AVR32_CAT_CSA_6_PIN
 Buttons X connections.
#define QMATRIX_BTNS_LEFT_X10_FUNCTION   AVR32_CAT_CSA_10_FUNCTION
 Buttons X connections.
#define QMATRIX_BTNS_LEFT_X10_PIN   AVR32_CAT_CSA_10_PIN
 Buttons X connections.
#define QMATRIX_BTNS_PLAYPAUSE_X14_FUNCTION   AVR32_CAT_CSA_14_FUNCTION
 Buttons X connections.
#define QMATRIX_BTNS_PLAYPAUSE_X14_PIN   AVR32_CAT_CSA_14_PIN
 Buttons X connections.
#define QMATRIX_BTNS_RIGHT_X15_FUNCTION   AVR32_CAT_CSB_14_FUNCTION
 Buttons X connections.
#define QMATRIX_BTNS_RIGHT_X15_PIN   AVR32_CAT_CSB_14_PIN
 Buttons X connections.
#define QMATRIX_BTNS_UP_X7_FUNCTION   AVR32_CAT_CSB_6_FUNCTION
 Buttons X connections.
#define QMATRIX_BTNS_UP_X7_PIN   AVR32_CAT_CSB_6_PIN
 Buttons X connections.
#define QMATRIX_BTNS_Y7_FUNCTION   AVR32_CAT_CSA_15_FUNCTION
 Buttons X connections.
#define QMATRIX_BTNS_Y7_PIN   AVR32_CAT_CSA_15_PIN
 Buttons Y connections.
#define QMATRIX_BTNS_YK7_FUNCTION   AVR32_CAT_CSB_15_FUNCTION
 Buttons X connections.
#define QMATRIX_BTNS_YK7_PIN   AVR32_CAT_CSB_15_PIN
 Buttons X connections.
#define QMATRIX_NB_X   6
 Number of X pins.
#define QMATRIX_NB_Y   2
 Number of Y pins.
#define QMATRIX_SMP_FUNCTION   AVR32_CAT_SMP_0_4_FUNCTION
 Buttons X connections.
#define QMATRIX_SMP_PIN   AVR32_CAT_SMP_0_4_PIN
 Buttons X connections.
#define QMATRIX_WHEEL_X10_DOWNRIGHT_FUNCTION   AVR32_CAT_CSA_10_FUNCTION
 Buttons X connections.
#define QMATRIX_WHEEL_X10_DOWNRIGHT_PIN   AVR32_CAT_CSA_10_PIN
 Buttons X connections.
#define QMATRIX_WHEEL_X11_DOWNLEFT_FUNCTION   AVR32_CAT_CSB_10_FUNCTION
 Buttons X connections.
#define QMATRIX_WHEEL_X11_DOWNLEFT_PIN   AVR32_CAT_CSB_10_PIN
 Buttons X connections.
#define QMATRIX_WHEEL_X14_LEFT_FUNCTION   AVR32_CAT_CSA_14_FUNCTION
 Buttons X connections.
#define QMATRIX_WHEEL_X14_LEFT_PIN   AVR32_CAT_CSA_14_PIN
 Buttons X connections.
#define QMATRIX_WHEEL_X15_UPLEFT_FUNCTION   AVR32_CAT_CSB_14_FUNCTION
 Buttons X connections.
#define QMATRIX_WHEEL_X15_UPLEFT_PIN   AVR32_CAT_CSB_14_PIN
 Buttons X connections.
#define QMATRIX_WHEEL_X6_UPRIGHT_FUNCTION   AVR32_CAT_CSA_6_FUNCTION
 Buttons X connections.
#define QMATRIX_WHEEL_X6_UPRIGHT_PIN   AVR32_CAT_CSA_6_PIN
 Wheel X connections.
#define QMATRIX_WHEEL_X7_RIGHT_FUNCTION   AVR32_CAT_CSB_6_FUNCTION
 Buttons X connections.
#define QMATRIX_WHEEL_X7_RIGHT_PIN   AVR32_CAT_CSB_6_PIN
 Buttons X connections.
#define QMATRIX_WHEEL_Y2_FUNCTION   AVR32_CAT_CSA_5_FUNCTION
 Buttons X connections.
#define QMATRIX_WHEEL_Y2_PIN   AVR32_CAT_CSA_5_PIN
 Wheel Y connections.
#define QMATRIX_WHEEL_YK2_FUNCTION   AVR32_CAT_CSB_5_FUNCTION
 Buttons X connections.
#define QMATRIX_WHEEL_YK2_PIN   AVR32_CAT_CSB_5_PIN
 Buttons X connections.
USART connection to the UC3B board controller



#define USART_RXD_FUNCTION   AVR32_USART3_RXD_0_0_FUNCTION
#define USART_RXD_PIN   AVR32_USART3_RXD_0_0_PIN
#define USART_TXD_FUNCTION   AVR32_USART3_TXD_0_0_FUNCTION
#define USART_TXD_PIN   AVR32_USART3_TXD_0_0_PIN

Detailed Description

AT32UC3L-EK board header file.

This file contains definitions and services related to the features of the AT32UC3L-EK board.

To use this board, define BOARD=UC3L_EK.

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

Definition in file uc3l_ek.h.


Define Documentation

#define ADC_ACC_X_CHANNEL   6

Definition at line 221 of file uc3l_ek.h.

#define ADC_ACC_X_FUNCTION   AVR32_ADCIFB_AD_6_FUNCTION

Definition at line 223 of file uc3l_ek.h.

#define ADC_ACC_X_PIN   AVR32_ADCIFB_AD_6_PIN

Definition at line 222 of file uc3l_ek.h.

#define ADC_ACC_Y_CHANNEL   7

Definition at line 224 of file uc3l_ek.h.

#define ADC_ACC_Y_FUNCTION   AVR32_ADCIFB_AD_7_FUNCTION

Definition at line 226 of file uc3l_ek.h.

#define ADC_ACC_Y_PIN   AVR32_ADCIFB_AD_7_PIN

Definition at line 225 of file uc3l_ek.h.

#define ADC_ACC_Z_CHANNEL   8

Definition at line 227 of file uc3l_ek.h.

#define ADC_ACC_Z_FUNCTION   AVR32_ADCIFB_AD_8_FUNCTION

Definition at line 229 of file uc3l_ek.h.

#define ADC_ACC_Z_PIN   AVR32_ADCIFB_AD_8_PIN

Definition at line 228 of file uc3l_ek.h.

#define AT45DBX_SPI   (&AVR32_SPI)

Definition at line 165 of file uc3l_ek.h.

#define AT45DBX_SPI_MISO_FUNCTION   AVR32_SPI_MISO_0_0_FUNCTION

Definition at line 170 of file uc3l_ek.h.

#define AT45DBX_SPI_MISO_PIN   AVR32_SPI_MISO_0_0_PIN

Definition at line 169 of file uc3l_ek.h.

#define AT45DBX_SPI_MOSI_FUNCTION   AVR32_SPI_MOSI_0_0_FUNCTION

Definition at line 172 of file uc3l_ek.h.

#define AT45DBX_SPI_MOSI_PIN   AVR32_SPI_MOSI_0_0_PIN

Definition at line 171 of file uc3l_ek.h.

#define AT45DBX_SPI_NPCS   0

Definition at line 166 of file uc3l_ek.h.

#define AT45DBX_SPI_NPCS0_FUNCTION   AVR32_SPI_NPCS_0_0_FUNCTION

Definition at line 174 of file uc3l_ek.h.

#define AT45DBX_SPI_NPCS0_PIN   AVR32_SPI_NPCS_0_0_PIN

Definition at line 173 of file uc3l_ek.h.

#define AT45DBX_SPI_SCK_FUNCTION   AVR32_SPI_SCK_0_0_FUNCTION

Definition at line 168 of file uc3l_ek.h.

#define AT45DBX_SPI_SCK_PIN   AVR32_SPI_SCK_0_0_PIN

Definition at line 167 of file uc3l_ek.h.

#define FOSC0   ((int)"NONE")

Osc0 frequency: Hz.

Definition at line 74 of file uc3l_ek.h.

#define FOSC32   32768

Osc32 frequency: Hz.

Definition at line 70 of file uc3l_ek.h.

#define FRCOSC   AVR32_SCIF_RCOSC_FREQUENCY

RCOsc frequency: Hz.

Definition at line 68 of file uc3l_ek.h.

#define GPIO_WAKE_BUTTON   AVR32_PIN_PA11

Definition at line 158 of file uc3l_ek.h.

#define GPIO_WAKE_BUTTON_PRESSED   0

Definition at line 159 of file uc3l_ek.h.

#define LED0_GPIO   AVR32_PIN_PA21

Definition at line 90 of file uc3l_ek.h.

#define LED0_PWM   21

Definition at line 104 of file uc3l_ek.h.

#define LED0_PWM_FUNCTION   AVR32_PWMA_21_FUNCTION

Bit mask for the PWMA channels connected to the LEDs.

Definition at line 143 of file uc3l_ek.h.

#define LED1_GPIO   AVR32_PIN_PB10

Definition at line 91 of file uc3l_ek.h.

#define LED1_PWM   33

Definition at line 105 of file uc3l_ek.h.

#define LED1_PWM_FUNCTION   AVR32_PWMA_33_FUNCTION

Bit mask for the PWMA channels connected to the LEDs.

Definition at line 144 of file uc3l_ek.h.

#define LED2_GPIO   AVR32_PIN_PB02

Definition at line 96 of file uc3l_ek.h.

#define LED2_PWM   25

Definition at line 110 of file uc3l_ek.h.

#define LED2_PWM_FUNCTION   AVR32_PWMA_25_FUNCTION

Bit mask for the PWMA channels connected to the LEDs.

Definition at line 149 of file uc3l_ek.h.

#define LED3_GPIO   AVR32_PIN_PB03

Definition at line 92 of file uc3l_ek.h.

#define LED3_PWM   26

Definition at line 106 of file uc3l_ek.h.

#define LED3_PWM_FUNCTION   AVR32_PWMA_26_FUNCTION

Bit mask for the PWMA channels connected to the LEDs.

Definition at line 145 of file uc3l_ek.h.

#define LED4_GPIO   AVR32_PIN_PB11

Definition at line 97 of file uc3l_ek.h.

#define LED4_PWM   34

Definition at line 111 of file uc3l_ek.h.

#define LED4_PWM_FUNCTION   AVR32_PWMA_34_FUNCTION

Bit mask for the PWMA channels connected to the LEDs.

Definition at line 150 of file uc3l_ek.h.

#define LED_COUNT   5

Number of LEDs.

Definition at line 84 of file uc3l_ek.h.

Referenced by LED_Display(), LED_Display_Mask(), LED_Get_Intensity(), LED_Off(), LED_On(), LED_Set_Intensity(), and LED_Toggle().

#define LED_PWMA_CHANNELS_MASK   0x606200000ULL

Bit mask for the PWMA channels connected to the LEDs.

Definition at line 139 of file uc3l_ek.h.

#define OSC32_STARTUP   AVR32_SCIF_OSCCTRL32_STARTUP_8192_RCOSC

Osc32 startup time: RCOsc periods.

Definition at line 71 of file uc3l_ek.h.

#define QMATRIX_BTNS_DOWN_X6_FUNCTION   AVR32_CAT_CSA_6_FUNCTION

Buttons X connections.

Definition at line 279 of file uc3l_ek.h.

#define QMATRIX_BTNS_DOWN_X6_PIN   AVR32_CAT_CSA_6_PIN

Buttons X connections.

Definition at line 278 of file uc3l_ek.h.

#define QMATRIX_BTNS_LEFT_X10_FUNCTION   AVR32_CAT_CSA_10_FUNCTION

Buttons X connections.

Definition at line 284 of file uc3l_ek.h.

#define QMATRIX_BTNS_LEFT_X10_PIN   AVR32_CAT_CSA_10_PIN

Buttons X connections.

Definition at line 283 of file uc3l_ek.h.

#define QMATRIX_BTNS_PLAYPAUSE_X14_FUNCTION   AVR32_CAT_CSA_14_FUNCTION

Buttons X connections.

Definition at line 286 of file uc3l_ek.h.

#define QMATRIX_BTNS_PLAYPAUSE_X14_PIN   AVR32_CAT_CSA_14_PIN

Buttons X connections.

Definition at line 285 of file uc3l_ek.h.

#define QMATRIX_BTNS_RIGHT_X15_FUNCTION   AVR32_CAT_CSB_14_FUNCTION

Buttons X connections.

Definition at line 288 of file uc3l_ek.h.

#define QMATRIX_BTNS_RIGHT_X15_PIN   AVR32_CAT_CSB_14_PIN

Buttons X connections.

Definition at line 287 of file uc3l_ek.h.

#define QMATRIX_BTNS_UP_X7_FUNCTION   AVR32_CAT_CSB_6_FUNCTION

Buttons X connections.

Definition at line 281 of file uc3l_ek.h.

#define QMATRIX_BTNS_UP_X7_PIN   AVR32_CAT_CSB_6_PIN

Buttons X connections.

Definition at line 280 of file uc3l_ek.h.

#define QMATRIX_BTNS_Y7_FUNCTION   AVR32_CAT_CSA_15_FUNCTION

Buttons X connections.

Definition at line 292 of file uc3l_ek.h.

#define QMATRIX_BTNS_Y7_PIN   AVR32_CAT_CSA_15_PIN

Buttons Y connections.

Definition at line 291 of file uc3l_ek.h.

#define QMATRIX_BTNS_YK7_FUNCTION   AVR32_CAT_CSB_15_FUNCTION

Buttons X connections.

Definition at line 294 of file uc3l_ek.h.

#define QMATRIX_BTNS_YK7_PIN   AVR32_CAT_CSB_15_PIN

Buttons X connections.

Definition at line 293 of file uc3l_ek.h.

#define QMATRIX_NB_X   6

Number of X pins.

Definition at line 300 of file uc3l_ek.h.

#define QMATRIX_NB_Y   2

Number of Y pins.

Definition at line 304 of file uc3l_ek.h.

#define QMATRIX_SMP_FUNCTION   AVR32_CAT_SMP_0_4_FUNCTION

Buttons X connections.

Definition at line 268 of file uc3l_ek.h.

#define QMATRIX_SMP_PIN   AVR32_CAT_SMP_0_4_PIN

Buttons X connections.

Definition at line 267 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X10_DOWNRIGHT_FUNCTION   AVR32_CAT_CSA_10_FUNCTION

Buttons X connections.

Definition at line 249 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X10_DOWNRIGHT_PIN   AVR32_CAT_CSA_10_PIN

Buttons X connections.

Definition at line 248 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X11_DOWNLEFT_FUNCTION   AVR32_CAT_CSB_10_FUNCTION

Buttons X connections.

Definition at line 251 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X11_DOWNLEFT_PIN   AVR32_CAT_CSB_10_PIN

Buttons X connections.

Definition at line 250 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X14_LEFT_FUNCTION   AVR32_CAT_CSA_14_FUNCTION

Buttons X connections.

Definition at line 253 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X14_LEFT_PIN   AVR32_CAT_CSA_14_PIN

Buttons X connections.

Definition at line 252 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X15_UPLEFT_FUNCTION   AVR32_CAT_CSB_14_FUNCTION

Buttons X connections.

Definition at line 255 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X15_UPLEFT_PIN   AVR32_CAT_CSB_14_PIN

Buttons X connections.

Definition at line 254 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X6_UPRIGHT_FUNCTION   AVR32_CAT_CSA_6_FUNCTION

Buttons X connections.

Definition at line 244 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X6_UPRIGHT_PIN   AVR32_CAT_CSA_6_PIN

Wheel X connections.

Definition at line 243 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X7_RIGHT_FUNCTION   AVR32_CAT_CSB_6_FUNCTION

Buttons X connections.

Definition at line 246 of file uc3l_ek.h.

#define QMATRIX_WHEEL_X7_RIGHT_PIN   AVR32_CAT_CSB_6_PIN

Buttons X connections.

Definition at line 245 of file uc3l_ek.h.

#define QMATRIX_WHEEL_Y2_FUNCTION   AVR32_CAT_CSA_5_FUNCTION

Buttons X connections.

Definition at line 259 of file uc3l_ek.h.

#define QMATRIX_WHEEL_Y2_PIN   AVR32_CAT_CSA_5_PIN

Wheel Y connections.

Definition at line 258 of file uc3l_ek.h.

#define QMATRIX_WHEEL_YK2_FUNCTION   AVR32_CAT_CSB_5_FUNCTION

Buttons X connections.

Definition at line 261 of file uc3l_ek.h.

#define QMATRIX_WHEEL_YK2_PIN   AVR32_CAT_CSB_5_PIN

Buttons X connections.

Definition at line 260 of file uc3l_ek.h.

#define USART_RXD_FUNCTION   AVR32_USART3_RXD_0_0_FUNCTION

Definition at line 181 of file uc3l_ek.h.

#define USART_RXD_PIN   AVR32_USART3_RXD_0_0_PIN

Definition at line 180 of file uc3l_ek.h.

#define USART_TXD_FUNCTION   AVR32_USART3_TXD_0_0_FUNCTION

Definition at line 183 of file uc3l_ek.h.

#define USART_TXD_PIN   AVR32_USART3_TXD_0_0_PIN

Definition at line 182 of file uc3l_ek.h.


Generated on Tue Dec 15 08:37:06 2009 for AVR32 UC3064 - Pioc power Test by  doxygen 1.6.1