Microchip® Advanced Software Framework

stk600_rc100x.h File Reference

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-2018 Microchip Technology Inc. and its subsidiaries.

#include "compiler.h"

Macros

#define LED_COUNT   8
 Number of LEDs. More...
 
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)
 
GPIO Connections of Push Buttons. To use these defines, connect the

STK600 the SWITCHES connector to:

  • PORTF connector for ATxmegaA1
  • PORTB connector for ATxmegaB1
#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)
 
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_SPI   &SPIC
 
#define AT45DBX_CS   IOPORT_CREATE_PIN(PORTC,4)
 
#define AT45DBX_MASTER_SS   IOPORT_CREATE_PIN(PORTC,4)
 
#define AT45DBX_MASTER_SCK   IOPORT_CREATE_PIN(PORTC,7)
 
#define AT45DBX_MASTER_MOSI   IOPORT_CREATE_PIN(PORTC,5)
 
#define AT45DBX_MASTER_MISO   IOPORT_CREATE_PIN(PORTC,6)
 
#define AT45DBX_SPI_CLK_MASK   SYSCLK_PORT_C
 
External oscillator
#define BOARD_XOSC_HZ   8000000
 
#define BOARD_XOSC_TYPE   XOSC_TYPE_EXTERNAL
 
#define BOARD_XOSC_STARTUP_US   500000
 

#define AT45DBX_CS   IOPORT_CREATE_PIN(PORTC,4)

Referenced by board_init().

#define AT45DBX_MASTER_MISO   IOPORT_CREATE_PIN(PORTC,6)

Referenced by board_init().

#define AT45DBX_MASTER_MOSI   IOPORT_CREATE_PIN(PORTC,5)

Referenced by board_init().

#define AT45DBX_MASTER_SCK   IOPORT_CREATE_PIN(PORTC,7)

Referenced by board_init().

#define AT45DBX_MASTER_SS   IOPORT_CREATE_PIN(PORTC,4)
#define AT45DBX_SPI   &SPIC
#define AT45DBX_SPI_CLK_MASK   SYSCLK_PORT_C
#define BOARD_XOSC_HZ   8000000
#define BOARD_XOSC_STARTUP_US   500000
#define BOARD_XOSC_TYPE   XOSC_TYPE_EXTERNAL
#define GPIO_PUSH_BUTTON_0   IOPORT_CREATE_PIN(PORTF,0)

Referenced by board_init(), and main().

#define GPIO_PUSH_BUTTON_1   IOPORT_CREATE_PIN(PORTF,1)

Referenced by board_init().

#define GPIO_PUSH_BUTTON_2   IOPORT_CREATE_PIN(PORTF,2)

Referenced by board_init().

#define GPIO_PUSH_BUTTON_3   IOPORT_CREATE_PIN(PORTF,3)

Referenced by board_init().

#define GPIO_PUSH_BUTTON_4   IOPORT_CREATE_PIN(PORTF,4)

Referenced by board_init().

#define GPIO_PUSH_BUTTON_5   IOPORT_CREATE_PIN(PORTF,5)

Referenced by board_init().

#define GPIO_PUSH_BUTTON_6   IOPORT_CREATE_PIN(PORTF,6)

Referenced by board_init().

#define GPIO_PUSH_BUTTON_7   IOPORT_CREATE_PIN(PORTF,7)

Referenced by board_init().

#define LED0_GPIO   IOPORT_CREATE_PIN(PORTE,0)

Referenced by board_init(), and main().

#define LED1_GPIO   IOPORT_CREATE_PIN(PORTE,1)

Referenced by board_init(), and main().

#define LED2_GPIO   IOPORT_CREATE_PIN(PORTE,2)

Referenced by board_init(), and main().

#define LED3_GPIO   IOPORT_CREATE_PIN(PORTE,3)

Referenced by board_init(), and main().

#define LED4_GPIO   IOPORT_CREATE_PIN(PORTE,4)

Referenced by board_init(), and main().

#define LED5_GPIO   IOPORT_CREATE_PIN(PORTE,5)

Referenced by board_init(), and main().

#define LED6_GPIO   IOPORT_CREATE_PIN(PORTE,6)

Referenced by board_init(), and main().

#define LED7_GPIO   IOPORT_CREATE_PIN(PORTE,7)

Referenced by board_init(), and main().

#define LED_COUNT   8

Number of LEDs.