Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
UC3-A3 Xplained Board Configuration

Macros

#define LED0_GPIO   (AVR32_PIN_PB03)
 
#define LED1_GPIO   (AVR32_PIN_PX22)
 
#define LED2_GPIO   (AVR32_PIN_PB02)
 
#define LED3_GPIO   (AVR32_PIN_PB06)
 
#define LED_COUNT   4
 

Oscillator Definitions

#define FRCOSC   (AVR32_PM_RCOSC_FREQUENCY)
 System oscillator frequencies (Hz.) and startup times (periods). More...
 
#define FOSC32   (32768)
 Osc32 frequency (Hz.) and startup time (RCOsc periods). More...
 
#define OSC32_STARTUP   (AVR32_PM_OSCCTRL32_STARTUP_8192_RCOSC)
 
#define BOARD_OSC32_IS_XTAL   true
 OSC32 uses a crystal, not an external clock. More...
 
#define BOARD_OSC32_HZ   FOSC32
 Clock frequency of OSC32 in Hz. More...
 
#define BOARD_OSC32_STARTUP_US   (570000)
 Startup time of OSC32 in microseconds. More...
 
#define FOSC0   (12000000)
 Osc frequency (Hz.) and startup time (RCOsc periods). More...
 
#define OSC0_STARTUP   (AVR32_PM_OSCCTRL0_STARTUP_2048_RCOSC)
 
#define BOARD_OSC0_IS_XTAL   true
 OSC0 uses a crystal, not an external clock. More...
 
#define BOARD_OSC0_HZ   FOSC0
 Clock frequency of OSC0 in Hz. More...
 
#define BOARD_OSC0_STARTUP_US   (18000)
 Startup time of OSC0 in microseconds. More...
 

#define BOARD_OSC0_HZ   FOSC0

Clock frequency of OSC0 in Hz.

Referenced by osc_get_rate(), sysclk_get_main_hz(), and sysclk_init().

#define BOARD_OSC0_IS_XTAL   true

OSC0 uses a crystal, not an external clock.

#define BOARD_OSC0_STARTUP_US   (18000)

Startup time of OSC0 in microseconds.

#define BOARD_OSC32_HZ   FOSC32

Clock frequency of OSC32 in Hz.

Referenced by osc_get_rate().

#define BOARD_OSC32_IS_XTAL   true

OSC32 uses a crystal, not an external clock.

#define BOARD_OSC32_STARTUP_US   (570000)

Startup time of OSC32 in microseconds.

#define FOSC0   (12000000)

Osc frequency (Hz.) and startup time (RCOsc periods).

#define FOSC32   (32768)

Osc32 frequency (Hz.) and startup time (RCOsc periods).

#define FRCOSC   (AVR32_PM_RCOSC_FREQUENCY)

System oscillator frequencies (Hz.) and startup times (periods).

RCOsc has no custom calibration by default. Set the following definition to the appropriate value if a custom RCOsc calibration has been applied to your part.

#define LED0_GPIO   (AVR32_PIN_PB03)
#define LED1_GPIO   (AVR32_PIN_PX22)
#define LED2_GPIO   (AVR32_PIN_PB02)
#define LED3_GPIO   (AVR32_PIN_PB06)
#define LED_COUNT   4
#define OSC0_STARTUP   (AVR32_PM_OSCCTRL0_STARTUP_2048_RCOSC)
#define OSC32_STARTUP   (AVR32_PM_OSCCTRL32_STARTUP_8192_RCOSC)