Xmega Application Note


led.h File Reference

Xplain-A1 board LEDs support package. More...

#include "gpio.h"
Include dependency graph for led.h:

Go to the source code of this file.

Defines

#define LED_Off(led_gpio)   gpio_set_pin_high(led_gpio)
 Turns off the specified LEDs.
#define LED_On(led_gpio)   gpio_set_pin_low(led_gpio)
 Turns on the specified LEDs.
#define LED_Toggle(led_gpio)   gpio_toggle_pin(led_gpio)
 Toggles the specified LEDs.

Detailed Description

Xplain-A1 board LEDs support package.

This file contains definitions and services related to the LED features of the XPLAIN-A1 board.

To use this board, define BOARD=XPLAIN_A1.

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file led.h.


Define Documentation

#define LED_Off ( led_gpio   )     gpio_set_pin_high(led_gpio)

Turns off the specified LEDs.

Parameters:
led_gpio LED to turn off (LEDx_GPIO).
Note:
The pins of the specified LEDs are set to GPIO output mode.

Definition at line 65 of file led.h.

#define LED_On ( led_gpio   )     gpio_set_pin_low(led_gpio)

Turns on the specified LEDs.

Parameters:
led_gpio LED to turn on (LEDx_GPIO).
Note:
The pins of the specified LEDs are set to GPIO output mode.

Definition at line 73 of file led.h.

#define LED_Toggle ( led_gpio   )     gpio_toggle_pin(led_gpio)

Toggles the specified LEDs.

Parameters:
led_gpio LED to toggle (LEDx_GPIO).
Note:
The pins of the specified LEDs are set to GPIO output mode.

Definition at line 81 of file led.h.

@DOC_TITLE@
Generated on Fri Oct 22 12:15:25 2010 for AVR1300 Using the Xmega ADC by doxygen 1.6.3