Macros | |
#define | BOARD_OSC0_HZ 12000000 |
#define | BOARD_OSC0_IS_XTAL true |
#define | BOARD_OSC0_STARTUP_US 17000 |
#define | BOARD_OSC32_HZ 32768 |
#define | BOARD_OSC32_IS_XTAL true |
#define | BOARD_OSC32_STARTUP_US 71000 |
#define | LED_COUNT 8 |
Number of LEDs. More... | |
Oscillator Definitions | |
#define | FOSC32 32768 |
Osc32 frequency: Hz. More... | |
#define | OSC32_STARTUP AVR32_PM_OSCCTRL32_STARTUP_8192_RCOSC |
Osc32 startup time: RCOsc periods. More... | |
#define | FOSC0 12000000 |
Osc0 frequency: Hz. More... | |
#define | OSC0_STARTUP AVR32_PM_OSCCTRL0_STARTUP_2048_RCOSC |
Osc0 startup time: RCOsc periods. More... | |
SDRAM Definitions | |
#define | SDRAM_PART_HDR "mt48lc16m16a2tg7e/mt48lc16m16a2tg7e.h" |
Part header file of used SDRAM(s). More... | |
#define | SDRAM_DBW 16 |
Data bus width to use the SDRAM(s) with (16 or 32 bits; always 16 bits on UC3). More... | |
USB Definitions | |
#define | USB_ID AVR32_USBB_USB_ID_0_0 |
Multiplexed pin used for USB_ID: AVR32_USBB_USB_ID_x_x. More... | |
#define | USB_VBOF AVR32_USBB_USB_VBOF_0_1 |
Multiplexed pin used for USB_VBOF: AVR32_USBB_USB_VBOF_x_x. More... | |
#define | USB_VBOF_ACTIVE_LEVEL LOW |
Active level of the USB_VBOF output pin. More... | |
#define | USB_OVERCURRENT_DETECT_PIN AVR32_PIN_PX33 |
USB overcurrent detection pin. More... | |
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_0_FUNCTION |
#define | LED5_PWM_FUNCTION AVR32_PWM_1_FUNCTION |
#define | LED6_PWM_FUNCTION AVR32_PWM_2_FUNCTION |
#define | LED7_PWM_FUNCTION AVR32_PWM_3_FUNCTION |
Color Identifiers of LEDs to Use with LED Functions | |
#define | LED_MONO0_GREEN LED0 |
#define | LED_MONO1_GREEN LED1 |
#define | LED_MONO2_GREEN LED2 |
#define | LED_MONO3_GREEN LED3 |
#define | LED_BI0_GREEN LED5 |
#define | LED_BI0_RED LED4 |
#define | LED_BI1_GREEN LED7 |
#define | LED_BI1_RED LED6 |
GPIO Connections of Push Buttons | |
#define | GPIO_PUSH_BUTTON_0 AVR32_PIN_PX16 |
#define | GPIO_PUSH_BUTTON_0_PRESSED 0 |
#define | GPIO_PUSH_BUTTON_1 AVR32_PIN_PX19 |
#define | GPIO_PUSH_BUTTON_1_PRESSED 0 |
#define | GPIO_PUSH_BUTTON_2 AVR32_PIN_PX22 |
#define | GPIO_PUSH_BUTTON_2_PRESSED 0 |
GPIO Connections of the Joystick | |
#define | GPIO_JOYSTICK_PUSH AVR32_PIN_PA20 |
#define | GPIO_JOYSTICK_PUSH_PRESSED 0 |
#define | GPIO_JOYSTICK_LEFT AVR32_PIN_PA25 |
#define | GPIO_JOYSTICK_LEFT_PRESSED 0 |
#define | GPIO_JOYSTICK_RIGHT AVR32_PIN_PA28 |
#define | GPIO_JOYSTICK_RIGHT_PRESSED 0 |
#define | GPIO_JOYSTICK_UP AVR32_PIN_PA26 |
#define | GPIO_JOYSTICK_UP_PRESSED 0 |
#define | GPIO_JOYSTICK_DOWN AVR32_PIN_PA27 |
#define | GPIO_JOYSTICK_DOWN_PRESSED 0 |
ADC Connection of the Potentiometer | |
#define | ADC_POTENTIOMETER_CHANNEL 1 |
#define | ADC_POTENTIOMETER_PIN AVR32_ADC_AD_1_PIN |
#define | ADC_POTENTIOMETER_FUNCTION AVR32_ADC_AD_1_FUNCTION |
ADC Connection of the Temperature Sensor | |
#define | ADC_TEMPERATURE_CHANNEL 0 |
#define | ADC_TEMPERATURE_PIN AVR32_ADC_AD_0_PIN |
#define | ADC_TEMPERATURE_FUNCTION AVR32_ADC_AD_0_FUNCTION |
ADC Connection of the Light Sensor | |
#define | ADC_LIGHT_CHANNEL 2 |
#define | ADC_LIGHT_PIN AVR32_ADC_AD_2_PIN |
#define | ADC_LIGHT_FUNCTION AVR32_ADC_AD_2_FUNCTION |
SPI Connections of the DIP204 LCD | |
#define | DIP204_SPI (&AVR32_SPI1) |
#define | DIP204_SPI_NPCS 2 |
#define | DIP204_SPI_SCK_PIN AVR32_SPI1_SCK_0_0_PIN |
#define | DIP204_SPI_SCK_FUNCTION AVR32_SPI1_SCK_0_0_FUNCTION |
#define | DIP204_SPI_MISO_PIN AVR32_SPI1_MISO_0_0_PIN |
#define | DIP204_SPI_MISO_FUNCTION AVR32_SPI1_MISO_0_0_FUNCTION |
#define | DIP204_SPI_MOSI_PIN AVR32_SPI1_MOSI_0_0_PIN |
#define | DIP204_SPI_MOSI_FUNCTION AVR32_SPI1_MOSI_0_0_FUNCTION |
#define | DIP204_SPI_NPCS_PIN AVR32_SPI1_NPCS_2_0_PIN |
#define | DIP204_SPI_NPCS_FUNCTION AVR32_SPI1_NPCS_2_0_FUNCTION |
GPIO and PWM Connections of the DIP204 LCD Backlight | |
#define | DIP204_BACKLIGHT_PIN AVR32_PIN_PB18 |
#define | DIP204_PWM_CHANNEL 6 |
#define | DIP204_PWM_PIN AVR32_PWM_6_PIN |
#define | DIP204_PWM_FUNCTION AVR32_PWM_6_FUNCTION |
SPI Connections of the AT45DBX Data Flash Memory | |
#define | AT45DBX_SPI (&AVR32_SPI1) |
#define | AT45DBX_SPI_NPCS 0 |
#define | AT45DBX_SPI_SCK_PIN AVR32_SPI1_SCK_0_0_PIN |
#define | AT45DBX_SPI_SCK_FUNCTION AVR32_SPI1_SCK_0_0_FUNCTION |
#define | AT45DBX_SPI_MISO_PIN AVR32_SPI1_MISO_0_0_PIN |
#define | AT45DBX_SPI_MISO_FUNCTION AVR32_SPI1_MISO_0_0_FUNCTION |
#define | AT45DBX_SPI_MOSI_PIN AVR32_SPI1_MOSI_0_0_PIN |
#define | AT45DBX_SPI_MOSI_FUNCTION AVR32_SPI1_MOSI_0_0_FUNCTION |
#define | AT45DBX_SPI_NPCS0_PIN AVR32_SPI1_NPCS_0_0_PIN |
#define | AT45DBX_SPI_NPCS0_FUNCTION AVR32_SPI1_NPCS_0_0_FUNCTION |
GPIO and SPI Connections of the SD/MMC Connector | |
#define | SD_MMC_SPI_MEM_CNT 1 |
#define | SD_MMC_0_CD_GPIO AVR32_PIN_PA02 |
#define | SD_MMC_0_CD_DETECT_VALUE 1 |
#define | SD_MMC_0_WP_GPIO AVR32_PIN_PA07 |
#define | SD_MMC_0_WP_DETECT_VALUE 0 |
#define | SD_MMC_SPI_0_CS 1 |
#define | SD_MMC_CARD_DETECT_PIN SD_MMC_0_CD_GPIO |
#define | SD_MMC_WRITE_PROTECT_PIN SD_MMC_0_WP_GPIO |
#define | SD_MMC_SPI_NPCS SD_MMC_SPI_0_CS |
#define | SD_MMC_SPI (&AVR32_SPI1) |
#define | SD_MMC_SPI_SCK_PIN AVR32_SPI1_SCK_0_0_PIN |
#define | SD_MMC_SPI_SCK_FUNCTION AVR32_SPI1_SCK_0_0_FUNCTION |
#define | SD_MMC_SPI_MISO_PIN AVR32_SPI1_MISO_0_0_PIN |
#define | SD_MMC_SPI_MISO_FUNCTION AVR32_SPI1_MISO_0_0_FUNCTION |
#define | SD_MMC_SPI_MOSI_PIN AVR32_SPI1_MOSI_0_0_PIN |
#define | SD_MMC_SPI_MOSI_FUNCTION AVR32_SPI1_MOSI_0_0_FUNCTION |
#define | SD_MMC_SPI_NPCS_PIN AVR32_SPI1_NPCS_1_0_PIN |
#define | SD_MMC_SPI_NPCS_FUNCTION AVR32_SPI1_NPCS_1_0_FUNCTION |
USART connections to GPIO | |
#define | USART (&AVR32_USART1) |
#define | USART_RXD_PIN AVR32_USART1_RXD_0_0_PIN |
#define | USART_RXD_FUNCTION AVR32_USART1_RXD_0_0_FUNCTION |
#define | USART_TXD_PIN AVR32_USART1_TXD_0_0_PIN |
#define | USART_TXD_FUNCTION AVR32_USART1_TXD_0_0_FUNCTION |
#define | USART_IRQ AVR32_USART1_IRQ |
#define | USART_IRQ_GROUP AVR32_USART1_IRQ_GROUP |
#define | USART_SYSCLK SYSCLK_USART1 |
#define | USART0 (&AVR32_USART0) |
#define | USART0_RXD_PIN AVR32_USART0_RXD_0_0_PIN |
#define | USART0_RXD_FUNCTION AVR32_USART0_RXD_0_0_FUNCTION |
#define | USART0_TXD_PIN AVR32_USART0_TXD_0_0_PIN |
#define | USART0_TXD_FUNCTION AVR32_USART0_TXD_0_0_FUNCTION |
#define | USART0_IRQ AVR32_USART0_IRQ |
#define | USART0_IRQ_GROUP AVR32_USART0_IRQ_GROUP |
#define | USART0_SYSCLK SYSCLK_USART0 |
TWI Connections of the Spare TWI Connector | |
#define | SPARE_TWI (&AVR32_TWI) |
#define | SPARE_TWI_SCL_PIN AVR32_TWI_SCL_0_0_PIN |
#define | SPARE_TWI_SCL_FUNCTION AVR32_TWI_SCL_0_0_FUNCTION |
#define | SPARE_TWI_SDA_PIN AVR32_TWI_SDA_0_0_PIN |
#define | SPARE_TWI_SDA_FUNCTION AVR32_TWI_SDA_0_0_FUNCTION |
SPI Connections of the Spare SPI Connector | |
#define | SPARE_SPI (&AVR32_SPI0) |
#define | SPARE_SPI_NPCS 0 |
#define | SPARE_SPI_SCK_PIN AVR32_SPI0_SCK_0_0_PIN |
#define | SPARE_SPI_SCK_FUNCTION AVR32_SPI0_SCK_0_0_FUNCTION |
#define | SPARE_SPI_MISO_PIN AVR32_SPI0_MISO_0_0_PIN |
#define | SPARE_SPI_MISO_FUNCTION AVR32_SPI0_MISO_0_0_FUNCTION |
#define | SPARE_SPI_MOSI_PIN AVR32_SPI0_MOSI_0_0_PIN |
#define | SPARE_SPI_MOSI_FUNCTION AVR32_SPI0_MOSI_0_0_FUNCTION |
#define | SPARE_SPI_NPCS_PIN AVR32_SPI0_NPCS_0_0_PIN |
#define | SPARE_SPI_NPCS_FUNCTION AVR32_SPI0_NPCS_0_0_FUNCTION |
MACB connections to the DP83848 external phy controller | |
#define | MACB_INTERRUPT_PIN AVR32_PIN_PA24 |
GPIO connection of the MAC PHY PWR_DOWN/INT signal for the external phy controller. More... | |
#define | EXTPHY_MACB_INTERRUPT_PIN MACB_INTERRUPT_PIN |
#define | EXTPHY_MACB (&AVR32_MACB) |
#define | EXTPHY_MACB_MDC_PIN AVR32_MACB_MDC_0_PIN |
#define | EXTPHY_MACB_MDC_FUNCTION AVR32_MACB_MDC_0_FUNCTION |
#define | EXTPHY_MACB_MDIO_PIN AVR32_MACB_MDIO_0_PIN |
#define | EXTPHY_MACB_MDIO_FUNCTION AVR32_MACB_MDIO_0_FUNCTION |
#define | EXTPHY_MACB_RXD_0_PIN AVR32_MACB_RXD_0_PIN |
#define | EXTPHY_MACB_RXD_0_FUNCTION AVR32_MACB_RXD_0_FUNCTION |
#define | EXTPHY_MACB_RXD_1_PIN AVR32_MACB_RXD_1_PIN |
#define | EXTPHY_MACB_RXD_1_FUNCTION AVR32_MACB_RXD_1_FUNCTION |
#define | EXTPHY_MACB_TXD_0_PIN AVR32_MACB_TXD_0_PIN |
#define | EXTPHY_MACB_TXD_0_FUNCTION AVR32_MACB_TXD_0_FUNCTION |
#define | EXTPHY_MACB_TXD_1_PIN AVR32_MACB_TXD_1_PIN |
#define | EXTPHY_MACB_TXD_1_FUNCTION AVR32_MACB_TXD_1_FUNCTION |
#define | EXTPHY_MACB_TX_EN_PIN AVR32_MACB_TX_EN_0_PIN |
#define | EXTPHY_MACB_TX_EN_FUNCTION AVR32_MACB_TX_EN_0_FUNCTION |
#define | EXTPHY_MACB_RX_ER_PIN AVR32_MACB_RX_ER_0_PIN |
#define | EXTPHY_MACB_RX_ER_FUNCTION AVR32_MACB_RX_ER_0_FUNCTION |
#define | EXTPHY_MACB_RX_DV_PIN AVR32_MACB_RX_DV_0_PIN |
#define | EXTPHY_MACB_RX_DV_FUNCTION AVR32_MACB_RX_DV_0_FUNCTION |
#define | EXTPHY_MACB_TX_CLK_PIN AVR32_MACB_TX_CLK_0_PIN |
#define | EXTPHY_MACB_TX_CLK_FUNCTION AVR32_MACB_TX_CLK_0_FUNCTION |
#define | EXTPHY_PHY_ADDR 0x01 |
Phy Address (set through strap options) More... | |
#define ADC_LIGHT_CHANNEL 2 |
#define ADC_LIGHT_FUNCTION AVR32_ADC_AD_2_FUNCTION |
#define ADC_LIGHT_PIN AVR32_ADC_AD_2_PIN |
#define ADC_POTENTIOMETER_CHANNEL 1 |
#define ADC_POTENTIOMETER_FUNCTION AVR32_ADC_AD_1_FUNCTION |
#define ADC_POTENTIOMETER_PIN AVR32_ADC_AD_1_PIN |
#define ADC_TEMPERATURE_CHANNEL 0 |
#define ADC_TEMPERATURE_FUNCTION AVR32_ADC_AD_0_FUNCTION |
#define ADC_TEMPERATURE_PIN AVR32_ADC_AD_0_PIN |
#define AT45DBX_SPI (&AVR32_SPI1) |
#define AT45DBX_SPI_MISO_FUNCTION AVR32_SPI1_MISO_0_0_FUNCTION |
#define AT45DBX_SPI_MISO_PIN AVR32_SPI1_MISO_0_0_PIN |
#define AT45DBX_SPI_MOSI_FUNCTION AVR32_SPI1_MOSI_0_0_FUNCTION |
#define AT45DBX_SPI_MOSI_PIN AVR32_SPI1_MOSI_0_0_PIN |
#define AT45DBX_SPI_NPCS 0 |
#define AT45DBX_SPI_NPCS0_FUNCTION AVR32_SPI1_NPCS_0_0_FUNCTION |
#define AT45DBX_SPI_NPCS0_PIN AVR32_SPI1_NPCS_0_0_PIN |
#define AT45DBX_SPI_SCK_FUNCTION AVR32_SPI1_SCK_0_0_FUNCTION |
#define AT45DBX_SPI_SCK_PIN AVR32_SPI1_SCK_0_0_PIN |
#define BOARD_OSC0_HZ 12000000 |
#define BOARD_OSC0_IS_XTAL true |
#define BOARD_OSC0_STARTUP_US 17000 |
#define BOARD_OSC32_HZ 32768 |
#define BOARD_OSC32_IS_XTAL true |
#define BOARD_OSC32_STARTUP_US 71000 |
#define DIP204_BACKLIGHT_PIN AVR32_PIN_PB18 |
#define DIP204_PWM_CHANNEL 6 |
#define DIP204_PWM_FUNCTION AVR32_PWM_6_FUNCTION |
#define DIP204_PWM_PIN AVR32_PWM_6_PIN |
#define DIP204_SPI (&AVR32_SPI1) |
#define DIP204_SPI_MISO_FUNCTION AVR32_SPI1_MISO_0_0_FUNCTION |
#define DIP204_SPI_MISO_PIN AVR32_SPI1_MISO_0_0_PIN |
#define DIP204_SPI_MOSI_FUNCTION AVR32_SPI1_MOSI_0_0_FUNCTION |
#define DIP204_SPI_MOSI_PIN AVR32_SPI1_MOSI_0_0_PIN |
#define DIP204_SPI_NPCS 2 |
#define DIP204_SPI_NPCS_FUNCTION AVR32_SPI1_NPCS_2_0_FUNCTION |
#define DIP204_SPI_NPCS_PIN AVR32_SPI1_NPCS_2_0_PIN |
#define DIP204_SPI_SCK_FUNCTION AVR32_SPI1_SCK_0_0_FUNCTION |
#define DIP204_SPI_SCK_PIN AVR32_SPI1_SCK_0_0_PIN |
#define EXTPHY_MACB (&AVR32_MACB) |
#define EXTPHY_MACB_INTERRUPT_PIN MACB_INTERRUPT_PIN |
#define EXTPHY_MACB_MDC_FUNCTION AVR32_MACB_MDC_0_FUNCTION |
#define EXTPHY_MACB_MDC_PIN AVR32_MACB_MDC_0_PIN |
#define EXTPHY_MACB_MDIO_FUNCTION AVR32_MACB_MDIO_0_FUNCTION |
#define EXTPHY_MACB_MDIO_PIN AVR32_MACB_MDIO_0_PIN |
#define EXTPHY_MACB_RX_DV_FUNCTION AVR32_MACB_RX_DV_0_FUNCTION |
#define EXTPHY_MACB_RX_DV_PIN AVR32_MACB_RX_DV_0_PIN |
#define EXTPHY_MACB_RX_ER_FUNCTION AVR32_MACB_RX_ER_0_FUNCTION |
#define EXTPHY_MACB_RX_ER_PIN AVR32_MACB_RX_ER_0_PIN |
#define EXTPHY_MACB_RXD_0_FUNCTION AVR32_MACB_RXD_0_FUNCTION |
#define EXTPHY_MACB_RXD_0_PIN AVR32_MACB_RXD_0_PIN |
#define EXTPHY_MACB_RXD_1_FUNCTION AVR32_MACB_RXD_1_FUNCTION |
#define EXTPHY_MACB_RXD_1_PIN AVR32_MACB_RXD_1_PIN |
#define EXTPHY_MACB_TX_CLK_FUNCTION AVR32_MACB_TX_CLK_0_FUNCTION |
#define EXTPHY_MACB_TX_CLK_PIN AVR32_MACB_TX_CLK_0_PIN |
#define EXTPHY_MACB_TX_EN_FUNCTION AVR32_MACB_TX_EN_0_FUNCTION |
#define EXTPHY_MACB_TX_EN_PIN AVR32_MACB_TX_EN_0_PIN |
#define EXTPHY_MACB_TXD_0_FUNCTION AVR32_MACB_TXD_0_FUNCTION |
#define EXTPHY_MACB_TXD_0_PIN AVR32_MACB_TXD_0_PIN |
#define EXTPHY_MACB_TXD_1_FUNCTION AVR32_MACB_TXD_1_FUNCTION |
#define EXTPHY_MACB_TXD_1_PIN AVR32_MACB_TXD_1_PIN |
#define EXTPHY_PHY_ADDR 0x01 |
Phy Address (set through strap options)
#define FOSC0 12000000 |
Osc0 frequency: Hz.
Referenced by main().
#define FOSC32 32768 |
Osc32 frequency: Hz.
#define GPIO_JOYSTICK_DOWN AVR32_PIN_PA27 |
#define GPIO_JOYSTICK_DOWN_PRESSED 0 |
#define GPIO_JOYSTICK_LEFT AVR32_PIN_PA25 |
#define GPIO_JOYSTICK_LEFT_PRESSED 0 |
#define GPIO_JOYSTICK_PUSH AVR32_PIN_PA20 |
#define GPIO_JOYSTICK_PUSH_PRESSED 0 |
#define GPIO_JOYSTICK_RIGHT AVR32_PIN_PA28 |
#define GPIO_JOYSTICK_RIGHT_PRESSED 0 |
#define GPIO_JOYSTICK_UP AVR32_PIN_PA26 |
#define GPIO_JOYSTICK_UP_PRESSED 0 |
#define GPIO_PUSH_BUTTON_0 AVR32_PIN_PX16 |
#define GPIO_PUSH_BUTTON_0_PRESSED 0 |
#define GPIO_PUSH_BUTTON_1 AVR32_PIN_PX19 |
#define GPIO_PUSH_BUTTON_1_PRESSED 0 |
#define GPIO_PUSH_BUTTON_2 AVR32_PIN_PX22 |
#define GPIO_PUSH_BUTTON_2_PRESSED 0 |
#define LED0_GPIO AVR32_PIN_PB27 |
#define LED0_PWM (-1) |
#define LED0_PWM_FUNCTION (-1) |
#define LED1_GPIO AVR32_PIN_PB28 |
#define LED1_PWM (-1) |
#define LED1_PWM_FUNCTION (-1) |
#define LED2_GPIO AVR32_PIN_PB29 |
#define LED2_PWM (-1) |
#define LED2_PWM_FUNCTION (-1) |
#define LED3_GPIO AVR32_PIN_PB30 |
#define LED3_PWM (-1) |
#define LED3_PWM_FUNCTION (-1) |
#define LED4_GPIO AVR32_PIN_PB19 |
#define LED4_PWM 0 |
#define LED4_PWM_FUNCTION AVR32_PWM_0_FUNCTION |
#define LED5_GPIO AVR32_PIN_PB20 |
#define LED5_PWM 1 |
#define LED5_PWM_FUNCTION AVR32_PWM_1_FUNCTION |
#define LED6_GPIO AVR32_PIN_PB21 |
#define LED6_PWM 2 |
#define LED6_PWM_FUNCTION AVR32_PWM_2_FUNCTION |
#define LED7_GPIO AVR32_PIN_PB22 |
#define LED7_PWM 3 |
#define LED7_PWM_FUNCTION AVR32_PWM_3_FUNCTION |
#define LED_BI0_GREEN LED5 |
#define LED_BI0_RED LED4 |
#define LED_BI1_GREEN LED7 |
#define LED_BI1_RED LED6 |
#define LED_COUNT 8 |
Number of LEDs.
Referenced by LED_Display(), LED_Display_Mask(), LED_Get_Intensity(), LED_Off(), LED_On(), LED_Set_Intensity(), and LED_Toggle().
#define MACB_INTERRUPT_PIN AVR32_PIN_PA24 |
GPIO connection of the MAC PHY PWR_DOWN/INT signal for the external phy controller.
#define OSC0_STARTUP AVR32_PM_OSCCTRL0_STARTUP_2048_RCOSC |
Osc0 startup time: RCOsc periods.
Referenced by main().
#define OSC32_STARTUP AVR32_PM_OSCCTRL32_STARTUP_8192_RCOSC |
Osc32 startup time: RCOsc periods.
#define SD_MMC_0_CD_DETECT_VALUE 1 |
#define SD_MMC_0_CD_GPIO AVR32_PIN_PA02 |
#define SD_MMC_0_WP_DETECT_VALUE 0 |
#define SD_MMC_0_WP_GPIO AVR32_PIN_PA07 |
#define SD_MMC_CARD_DETECT_PIN SD_MMC_0_CD_GPIO |
#define SD_MMC_SPI (&AVR32_SPI1) |
#define SD_MMC_SPI_0_CS 1 |
#define SD_MMC_SPI_MEM_CNT 1 |
#define SD_MMC_SPI_MISO_FUNCTION AVR32_SPI1_MISO_0_0_FUNCTION |
#define SD_MMC_SPI_MISO_PIN AVR32_SPI1_MISO_0_0_PIN |
#define SD_MMC_SPI_MOSI_FUNCTION AVR32_SPI1_MOSI_0_0_FUNCTION |
#define SD_MMC_SPI_MOSI_PIN AVR32_SPI1_MOSI_0_0_PIN |
#define SD_MMC_SPI_NPCS SD_MMC_SPI_0_CS |
#define SD_MMC_SPI_NPCS_FUNCTION AVR32_SPI1_NPCS_1_0_FUNCTION |
#define SD_MMC_SPI_NPCS_PIN AVR32_SPI1_NPCS_1_0_PIN |
#define SD_MMC_SPI_SCK_FUNCTION AVR32_SPI1_SCK_0_0_FUNCTION |
#define SD_MMC_SPI_SCK_PIN AVR32_SPI1_SCK_0_0_PIN |
#define SD_MMC_WRITE_PROTECT_PIN SD_MMC_0_WP_GPIO |
#define SDRAM_DBW 16 |
Data bus width to use the SDRAM(s) with (16 or 32 bits; always 16 bits on UC3).
#define SDRAM_PART_HDR "mt48lc16m16a2tg7e/mt48lc16m16a2tg7e.h" |
Part header file of used SDRAM(s).
#define SPARE_SPI (&AVR32_SPI0) |
#define SPARE_SPI_MISO_FUNCTION AVR32_SPI0_MISO_0_0_FUNCTION |
#define SPARE_SPI_MISO_PIN AVR32_SPI0_MISO_0_0_PIN |
#define SPARE_SPI_MOSI_FUNCTION AVR32_SPI0_MOSI_0_0_FUNCTION |
#define SPARE_SPI_MOSI_PIN AVR32_SPI0_MOSI_0_0_PIN |
#define SPARE_SPI_NPCS 0 |
#define SPARE_SPI_NPCS_FUNCTION AVR32_SPI0_NPCS_0_0_FUNCTION |
#define SPARE_SPI_NPCS_PIN AVR32_SPI0_NPCS_0_0_PIN |
#define SPARE_SPI_SCK_FUNCTION AVR32_SPI0_SCK_0_0_FUNCTION |
#define SPARE_SPI_SCK_PIN AVR32_SPI0_SCK_0_0_PIN |
#define SPARE_TWI (&AVR32_TWI) |
#define SPARE_TWI_SCL_FUNCTION AVR32_TWI_SCL_0_0_FUNCTION |
#define SPARE_TWI_SCL_PIN AVR32_TWI_SCL_0_0_PIN |
#define SPARE_TWI_SDA_FUNCTION AVR32_TWI_SDA_0_0_FUNCTION |
#define SPARE_TWI_SDA_PIN AVR32_TWI_SDA_0_0_PIN |
#define USART (&AVR32_USART1) |
#define USART0 (&AVR32_USART0) |
#define USART0_IRQ AVR32_USART0_IRQ |
#define USART0_IRQ_GROUP AVR32_USART0_IRQ_GROUP |
#define USART0_RXD_FUNCTION AVR32_USART0_RXD_0_0_FUNCTION |
#define USART0_RXD_PIN AVR32_USART0_RXD_0_0_PIN |
#define USART0_SYSCLK SYSCLK_USART0 |
#define USART0_TXD_FUNCTION AVR32_USART0_TXD_0_0_FUNCTION |
#define USART0_TXD_PIN AVR32_USART0_TXD_0_0_PIN |
#define USART_IRQ AVR32_USART1_IRQ |
#define USART_IRQ_GROUP AVR32_USART1_IRQ_GROUP |
#define USART_RXD_FUNCTION AVR32_USART1_RXD_0_0_FUNCTION |
#define USART_RXD_PIN AVR32_USART1_RXD_0_0_PIN |
#define USART_SYSCLK SYSCLK_USART1 |
#define USART_TXD_FUNCTION AVR32_USART1_TXD_0_0_FUNCTION |
#define USART_TXD_PIN AVR32_USART1_TXD_0_0_PIN |
#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>.
#define USB_OVERCURRENT_DETECT_PIN AVR32_PIN_PX33 |
USB overcurrent detection pin.
#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>.
#define USB_VBOF_ACTIVE_LEVEL LOW |
Active level of the USB_VBOF output pin.