Microchip® Advanced Software Framework

conf_board.h File Reference

Board configuration for clock example 1.

Copyright (c) 2010-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define GPIO_PUSH_BUTTON_SW0   AVR32_PIN_PA00
 
#define GPIO_PUSH_BUTTON_SW1   AVR32_PIN_PA00
 
#define GPIO_PUSH_BUTTON_SW2   AVR32_PIN_PA00
 
#define GPIO_PUSH_BUTTON_SW3   AVR32_PIN_PA00
 
#define GPIO_PUSH_BUTTON_SW4   AVR32_PIN_PA00
 
#define GPIO_PUSH_BUTTON_SW5   AVR32_PIN_PA00
 
#define GPIO_PUSH_BUTTON_SW6   AVR32_PIN_PA00
 
#define GPIO_PUSH_BUTTON_SW7   AVR32_PIN_PA00
 
#define LED0_GPIO   AVR32_PIN_PB00
 
#define LED1_GPIO   AVR32_PIN_PB01
 
#define LED2_GPIO   AVR32_PIN_PB02
 
#define LED3_GPIO   AVR32_PIN_PB03
 
#define LED4_GPIO   AVR32_PIN_PB04
 
#define LED5_GPIO   AVR32_PIN_PB05
 
#define LED6_GPIO   AVR32_PIN_PB06
 
#define LED7_GPIO   AVR32_PIN_PB07
 
#define LED_COUNT   8
 
Board-specific configuration parameters

The following definitions must be provided by the board code for all working oscillators on the board.

#define BOARD_OSC32_HZ   32768
 Clock frequency of OSC32 in Hz. More...
 
#define BOARD_OSC32_STARTUP_US   71000
 Startup time of OSC32 in microseconds. More...
 
#define BOARD_OSC32_IS_XTAL   false
 OSC32 uses a crystal, not an external clock. More...
 

#define GPIO_PUSH_BUTTON_SW0   AVR32_PIN_PA00

Referenced by board_init().

#define GPIO_PUSH_BUTTON_SW1   AVR32_PIN_PA00

Referenced by board_init().

#define GPIO_PUSH_BUTTON_SW2   AVR32_PIN_PA00

Referenced by board_init().

#define GPIO_PUSH_BUTTON_SW3   AVR32_PIN_PA00

Referenced by board_init().

#define GPIO_PUSH_BUTTON_SW4   AVR32_PIN_PA00

Referenced by board_init().

#define GPIO_PUSH_BUTTON_SW5   AVR32_PIN_PA00

Referenced by board_init().

#define GPIO_PUSH_BUTTON_SW6   AVR32_PIN_PA00

Referenced by board_init().

#define GPIO_PUSH_BUTTON_SW7   AVR32_PIN_PA00

Referenced by board_init().

#define LED0_GPIO   AVR32_PIN_PB00

Referenced by board_init(), and main().

#define LED1_GPIO   AVR32_PIN_PB01

Referenced by board_init(), and main().

#define LED2_GPIO   AVR32_PIN_PB02

Referenced by board_init(), and main().

#define LED3_GPIO   AVR32_PIN_PB03

Referenced by board_init(), and main().

#define LED4_GPIO   AVR32_PIN_PB04

Referenced by board_init(), and main().

#define LED5_GPIO   AVR32_PIN_PB05

Referenced by board_init(), and main().

#define LED6_GPIO   AVR32_PIN_PB06

Referenced by board_init(), and main().

#define LED7_GPIO   AVR32_PIN_PB07

Referenced by board_init(), and main().

#define LED_COUNT   8