Xmega Application Note


stk600_rc100x.h File Reference

STK600 with the RC100X routing card board header file. More...

#include "compiler.h"
Include dependency graph for stk600_rc100x.h:

Go to the source code of this file.

Defines

#define LED_COUNT   8
 Number of LEDs.
SPI Connections of the AT45DBX Data Flash Memory. To use these defines,

connect :

  • PC4 to /CS pin on DataFlash connector
  • PC7 to SCK pin on DataFlash connector
  • PC6 to SO pin on DataFlash connector
  • PC5 to SI pin on DataFlash connector
#define AT45DBX_CS   IOPORT_CREATE_PIN(PORTC,4)
#define AT45DBX_MASTER_MISO   IOPORT_CREATE_PIN(PORTC,6)
#define AT45DBX_MASTER_MOSI   IOPORT_CREATE_PIN(PORTC,5)
#define AT45DBX_MASTER_SCK   IOPORT_CREATE_PIN(PORTC,7)
#define AT45DBX_MASTER_SS   IOPORT_CREATE_PIN(PORTC,4)
#define AT45DBX_SPI   &SPIC
#define AT45DBX_SPI_CLK_MASK   SYSCLK_PORT_C
External oscillator

#define BOARD_XOSC_HZ   8000000
#define BOARD_XOSC_STARTUP_US   500000
#define BOARD_XOSC_TYPE   XOSC_TYPE_EXTERNAL
Oscillator Definitions

#define FOSC   8000000
GPIO Connections of Push Buttons. To use these defines, connect the

STK600 PORTF connector to the SWITCHES connector.

#define GPIO_PUSH_BUTTON_0   IOPORT_CREATE_PIN(PORTF,0)
#define GPIO_PUSH_BUTTON_1   IOPORT_CREATE_PIN(PORTF,1)
#define GPIO_PUSH_BUTTON_2   IOPORT_CREATE_PIN(PORTF,2)
#define GPIO_PUSH_BUTTON_3   IOPORT_CREATE_PIN(PORTF,3)
#define GPIO_PUSH_BUTTON_4   IOPORT_CREATE_PIN(PORTF,4)
#define GPIO_PUSH_BUTTON_5   IOPORT_CREATE_PIN(PORTF,5)
#define GPIO_PUSH_BUTTON_6   IOPORT_CREATE_PIN(PORTF,6)
#define GPIO_PUSH_BUTTON_7   IOPORT_CREATE_PIN(PORTF,7)
GPIO Connections of LEDs. To use these defines, connect the STK600

PORTE connector to the LEDs connector.

#define LED0_GPIO   IOPORT_CREATE_PIN(PORTE,0)
#define LED1_GPIO   IOPORT_CREATE_PIN(PORTE,1)
#define LED2_GPIO   IOPORT_CREATE_PIN(PORTE,2)
#define LED3_GPIO   IOPORT_CREATE_PIN(PORTE,3)
#define LED4_GPIO   IOPORT_CREATE_PIN(PORTE,4)
#define LED5_GPIO   IOPORT_CREATE_PIN(PORTE,5)
#define LED6_GPIO   IOPORT_CREATE_PIN(PORTE,6)
#define LED7_GPIO   IOPORT_CREATE_PIN(PORTE,7)

Detailed Description

STK600 with the RC100X routing card board header file.

This file contains definitions and services related to the features of the STK600 board with the routing card for 100-pin TQFP AVR XMEGA devices.

To use this board, define BOARD=STK600_RC100X.

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

Definition in file stk600_rc100x.h.


Define Documentation

#define AT45DBX_CS   IOPORT_CREATE_PIN(PORTC,4)

Definition at line 104 of file stk600_rc100x.h.

#define AT45DBX_MASTER_MISO   IOPORT_CREATE_PIN(PORTC,6)

Definition at line 108 of file stk600_rc100x.h.

#define AT45DBX_MASTER_MOSI   IOPORT_CREATE_PIN(PORTC,5)

Definition at line 107 of file stk600_rc100x.h.

#define AT45DBX_MASTER_SCK   IOPORT_CREATE_PIN(PORTC,7)

Definition at line 106 of file stk600_rc100x.h.

#define AT45DBX_MASTER_SS   IOPORT_CREATE_PIN(PORTC,4)

Definition at line 105 of file stk600_rc100x.h.

#define AT45DBX_SPI   &SPIC

Definition at line 103 of file stk600_rc100x.h.

#define AT45DBX_SPI_CLK_MASK   SYSCLK_PORT_C

Definition at line 109 of file stk600_rc100x.h.

#define BOARD_XOSC_HZ   8000000

Definition at line 116 of file stk600_rc100x.h.

#define BOARD_XOSC_STARTUP_US   500000

Definition at line 118 of file stk600_rc100x.h.

#define BOARD_XOSC_TYPE   XOSC_TYPE_EXTERNAL

Definition at line 117 of file stk600_rc100x.h.

#define FOSC   8000000

XTAL frequency: Hz.

Definition at line 54 of file stk600_rc100x.h.

#define GPIO_PUSH_BUTTON_0   IOPORT_CREATE_PIN(PORTF,0)

Definition at line 85 of file stk600_rc100x.h.

#define GPIO_PUSH_BUTTON_1   IOPORT_CREATE_PIN(PORTF,1)

Definition at line 86 of file stk600_rc100x.h.

#define GPIO_PUSH_BUTTON_2   IOPORT_CREATE_PIN(PORTF,2)

Definition at line 87 of file stk600_rc100x.h.

#define GPIO_PUSH_BUTTON_3   IOPORT_CREATE_PIN(PORTF,3)

Definition at line 88 of file stk600_rc100x.h.

#define GPIO_PUSH_BUTTON_4   IOPORT_CREATE_PIN(PORTF,4)

Definition at line 89 of file stk600_rc100x.h.

#define GPIO_PUSH_BUTTON_5   IOPORT_CREATE_PIN(PORTF,5)

Definition at line 90 of file stk600_rc100x.h.

#define GPIO_PUSH_BUTTON_6   IOPORT_CREATE_PIN(PORTF,6)

Definition at line 91 of file stk600_rc100x.h.

#define GPIO_PUSH_BUTTON_7   IOPORT_CREATE_PIN(PORTF,7)

Definition at line 92 of file stk600_rc100x.h.

#define LED0_GPIO   IOPORT_CREATE_PIN(PORTE,0)

Definition at line 70 of file stk600_rc100x.h.

#define LED1_GPIO   IOPORT_CREATE_PIN(PORTE,1)

Definition at line 71 of file stk600_rc100x.h.

#define LED2_GPIO   IOPORT_CREATE_PIN(PORTE,2)

Definition at line 72 of file stk600_rc100x.h.

#define LED3_GPIO   IOPORT_CREATE_PIN(PORTE,3)

Definition at line 73 of file stk600_rc100x.h.

#define LED4_GPIO   IOPORT_CREATE_PIN(PORTE,4)

Definition at line 74 of file stk600_rc100x.h.

#define LED5_GPIO   IOPORT_CREATE_PIN(PORTE,5)

Definition at line 75 of file stk600_rc100x.h.

#define LED6_GPIO   IOPORT_CREATE_PIN(PORTE,6)

Definition at line 76 of file stk600_rc100x.h.

#define LED7_GPIO   IOPORT_CREATE_PIN(PORTE,7)

Definition at line 77 of file stk600_rc100x.h.

#define LED_COUNT   8

Number of LEDs.

Definition at line 64 of file stk600_rc100x.h.

@DOC_TITLE@
Generated on Fri Oct 22 12:15:25 2010 for AVR1300 Using the Xmega ADC by doxygen 1.6.3