evk1100.h File Reference


Detailed Description

AT32UC3A EVK1100 board header file.

This file contains definitions and services related to the features of the EVK1100 board.

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

Definition in file evk1100.h.

#include "compiler.h"

Include dependency graph for evk1100.h:

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

Go to the source code of this file.

Defines

#define LED_COUNT   8
 Number of LEDs.
#define MACB_INTERRUPT_PIN   AVR32_PIN_PA24
 GPIO connection of the MAC PHY PWR_DOWN/INT signal.
ADC Connection of the Light Sensor
#define ADC_LIGHT_CHANNEL   2
#define ADC_LIGHT_FUNCTION   AVR32_ADC_AD_2_FUNCTION
#define ADC_LIGHT_PIN   AVR32_ADC_AD_2_PIN
ADC Connection of the Potentiometer
#define ADC_POTENTIOMETER_CHANNEL   1
#define ADC_POTENTIOMETER_FUNCTION   AVR32_ADC_AD_1_FUNCTION
#define ADC_POTENTIOMETER_PIN   AVR32_ADC_AD_1_PIN
ADC Connection of the Temperature Sensor
#define ADC_TEMPERATURE_CHANNEL   0
#define ADC_TEMPERATURE_FUNCTION   AVR32_ADC_AD_0_FUNCTION
#define ADC_TEMPERATURE_PIN   AVR32_ADC_AD_0_PIN
SPI Connections of the AT45DBX Data Flash Memory
#define AT45DBX_SPI   (&AVR32_SPI1)
#define AT45DBX_SPI_MISO_FUNCTION   AVR32_SPI1_MISO_0_FUNCTION
#define AT45DBX_SPI_MISO_PIN   AVR32_SPI1_MISO_0_PIN
#define AT45DBX_SPI_MOSI_FUNCTION   AVR32_SPI1_MOSI_0_FUNCTION
#define AT45DBX_SPI_MOSI_PIN   AVR32_SPI1_MOSI_0_PIN
#define AT45DBX_SPI_NPCS0_FUNCTION   AVR32_SPI1_NPCS_0_FUNCTION
#define AT45DBX_SPI_NPCS0_PIN   AVR32_SPI1_NPCS_0_PIN
#define AT45DBX_SPI_SCK_FUNCTION   AVR32_SPI1_SCK_0_FUNCTION
#define AT45DBX_SPI_SCK_PIN   AVR32_SPI1_SCK_0_PIN
GPIO and PWM Connections of the DIP204 LCD Backlight
#define DIP204_BACKLIGHT_PIN   AVR32_PIN_PB18
#define DIP204_PWM_CHANNEL   6
#define DIP204_PWM_FUNCTION   AVR32_PWM_PWM_6_FUNCTION
#define DIP204_PWM_PIN   AVR32_PWM_PWM_6_PIN
SPI Connections of the DIP204 LCD
#define DIP204_SPI   (&AVR32_SPI1)
#define DIP204_SPI_CS   2
#define DIP204_SPI_MISO_FUNCTION   AVR32_SPI1_MISO_0_FUNCTION
#define DIP204_SPI_MISO_PIN   AVR32_SPI1_MISO_0_PIN
#define DIP204_SPI_MOSI_FUNCTION   AVR32_SPI1_MOSI_0_FUNCTION
#define DIP204_SPI_MOSI_PIN   AVR32_SPI1_MOSI_0_PIN
#define DIP204_SPI_NPCS_FUNCTION   AVR32_SPI1_NPCS_2_FUNCTION
#define DIP204_SPI_NPCS_PIN   AVR32_SPI1_NPCS_2_PIN
#define DIP204_SPI_SCK_FUNCTION   AVR32_SPI1_SCK_0_FUNCTION
#define DIP204_SPI_SCK_PIN   AVR32_SPI1_SCK_0_PIN
Oscillator Definitions
#define FOSC0   12000000
 Osc0 frequency: Hz.
#define FOSC32   32768
 Osc32 frequency: Hz.
#define OSC0_STARTUP   3
 Osc0 startup time: RCOsc periods.
#define OSC32_STARTUP   3
 Osc32 startup time: RCOsc periods.
GPIO Connections of the Joystick
#define GPIO_JOYSTICK_DOWN   AVR32_PIN_PA27
#define GPIO_JOYSTICK_LEFT   AVR32_PIN_PA25
#define GPIO_JOYSTICK_PUSH   AVR32_PIN_PA20
#define GPIO_JOYSTICK_RIGHT   AVR32_PIN_PA28
#define GPIO_JOYSTICK_UP   AVR32_PIN_PA26
GPIO Connections of Push Buttons
#define GPIO_PUSH_BUTTON_0   AVR32_PIN_PX16
#define GPIO_PUSH_BUTTON_1   AVR32_PIN_PX19
#define GPIO_PUSH_BUTTON_2   AVR32_PIN_PX22
GPIO Connections of LEDs
#define LED0_GPIO   AVR32_PIN_PB27
#define LED1_GPIO   AVR32_PIN_PB28
#define LED2_GPIO   AVR32_PIN_PB29
#define LED3_GPIO   AVR32_PIN_PB30
#define LED4_GPIO   AVR32_PIN_PB19
#define LED5_GPIO   AVR32_PIN_PB20
#define LED6_GPIO   AVR32_PIN_PB21
#define LED7_GPIO   AVR32_PIN_PB22
PWM Channels of LEDs
#define LED0_PWM   (-1)
#define LED1_PWM   (-1)
#define LED2_PWM   (-1)
#define LED3_PWM   (-1)
#define LED4_PWM   0
#define LED5_PWM   1
#define LED6_PWM   2
#define LED7_PWM   3
PWM Functions of LEDs
#define LED0_PWM_FUNCTION   (-1)
#define LED1_PWM_FUNCTION   (-1)
#define LED2_PWM_FUNCTION   (-1)
#define LED3_PWM_FUNCTION   (-1)
#define LED4_PWM_FUNCTION   AVR32_PWM_PWM_0_FUNCTION
#define LED5_PWM_FUNCTION   AVR32_PWM_PWM_1_FUNCTION
#define LED6_PWM_FUNCTION   AVR32_PWM_PWM_2_FUNCTION
#define LED7_PWM_FUNCTION   AVR32_PWM_PWM_3_FUNCTION
Color Identifiers of LEDs to Use with LED Functions
#define LED_BI0_GREEN   LED5
#define LED_BI0_RED   LED4
#define LED_BI1_GREEN   LED7
#define LED_BI1_RED   LED6
#define LED_MONO0_GREEN   LED0
#define LED_MONO1_GREEN   LED1
#define LED_MONO2_GREEN   LED2
#define LED_MONO3_GREEN   LED3
GPIO and SPI Connections of the SD/MMC Connector
#define SD_MMC_CARD_DETECT_PIN   AVR32_PIN_PA02
#define SD_MMC_SPI   (&AVR32_SPI1)
#define SD_MMC_SPI_CS   1
#define SD_MMC_SPI_MISO_FUNCTION   AVR32_SPI1_MISO_0_FUNCTION
#define SD_MMC_SPI_MISO_PIN   AVR32_SPI1_MISO_0_PIN
#define SD_MMC_SPI_MOSI_FUNCTION   AVR32_SPI1_MOSI_0_FUNCTION
#define SD_MMC_SPI_MOSI_PIN   AVR32_SPI1_MOSI_0_PIN
#define SD_MMC_SPI_NPCS_FUNCTION   AVR32_SPI1_NPCS_1_FUNCTION
#define SD_MMC_SPI_NPCS_PIN   AVR32_SPI1_NPCS_1_PIN
#define SD_MMC_SPI_SCK_FUNCTION   AVR32_SPI1_SCK_0_FUNCTION
#define SD_MMC_SPI_SCK_PIN   AVR32_SPI1_SCK_0_PIN
#define SD_MMC_WRITE_PROTECT_PIN   AVR32_PIN_PA07
SDRAM Definitions
#define SDRAM_DBW   16
#define SDRAM_PART_HDR   "MT48LC16M16A2TG7E/mt48lc16m16a2tg7e.h"
 Part header file of used SDRAM(s).
USB Definitions
#define USB_ID   AVR32_USBB_USB_ID_0_0
#define USB_OVERCURRENT_DETECT_PIN   AVR32_PIN_PX33
 USB overcurrent detection pin.
#define USB_VBOF   AVR32_USBB_USB_VBOF_0_1
#define USB_VBOF_ACTIVE_LEVEL   LOW
 Active level of the USB_VBOF output pin.


Define Documentation

#define ADC_LIGHT_CHANNEL   2

Definition at line 263 of file evk1100.h.

#define ADC_LIGHT_FUNCTION   AVR32_ADC_AD_2_FUNCTION

Definition at line 265 of file evk1100.h.

#define ADC_LIGHT_PIN   AVR32_ADC_AD_2_PIN

Definition at line 264 of file evk1100.h.

#define ADC_POTENTIOMETER_CHANNEL   1

Definition at line 245 of file evk1100.h.

#define ADC_POTENTIOMETER_FUNCTION   AVR32_ADC_AD_1_FUNCTION

Definition at line 247 of file evk1100.h.

#define ADC_POTENTIOMETER_PIN   AVR32_ADC_AD_1_PIN

Definition at line 246 of file evk1100.h.

#define ADC_TEMPERATURE_CHANNEL   0

Definition at line 254 of file evk1100.h.

#define ADC_TEMPERATURE_FUNCTION   AVR32_ADC_AD_0_FUNCTION

Definition at line 256 of file evk1100.h.

#define ADC_TEMPERATURE_PIN   AVR32_ADC_AD_0_PIN

Definition at line 255 of file evk1100.h.

#define AT45DBX_SPI   (&AVR32_SPI1)

Definition at line 297 of file evk1100.h.

#define AT45DBX_SPI_MISO_FUNCTION   AVR32_SPI1_MISO_0_FUNCTION

Definition at line 301 of file evk1100.h.

#define AT45DBX_SPI_MISO_PIN   AVR32_SPI1_MISO_0_PIN

Definition at line 300 of file evk1100.h.

#define AT45DBX_SPI_MOSI_FUNCTION   AVR32_SPI1_MOSI_0_FUNCTION

Definition at line 303 of file evk1100.h.

#define AT45DBX_SPI_MOSI_PIN   AVR32_SPI1_MOSI_0_PIN

Definition at line 302 of file evk1100.h.

#define AT45DBX_SPI_NPCS0_FUNCTION   AVR32_SPI1_NPCS_0_FUNCTION

Definition at line 305 of file evk1100.h.

#define AT45DBX_SPI_NPCS0_PIN   AVR32_SPI1_NPCS_0_PIN

Definition at line 304 of file evk1100.h.

#define AT45DBX_SPI_SCK_FUNCTION   AVR32_SPI1_SCK_0_FUNCTION

Definition at line 299 of file evk1100.h.

#define AT45DBX_SPI_SCK_PIN   AVR32_SPI1_SCK_0_PIN

Definition at line 298 of file evk1100.h.

#define DIP204_BACKLIGHT_PIN   AVR32_PIN_PB18

Definition at line 287 of file evk1100.h.

#define DIP204_PWM_CHANNEL   6

Definition at line 288 of file evk1100.h.

#define DIP204_PWM_FUNCTION   AVR32_PWM_PWM_6_FUNCTION

Definition at line 290 of file evk1100.h.

#define DIP204_PWM_PIN   AVR32_PWM_PWM_6_PIN

Definition at line 289 of file evk1100.h.

#define DIP204_SPI   (&AVR32_SPI1)

Definition at line 272 of file evk1100.h.

#define DIP204_SPI_CS   2

Definition at line 273 of file evk1100.h.

#define DIP204_SPI_MISO_FUNCTION   AVR32_SPI1_MISO_0_FUNCTION

Definition at line 277 of file evk1100.h.

#define DIP204_SPI_MISO_PIN   AVR32_SPI1_MISO_0_PIN

Definition at line 276 of file evk1100.h.

#define DIP204_SPI_MOSI_FUNCTION   AVR32_SPI1_MOSI_0_FUNCTION

Definition at line 279 of file evk1100.h.

#define DIP204_SPI_MOSI_PIN   AVR32_SPI1_MOSI_0_PIN

Definition at line 278 of file evk1100.h.

#define DIP204_SPI_NPCS_FUNCTION   AVR32_SPI1_NPCS_2_FUNCTION

Definition at line 281 of file evk1100.h.

#define DIP204_SPI_NPCS_PIN   AVR32_SPI1_NPCS_2_PIN

Definition at line 280 of file evk1100.h.

#define DIP204_SPI_SCK_FUNCTION   AVR32_SPI1_SCK_0_FUNCTION

Definition at line 275 of file evk1100.h.

#define DIP204_SPI_SCK_PIN   AVR32_SPI1_SCK_0_PIN

Definition at line 274 of file evk1100.h.

#define FOSC0   12000000

Osc0 frequency: Hz.

Definition at line 70 of file evk1100.h.

Referenced by main().

#define FOSC32   32768

Osc32 frequency: Hz.

Definition at line 67 of file evk1100.h.

#define GPIO_JOYSTICK_DOWN   AVR32_PIN_PA27

Definition at line 238 of file evk1100.h.

#define GPIO_JOYSTICK_LEFT   AVR32_PIN_PA25

Definition at line 235 of file evk1100.h.

#define GPIO_JOYSTICK_PUSH   AVR32_PIN_PA20

Definition at line 234 of file evk1100.h.

#define GPIO_JOYSTICK_RIGHT   AVR32_PIN_PA28

Definition at line 236 of file evk1100.h.

#define GPIO_JOYSTICK_UP   AVR32_PIN_PA26

Definition at line 237 of file evk1100.h.

#define GPIO_PUSH_BUTTON_0   AVR32_PIN_PX16

Definition at line 224 of file evk1100.h.

Referenced by main().

#define GPIO_PUSH_BUTTON_1   AVR32_PIN_PX19

Definition at line 225 of file evk1100.h.

Referenced by main().

#define GPIO_PUSH_BUTTON_2   AVR32_PIN_PX22

Definition at line 226 of file evk1100.h.

Referenced by main().

#define LED0_GPIO   AVR32_PIN_PB27

Definition at line 154 of file evk1100.h.

Referenced by main().

#define LED0_PWM   (-1)

Definition at line 168 of file evk1100.h.

#define LED0_PWM_FUNCTION   (-1)

Definition at line 181 of file evk1100.h.

#define LED1_GPIO   AVR32_PIN_PB28

Definition at line 155 of file evk1100.h.

Referenced by main().

#define LED1_PWM   (-1)

Definition at line 169 of file evk1100.h.

#define LED1_PWM_FUNCTION   (-1)

Definition at line 182 of file evk1100.h.

#define LED2_GPIO   AVR32_PIN_PB29

Definition at line 156 of file evk1100.h.

Referenced by main().

#define LED2_PWM   (-1)

Definition at line 170 of file evk1100.h.

#define LED2_PWM_FUNCTION   (-1)

Definition at line 183 of file evk1100.h.

#define LED3_GPIO   AVR32_PIN_PB30

Definition at line 157 of file evk1100.h.

#define LED3_PWM   (-1)

Definition at line 171 of file evk1100.h.

#define LED3_PWM_FUNCTION   (-1)

Definition at line 184 of file evk1100.h.

#define LED4_GPIO   AVR32_PIN_PB19

Definition at line 158 of file evk1100.h.

Referenced by main().

#define LED4_PWM   0

Definition at line 172 of file evk1100.h.

#define LED4_PWM_FUNCTION   AVR32_PWM_PWM_0_FUNCTION

Definition at line 185 of file evk1100.h.

#define LED5_GPIO   AVR32_PIN_PB20

Definition at line 159 of file evk1100.h.

#define LED5_PWM   1

Definition at line 173 of file evk1100.h.

#define LED5_PWM_FUNCTION   AVR32_PWM_PWM_1_FUNCTION

Definition at line 186 of file evk1100.h.

#define LED6_GPIO   AVR32_PIN_PB21

Definition at line 160 of file evk1100.h.

#define LED6_PWM   2

Definition at line 174 of file evk1100.h.

#define LED6_PWM_FUNCTION   AVR32_PWM_PWM_2_FUNCTION

Definition at line 187 of file evk1100.h.

#define LED7_GPIO   AVR32_PIN_PB22

Definition at line 161 of file evk1100.h.

#define LED7_PWM   3

Definition at line 175 of file evk1100.h.

#define LED7_PWM_FUNCTION   AVR32_PWM_PWM_3_FUNCTION

Definition at line 188 of file evk1100.h.

#define LED_BI0_GREEN   LED5

Definition at line 208 of file evk1100.h.

#define LED_BI0_RED   LED4

Definition at line 209 of file evk1100.h.

#define LED_BI1_GREEN   LED7

Definition at line 210 of file evk1100.h.

#define LED_BI1_RED   LED6

Definition at line 211 of file evk1100.h.

#define LED_COUNT   8

Number of LEDs.

Definition at line 139 of file evk1100.h.

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

#define LED_MONO0_GREEN   LED0

Definition at line 204 of file evk1100.h.

#define LED_MONO1_GREEN   LED1

Definition at line 205 of file evk1100.h.

#define LED_MONO2_GREEN   LED2

Definition at line 206 of file evk1100.h.

#define LED_MONO3_GREEN   LED3

Definition at line 207 of file evk1100.h.

#define MACB_INTERRUPT_PIN   AVR32_PIN_PA24

GPIO connection of the MAC PHY PWR_DOWN/INT signal.

Definition at line 134 of file evk1100.h.

#define OSC0_STARTUP   3

Osc0 startup time: RCOsc periods.

Definition at line 71 of file evk1100.h.

Referenced by main().

#define OSC32_STARTUP   3

Osc32 startup time: RCOsc periods.

Definition at line 68 of file evk1100.h.

#define SD_MMC_CARD_DETECT_PIN   AVR32_PIN_PA02

Definition at line 312 of file evk1100.h.

#define SD_MMC_SPI   (&AVR32_SPI1)

Definition at line 314 of file evk1100.h.

#define SD_MMC_SPI_CS   1

Definition at line 315 of file evk1100.h.

#define SD_MMC_SPI_MISO_FUNCTION   AVR32_SPI1_MISO_0_FUNCTION

Definition at line 319 of file evk1100.h.

#define SD_MMC_SPI_MISO_PIN   AVR32_SPI1_MISO_0_PIN

Definition at line 318 of file evk1100.h.

#define SD_MMC_SPI_MOSI_FUNCTION   AVR32_SPI1_MOSI_0_FUNCTION

Definition at line 321 of file evk1100.h.

#define SD_MMC_SPI_MOSI_PIN   AVR32_SPI1_MOSI_0_PIN

Definition at line 320 of file evk1100.h.

#define SD_MMC_SPI_NPCS_FUNCTION   AVR32_SPI1_NPCS_1_FUNCTION

Definition at line 323 of file evk1100.h.

#define SD_MMC_SPI_NPCS_PIN   AVR32_SPI1_NPCS_1_PIN

Definition at line 322 of file evk1100.h.

#define SD_MMC_SPI_SCK_FUNCTION   AVR32_SPI1_SCK_0_FUNCTION

Definition at line 317 of file evk1100.h.

#define SD_MMC_SPI_SCK_PIN   AVR32_SPI1_SCK_0_PIN

Definition at line 316 of file evk1100.h.

#define SD_MMC_WRITE_PROTECT_PIN   AVR32_PIN_PA07

Definition at line 313 of file evk1100.h.

#define SDRAM_DBW   16

Data bus width to use the SDRAM(s) with (16 or 32 bits; always 16 bits on UC3).

Definition at line 90 of file evk1100.h.

#define SDRAM_PART_HDR   "MT48LC16M16A2TG7E/mt48lc16m16a2tg7e.h"

Part header file of used SDRAM(s).

Definition at line 86 of file evk1100.h.

#define USB_ID   AVR32_USBB_USB_ID_0_0

Multiplexed pin used for USB_ID: AVR32_USBB_USB_ID_x_x. To be selected according to the AVR32_USBB_USB_ID_x_x_PIN and AVR32_USBB_USB_ID_x_x_FUNCTION definitions from <avr32/uc3axxxx.h>.

Definition at line 102 of file evk1100.h.

#define USB_OVERCURRENT_DETECT_PIN   AVR32_PIN_PX33

USB overcurrent detection pin.

Definition at line 124 of file evk1100.h.

#define USB_VBOF   AVR32_USBB_USB_VBOF_0_1

Multiplexed pin used for USB_VBOF: AVR32_USBB_USB_VBOF_x_x. To be selected according to the AVR32_USBB_USB_VBOF_x_x_PIN and AVR32_USBB_USB_VBOF_x_x_FUNCTION definitions from <avr32/uc3axxxx.h>.

Definition at line 110 of file evk1100.h.

#define USB_VBOF_ACTIVE_LEVEL   LOW

Active level of the USB_VBOF output pin.

Definition at line 117 of file evk1100.h.


Generated on Wed May 7 14:40:10 2008 for AVR32114 Using the AVR32 LCD Controller by  doxygen 1.5.3-20071008