Macros | |
#define | LED_COUNT 4 |
Number of LEDs. More... | |
Oscillator Definitions | |
#define | FOSC32 32768 |
Osc32 frequency: Hz. More... | |
#define | OSC32_STARTUP AVR32_SCIF_OSCCTRL32_STARTUP_8192_RCOSC |
Osc32 startup time: RCOsc periods. More... | |
#define | FOSC0 12000000 |
Osc0 frequency: Hz. More... | |
#define | OSC0_STARTUP AVR32_SCIF_OSCCTRL0_STARTUP_2048_RCOSC |
Osc0 startup time: RCOsc periods. More... | |
GPIO Connections of LEDs. To use these defines, connect the STK600 PORTA | |
PA4-to-PA7 connectors to respectively the LEDs LED0-to-LED3 connectors. Note that when the JTAG is active, it uses pins PA00-to-PA03 of the UC3L. This is why we didn't use pins PA00-to-PA03 for the LEDs LED0-to-LED3. | |
#define | LED0_GPIO AVR32_PIN_PA04 |
#define | LED1_GPIO AVR32_PIN_PA05 |
#define | LED2_GPIO AVR32_PIN_PA06 |
#define | LED3_GPIO AVR32_PIN_PA07 |
#define | LED4_GPIO AVR32_PIN_PA10 |
#define | LED5_GPIO AVR32_PIN_PA11 |
#define | LED6_GPIO AVR32_PIN_PA12 |
#define | LED7_GPIO AVR32_PIN_PA13 |
GPIO Connections of Push Buttons. To use these defines, connect the | |
STK600 PORTD connector to the SWITCHES connector. | |
#define | GPIO_PUSH_BUTTON_SW0 AVR32_PIN_PB00 |
#define | GPIO_PUSH_BUTTON_SW0_PRESSED 0 |
#define | GPIO_PUSH_BUTTON_SW1 AVR32_PIN_PB01 |
#define | GPIO_PUSH_BUTTON_SW1_PRESSED 0 |
#define | GPIO_PUSH_BUTTON_SW2 AVR32_PIN_PB02 |
#define | GPIO_PUSH_BUTTON_SW2_PRESSED 0 |
#define | GPIO_PUSH_BUTTON_SW3 AVR32_PIN_PB03 |
#define | GPIO_PUSH_BUTTON_SW3_PRESSED 0 |
#define | GPIO_PUSH_BUTTON_SW4 AVR32_PIN_PB04 |
#define | GPIO_PUSH_BUTTON_SW4_PRESSED 0 |
#define | GPIO_PUSH_BUTTON_SW5 AVR32_PIN_PB05 |
#define | GPIO_PUSH_BUTTON_SW5_PRESSED 0 |
#define | GPIO_PUSH_BUTTON_SW6 AVR32_PIN_PB06 |
#define | GPIO_PUSH_BUTTON_SW6_PRESSED 0 |
#define | GPIO_PUSH_BUTTON_SW7 AVR32_PIN_PB07 |
#define | GPIO_PUSH_BUTTON_SW7_PRESSED 0 |
SPI Connections of the AT45DBX Data Flash Memory | |
#define | AT45DBX_SPI (&AVR32_SPI) |
#define | AT45DBX_SPI_NPCS 0 |
#define | AT45DBX_SPI_SCK_PIN AVR32_SPI_SCK_0_0_PIN |
#define | AT45DBX_SPI_SCK_FUNCTION AVR32_SPI_SCK_0_0_FUNCTION |
#define | AT45DBX_SPI_MISO_PIN AVR32_SPI_MISO_0_0_PIN |
#define | AT45DBX_SPI_MISO_FUNCTION AVR32_SPI_MISO_0_0_FUNCTION |
#define | AT45DBX_SPI_MOSI_PIN AVR32_SPI_MOSI_0_0_PIN |
#define | AT45DBX_SPI_MOSI_FUNCTION AVR32_SPI_MOSI_0_0_FUNCTION |
#define | AT45DBX_SPI_NPCS0_PIN AVR32_SPI_NPCS_0_0_PIN |
#define | AT45DBX_SPI_NPCS0_FUNCTION AVR32_SPI_NPCS_0_0_FUNCTION |
#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 |
#define FOSC0 12000000 |
Osc0 frequency: Hz.
Referenced by main().
#define FOSC32 32768 |
Osc32 frequency: Hz.
#define GPIO_PUSH_BUTTON_SW0 AVR32_PIN_PB00 |
#define GPIO_PUSH_BUTTON_SW0_PRESSED 0 |
#define GPIO_PUSH_BUTTON_SW1 AVR32_PIN_PB01 |
#define GPIO_PUSH_BUTTON_SW1_PRESSED 0 |
#define GPIO_PUSH_BUTTON_SW2 AVR32_PIN_PB02 |
#define GPIO_PUSH_BUTTON_SW2_PRESSED 0 |
#define GPIO_PUSH_BUTTON_SW3 AVR32_PIN_PB03 |
#define GPIO_PUSH_BUTTON_SW3_PRESSED 0 |
#define GPIO_PUSH_BUTTON_SW4 AVR32_PIN_PB04 |
#define GPIO_PUSH_BUTTON_SW4_PRESSED 0 |
#define GPIO_PUSH_BUTTON_SW5 AVR32_PIN_PB05 |
#define GPIO_PUSH_BUTTON_SW5_PRESSED 0 |
#define GPIO_PUSH_BUTTON_SW6 AVR32_PIN_PB06 |
#define GPIO_PUSH_BUTTON_SW6_PRESSED 0 |
#define GPIO_PUSH_BUTTON_SW7 AVR32_PIN_PB07 |
#define GPIO_PUSH_BUTTON_SW7_PRESSED 0 |
#define LED0_GPIO AVR32_PIN_PA04 |
Referenced by main(), and tc_irq_handler().
#define LED1_GPIO AVR32_PIN_PA05 |
#define LED2_GPIO AVR32_PIN_PA06 |
#define LED3_GPIO AVR32_PIN_PA07 |
#define LED4_GPIO AVR32_PIN_PA10 |
#define LED5_GPIO AVR32_PIN_PA11 |
#define LED6_GPIO AVR32_PIN_PA12 |
#define LED7_GPIO AVR32_PIN_PA13 |
#define LED_COUNT 4 |
Number of LEDs.
Referenced by LED_Display(), LED_Display_Mask(), LED_Off(), LED_On(), and LED_Toggle().
#define OSC0_STARTUP AVR32_SCIF_OSCCTRL0_STARTUP_2048_RCOSC |
Osc0 startup time: RCOsc periods.
Referenced by main().
#define OSC32_STARTUP AVR32_SCIF_OSCCTRL32_STARTUP_8192_RCOSC |
Osc32 startup time: RCOsc periods.