Xmega Application Note | |||||
STK600 with the RC044X routing card board header file. More...
#include "compiler.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 | |
#define | AT45DBX_CS IOPORT_CREATE_PIN(PORTC,1) |
#define | AT45DBX_MASTER_MOSI IOPORT_CREATE_PIN(PORTC,7) |
#define | AT45DBX_MASTER_SCK IOPORT_CREATE_PIN(PORTC,5) |
#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 32768 |
#define | BOARD_XOSC_STARTUP_US 500000 |
#define | BOARD_XOSC_TYPE XOSC_TYPE_32KHZ |
Oscillator Definitions | |
#define | FOSC 8000000 |
GPIO Connections of Push Buttons | |
#define | GPIO_PUSH_BUTTON_0 IOPORT_CREATE_PIN(PORTB,0) |
#define | GPIO_PUSH_BUTTON_1 IOPORT_CREATE_PIN(PORTB,1) |
#define | GPIO_PUSH_BUTTON_2 IOPORT_CREATE_PIN(PORTB,2) |
#define | GPIO_PUSH_BUTTON_3 IOPORT_CREATE_PIN(PORTB,3) |
#define | GPIO_PUSH_BUTTON_4 IOPORT_CREATE_PIN(PORTB,4) |
#define | GPIO_PUSH_BUTTON_5 IOPORT_CREATE_PIN(PORTB,5) |
#define | GPIO_PUSH_BUTTON_6 IOPORT_CREATE_PIN(PORTB,6) |
#define | GPIO_PUSH_BUTTON_7 IOPORT_CREATE_PIN(PORTB,7) |
GPIO Connections of LEDs | |
#define | LED0_GPIO IOPORT_CREATE_PIN(PORTA,0) |
#define | LED1_GPIO IOPORT_CREATE_PIN(PORTA,1) |
#define | LED2_GPIO IOPORT_CREATE_PIN(PORTA,2) |
#define | LED3_GPIO IOPORT_CREATE_PIN(PORTA,3) |
#define | LED4_GPIO IOPORT_CREATE_PIN(PORTA,4) |
#define | LED5_GPIO IOPORT_CREATE_PIN(PORTA,5) |
#define | LED6_GPIO IOPORT_CREATE_PIN(PORTA,6) |
#define | LED7_GPIO IOPORT_CREATE_PIN(PORTA,7) |
STK600 with the RC044X routing card board header file.
This file contains definitions and services related to the features of the STK600 board with the routing card for 44-pin TQFP AVR XMEGA devices.
To use this board, define BOARD=STK600_RC044X.
Copyright (C) 2010 Atmel Corporation. All rights reserved.
Definition in file stk600_rc044x.h.
#define AT45DBX_CS IOPORT_CREATE_PIN(PORTC,1) |
Definition at line 97 of file stk600_rc044x.h.
Referenced by board_init().
#define AT45DBX_MASTER_MOSI IOPORT_CREATE_PIN(PORTC,7) |
Definition at line 100 of file stk600_rc044x.h.
Referenced by board_init().
#define AT45DBX_MASTER_SCK IOPORT_CREATE_PIN(PORTC,5) |
Definition at line 99 of file stk600_rc044x.h.
Referenced by board_init().
#define AT45DBX_MASTER_SS IOPORT_CREATE_PIN(PORTC,4) |
Definition at line 98 of file stk600_rc044x.h.
Referenced by board_init().
#define AT45DBX_SPI &SPIC |
Definition at line 96 of file stk600_rc044x.h.
#define AT45DBX_SPI_CLK_MASK SYSCLK_PORT_C |
Definition at line 101 of file stk600_rc044x.h.
#define BOARD_XOSC_HZ 32768 |
Definition at line 108 of file stk600_rc044x.h.
Referenced by osc_get_rate(), and sysclk_get_main_hz().
#define BOARD_XOSC_STARTUP_US 500000 |
Definition at line 110 of file stk600_rc044x.h.
#define BOARD_XOSC_TYPE XOSC_TYPE_32KHZ |
Definition at line 109 of file stk600_rc044x.h.
#define FOSC 8000000 |
XTAL frequency: Hz.
Definition at line 54 of file stk600_rc044x.h.
#define GPIO_PUSH_BUTTON_0 IOPORT_CREATE_PIN(PORTB,0) |
Definition at line 83 of file stk600_rc044x.h.
Referenced by board_init().
#define GPIO_PUSH_BUTTON_1 IOPORT_CREATE_PIN(PORTB,1) |
Definition at line 84 of file stk600_rc044x.h.
Referenced by board_init().
#define GPIO_PUSH_BUTTON_2 IOPORT_CREATE_PIN(PORTB,2) |
Definition at line 85 of file stk600_rc044x.h.
Referenced by board_init().
#define GPIO_PUSH_BUTTON_3 IOPORT_CREATE_PIN(PORTB,3) |
Definition at line 86 of file stk600_rc044x.h.
Referenced by board_init().
#define GPIO_PUSH_BUTTON_4 IOPORT_CREATE_PIN(PORTB,4) |
Definition at line 87 of file stk600_rc044x.h.
Referenced by board_init().
#define GPIO_PUSH_BUTTON_5 IOPORT_CREATE_PIN(PORTB,5) |
Definition at line 88 of file stk600_rc044x.h.
Referenced by board_init().
#define GPIO_PUSH_BUTTON_6 IOPORT_CREATE_PIN(PORTB,6) |
Definition at line 89 of file stk600_rc044x.h.
Referenced by board_init().
#define GPIO_PUSH_BUTTON_7 IOPORT_CREATE_PIN(PORTB,7) |
Definition at line 90 of file stk600_rc044x.h.
Referenced by board_init().
#define LED0_GPIO IOPORT_CREATE_PIN(PORTA,0) |
Definition at line 69 of file stk600_rc044x.h.
Referenced by board_init().
#define LED1_GPIO IOPORT_CREATE_PIN(PORTA,1) |
Definition at line 70 of file stk600_rc044x.h.
Referenced by board_init().
#define LED2_GPIO IOPORT_CREATE_PIN(PORTA,2) |
Definition at line 71 of file stk600_rc044x.h.
Referenced by board_init().
#define LED3_GPIO IOPORT_CREATE_PIN(PORTA,3) |
Definition at line 72 of file stk600_rc044x.h.
Referenced by board_init().
#define LED4_GPIO IOPORT_CREATE_PIN(PORTA,4) |
Definition at line 73 of file stk600_rc044x.h.
Referenced by board_init().
#define LED5_GPIO IOPORT_CREATE_PIN(PORTA,5) |
Definition at line 74 of file stk600_rc044x.h.
Referenced by board_init().
#define LED6_GPIO IOPORT_CREATE_PIN(PORTA,6) |
Definition at line 75 of file stk600_rc044x.h.
Referenced by board_init().
#define LED7_GPIO IOPORT_CREATE_PIN(PORTA,7) |
Definition at line 76 of file stk600_rc044x.h.
Referenced by board_init().
#define LED_COUNT 8 |
Number of LEDs.
Definition at line 64 of file stk600_rc044x.h.
Generated on Fri Oct 22 12:15:25 2010 for AVR1300 Using the Xmega ADC by ![]() |