Xmega Application Note


led.h File Reference

STK600 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

STK600 board LEDs support package.

This file contains definitions and services related to the LED features of the STK600 board.

To use this board, define BOARD=STK600_RC044X.

Copyright (C) 2010 Atmel Corporation. All rights reserved.

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 55 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 63 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 71 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